MANJARO UPDATE ERROR

Manjaro is a rolling distribution, meaning, install it once and it updates forever. So, chances of getting the packages and repository sources corrupt is less, but it can happen rarely. If you are facing trouble in updating Manjaro 17, and end up getting “Can’t update: signature from …. is marginal trust” error, follow these steps to fix it. This solution should also work for “invalid or corrupted package” error.

The complete error should look something like this:

error: zstd: signature from "***" is marginal trust :: File /var/cache/pacman/pkg/zstd-1.3.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: blosc: signature from "***" is marginal trust :: File /var/cache/pacman/pkg/blosc-1.12.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded.

Fixing Manjaro not updating issue

STEP 1: Launch ‘Terminal’.

STEP 2: Enter the following commands one at a time followed by pressing enter.

sudo pacman -S archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys

That’s it! You should now be able to update Manjaro. Did the solution work for you? Do let us know in comments below.

READ  How to install MacOS theme and Icons in Manjaro XFCE
Previous articleHow to install Google Chrome in Manjaro Linux
Next articleWhat is the Shell in Linux?
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Larry Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Larry
Guest
Larry

Ran the commands listed and they worked, but there are over 500 updates and when trying to run sudo pacman -Syu it wants to replace about 15 files with extra and then it fails.