After installing MegaSync, I can no longer install packages on CachyOS pacman

2 months ago by Syndication to c/techsupport

When installing MegaSync for the first time, I used this command from their website in order to install it: wget https://mega.nz/... && sudo pacman -U "$PWD/megasync-x86_64.pkg.tar.zst"

And no, even using -Sy didn't work. I guess me being an idiot and not understanding how Linux works or why it functions like this, I can no longer install anything with pacman as it complains about a repo database file for "Arch_Extra" being missing now :(

Looking at the command, I assumed the download would temporarily switch to that repo that was necessary to download the program, not completely alter how my pacman works though...

I'm not sure why MegaSync would just override everything and ruin my pacman like this.

zewm 5 points 2 months ago

Just open a terminal and update the database.

$ sudo pacman -Syy

Then install it from aur instead of wget it.

$ paru -S megasync-bin

path: 0 25287598, hotness: undefined, score: 5, children: 5
Syndication 1 point 2 months ago

Thank you so much!

path: 0 25287598 25289766, hotness: undefined, score: 1, children: 4
bjoern_tantau 3 points 2 months ago

General Linux advice is to not install something from the vendor's homepage but using your distribution's own methods.

Only go the vendor's route if you are encountering bugs or need a feature not present in the version shipped by your distribution.

path: 0 25287598 25289766 25290520, hotness: undefined, score: 3, children: 3
Syndication 1 point 2 months ago

Thanks for the tip, I do normally do that as a first instinct when installing things. However, Megasync wasn't on the official cachyos repo for me like many things I end up looking for :( So I had to check the vendors website to see if it was even available on Linux at all.

Perhaps I should have just checked the AUR repository or installed it via a different method instead of doing all that beforehand. I admit it's my fault for not looking up what wget even was at first lol

path: 0 25287598 25289766 25290520 25290710, hotness: undefined, score: 1, children: 2
bjoern_tantau 3 points 2 months ago

Somehow I missed the AUR part. AUR is currently suffering from several attacks. Packages from there should always be checked. But rarely are.

path: 0 25287598 25289766 25290520 25290710 25290804, hotness: undefined, score: 3, children: 1
techsupport
techsupport

@lemmy.world

login for more options
3223
645
252

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

go to feed...