You are not logged in.

#1 2024-06-12 12:47:10

sidefer
Member
Registered: 2024-04-16
Posts: 2

cant update packages using `sudo pacman -Syu`

every time I try to update packages I end up with a lot of conflicts,
im not experienced with arch so unfortunately cant figure out the problem myself, can only guess theres probably something wrong with the mirrorlist
thanks in advance for help

the following output is what I get after the command

sudo pacman -Syu
error: failed to register database 'sublime-text' (database already registered)
:: Updating package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib              138.4 KiB  1116 KiB/s 00:00 [######################] 100%
 sublime-text is up to date
error: failed to retrieve file 'core.db' from archlinux.mirror.luzea.de : Could not resolve host: archlinux.mirror.luzea.de
warning: too many errors from archlinux.mirror.luzea.de, skipping for the remainder of this transaction
:: Starting full system upgrade...
:: Replace amtk with extra/libgedit-amtk? [Y/n]
:: Replace dbus-python with extra/python-dbus? [Y/n]

:: Replace tepl with extra/libgedit-tepl? [Y/n]
resolving dependencies...
:: Found 2 providers for dbus-units:
:: Repository core
   1) dbus-broker-units  2) dbus-daemon-units

Enter a number (default=1):

this is what comes out after the try to update

error: vulkan-icd-loader: signature from "Laurent Carlier <lordheavym@gmail.com>" is marginal trust
:: File /var/cache/pacman/pkg/vulkan-icd-loader-1.3.285-1-x86_64.pkg.tar.zst 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, packages were not updated.

Offline

#2 2024-06-12 12:55:10

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,534
Website

Re: cant update packages using `sudo pacman -Syu`

Does upgrading the keyring first help?

sudo pacman -Sy archlinux-keyring && sudo pacman -Su

Also please merge your pacnew files please (https://wiki.archlinux.org/title/Pacman … nd_Pacsave) since [community] is not a thing for quite some time now.

Offline

#3 2024-08-31 23:33:41

ap_qld
Member
Registered: 2024-08-14
Posts: 3

Re: cant update packages using `sudo pacman -Syu`

I have the same problem with an older installation which is now up to date thanks to this thread suggesting running a for loop.

Now when trying to install Steam:

• $ sudo pacman -S steam
resolving dependencies...
looking for conflicting packages...

Packages (3) lib32-nss-3.104-1  lib32-sqlite-3.46.1-1  steam-1.0.0.81-2

Total Download Size:   0.68 MiB
Total Installed Size:  8.36 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 lib32-sqlite-3.46.1-1-x86_64                                                                                                           698.2 KiB  1857 KiB/s 00:00 [-----------------------------------------------------------------------------------------------------] 100%
(3/3) checking keys in keyring                                                                                                                                      [-----------------------------------------------------------------------------------------------------] 100%
(3/3) checking package integrity                                                                                                                                    [-----------------------------------------------------------------------------------------------------] 100%
error: lib32-sqlite: signature from "Laurent Carlier <lordheavym@gmail.com>" is marginal trust
:: File /var/cache/pacman/pkg/lib32-sqlite-3.46.1-1-x86_64.pkg.tar.zst 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.

When I try to re-install all packages to see if that fixes it, I am receiving the same error:

error: vulkan-icd-loader: signature from "Laurent Carlier <lordheavym@gmail.com>" is marginal trust
error: rhash: signature from "Johannes Löthberg <johannes@kyriasis.com>" is marginal trust
:: File /var/cache/pacman/pkg/rhash-1.4.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: lib32-vulkan-icd-loader: signature from "Laurent Carlier <lordheavym@gmail.com>" is marginal trust
:: File /var/cache/pacman/pkg/lib32-vulkan-icd-loader-1.3.279-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: pacutils: signature from "Johannes Löthberg <johannes@kyriasis.com>" is marginal trust
:: File /var/cache/pacman/pkg/pacutils-0.14.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: vulkan-headers: signature from "Laurent Carlier <lordheavym@gmail.com>" is marginal trust
:: File /var/cache/pacman/pkg/vulkan-headers-1:1.3.285-1-any.pkg.tar.zst 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.

Other things I have tried as root:

ntpd -qg
hwclock -w
find /var/cache/pacman/pkg/ -iname "*.part" -delete
pacman -Sy --needed archlinux-keyring && pacman -Su
rm -R /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate

As I was researching this I was able to fix it and now steam installs, and I believe running these 3 lines as root was the key:

rm -R /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate

This is a very common problem you can find by searching these forums for 'lordheavym@gmail.com' (how I found this thread).

Last edited by ap_qld (2024-09-01 00:56:40)

Offline

Board footer

Powered by FluxBB