Package currupted

ULTRA NOOB I used this command up update :sudo pacman -Syyu && yay -Sua --devel

Total Download Size:     1.99 MiB
Total Installed Size:  616.31 MiB
Net Upgrade Size:        7.94 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 gst-plugin-pipewire-1:0.3....    43.6 KiB   468 KiB/s 00:00 [--------------------------------] 100%
 alsa-card-profiles-1:0.3.5...    27.0 KiB   270 KiB/s 00:00 [--------------------------------] 100%
 pipewire-1:0.3.50-2-x86_64     1636.4 KiB  6.24 MiB/s 00:00 [--------------------------------] 100%
 pipewire-pulse-1:0.3.50-2-...   164.4 KiB   587 KiB/s 00:00 [--------------------------------] 100%
 pipewire-jack-1:0.3.50-2-x...   148.7 KiB   531 KiB/s 00:00 [--------------------------------] 100%
 libinih-55-2-x86_64              15.4 KiB   593 KiB/s 00:00 [--------------------------------] 100%
 pipewire-alsa-1:0.3.50-2-x...     4.7 KiB   102 KiB/s 00:00 [--------------------------------] 100%
 Total (7/7)                    2040.2 KiB  5.44 MiB/s 00:00 [--------------------------------] 100%
(61/61) checking keys in keyring                             [--------------------------------] 100%
(61/61) checking package integrity                           [--------------------------------] 100%
error: libinih: signature from "Maxime Gauduin <alucryd@gmail.com>" is marginal trust
:: File /var/cache/pacman/pkg/libinih-55-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
[darren051@Darren051 ~]$ 

4 Likes

That seems to fix it thank you but I feel as though I may be in over my head with this being my first Linux distro. I dont remember how I installed brave but when I upgrade i get this message Starting full system upgrade…
there is nothing to do
:: Searching AUR for updates…
:: Checking development packages…
:: 1 Packages to upgrade.
1 aur/brave-bin 1:1.36.122-1 → 1:1.38.109-1
==> Packages to exclude: (eg: “1 2 3”, “1-3”, “^4” or repo name)
==>
Starting full system upgrade…
there is nothing to do
:: Searching AUR for updates…
:: Checking development packages…
:: 1 Packages to upgrade.
1 aur/brave-bin 1:1.36.122-1 → 1:1.38.109-1
==> Packages to exclude: (eg: “1 2 3”, “1-3”, “^4” or repo name)
==>
I select 1 and it returns nothing to do

Go back read what it is telling you to do. Hint:

You chose 1 the default is enter.

7 Likes

Why? Where did you get the idea to even do such a thing?

4 Likes

The recommended way to do a normal update on your system is

sudo pacman -Syu

if you don’t have any AUR packages installed.
But if you have AUR packages installed, use command

yay

to update your system.

See also:

And to fix the error you are getting, run these commands:

sudo pacman -Sy archlinux-keyring
yay
1 Like