Home Manjaro Manjaro won’t update “Can’t update: signature from… is marginal trust” error

Manjaro won’t update “Can’t update: signature from… is marginal trust” error

by Kiran Kumar
Published: Updated:
MANJARO UPDATE ERROR

Manjaro is a rolling distribution, meaning, install it once, and it updates forever. So, the chances of getting the packages and repository sources corrupt are 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 an “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 the comments below.

You may also like

4 comments

Larry August 6, 2018 - 1:17 PM

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.

Reply
Robert Forsythe July 7, 2020 - 6:07 PM

no it did not work

Reply
ArchLinuxTux March 12, 2021 - 2:07 PM

“sudo pacman-key –refresh-keys” repaired my Arch Linux system having valid packages downloaded but invalid PGP-signatures. I am now again able to update my system.

Reply
Amartya Sinha May 6, 2021 - 8:56 AM

Is there any other method as I’m unable to update my system even after following this guide.

Reply

Leave a Comment

fl_logo_v3_footer

ENHANCE YOUR LINUX EXPERIENCE.



FOSS Linux is a leading resource for Linux enthusiasts and professionals alike. With a focus on providing the best Linux tutorials, open-source apps, news, and reviews written by team of expert authors. FOSS Linux is the go-to source for all things Linux.

Whether you’re a beginner or an experienced user, FOSS Linux has something for everyone.

Follow Us

Subscribe

©2016-2023 FOSS LINUX

A PART OF VIBRANT LEAF MEDIA COMPANY.

ALL RIGHTS RESERVED.

“Linux” is the registered trademark by Linus Torvalds in the U.S. and other countries.