Please help I am not able to update my system.
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
About this post
- Posted
- Archived
- Score
- 0 · 30% up
- Kind
- Text
- ID
- 10objh6
12 comments
sudo pacman -Sy archlinux-keyring && sudo pacman -Su
update your keyring package firsst
I get this
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
sudo pacman-key --init && sudo pacman-key --populate && sudo pacman-key --refresh-keysI had this error a few times in the last months.
The only solution I found was to delete and then recreate the key database.
I wonder why this happens and if there is a better solution.
I read that it occurs when you do not do regular up dates.
What commands did you use?
What happens, when you don't update regularly is just that you need to update the key ring package first. That it breaks so much that you can't even install a newer key ring package is not normal.
I basically used the commands shown here, though I didn't need to reboot.
https://bbs.archlinux.org/viewtopic.php?id=269438
Kindly update your post with the solution when you find it. tks
gpg --recv-keys <key>usually works for me.If you are on manjaro you may need to update your keyserver if it hasn't been updated in a long time.
sudo nano /etc/pacman.d/gnupg/gpg.conf
then update the keyserver URL with keyserver.ubuntu.com
save
then run sudo pacman -Syu
---------------
This is what i was getting originally
sudo pacman -Syu
[sudo] password for vm:
:: Synchronizing package databases...
core is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
extra 1857.0 KiB 2.94M/s 00:01 [######################] 100%
community 7.6 MiB 5.04M/s 00:02 [######################] 100%
multilib is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...
Packages (4) base-3-2 archlinux-keyring-20230130-1 manjaro-keyring-20221028-4
manjaro-system-20221227-1
Total Installed Size: 2.30 MiB
Net Upgrade Size: 1.18 MiB
:: Proceed with installation? [Y/n]
(4/4) checking keys in keyring [######################] 100%
downloading required keys...
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
:: Starting full system upgrade...
:: Replace at-spi2-atk with extra/at-spi2-core? [Y/n]
:: Replace atk with extra/at-spi2-core? [Y/n]
:: Replace crda with core/wireless-regdb? [Y/n]
:: Replace hwids with core/hwdata? [Y/n]
:: Replace intel-tbb with extra/tbb? [Y/n]
:: Replace kvantum-qt5 with community/kvantum? [Y/n]
:: Replace lib32-at-spi2-atk with multilib/lib32-at-spi2-core? [Y/n]
:: Replace lib32-atk with multilib/lib32-at-spi2-core? [Y/n]
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n]
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n]
:: Replace libdmx with extra/xorgproto-transfer? [Y/n]
:: Replace libutil-linux with core/util-linux-libs? [Y/n]
:: Replace manjaro-xfce-gtk3-settings with community/manjaro-xfce-settings? [Y/n]
warning: mhwd-nvidia: local (1:430.14-1) is newer than extra (525.89.02-1)
:: Replace pamac-common with extra/libpamac? [Y/n]
:: Replace pygobject-devel with extra/python-gobject? [Y/n]
:: Replace python-dbus with extra/dbus-python? [Y/n]
:: Replace python-dbus-common with extra/dbus-python? [Y/n]
:: Replace python-xdg with extra/python-pyxdg? [Y/n]
:: Replace sdl with community/sdl12-compat? [Y/n]
:: Replace steam-manjaro with multilib/steam? [Y/n]
:: Replace xdg-desktop-portal-gtk with extra/xdg-desktop-portal-gnome? [Y/n]
resolving dependencies...
:: There are 2 providers available for libjack.so=0-64:
:: Repository extra
Enter a number (default=1):
looking for conflicting packages...
:: jack2 and jack are in conflict. Remove jack? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jack2 and jack are in conflict