Update Error Due to Kernel Keyring Issues?

Fresh reinstall it is!

What commands should I use first with reflector?

OK, I just took a look.

After pudgeā€™s commands from above you are left without eos keys so try this:

sudo pacman -S endeavouros-keyring

Then update only your repo packages with:

sudo pacman -Syu

If that doesnā€™t work, post the current output from pacman -Syu even if it looks the same to you.

1 Like

Here you go. Think Iā€™ll try the reflector option next once I know what commands to use.

[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ sudo pacman -S endeavouros-keyring
[sudo] password for oneshinyboi: 
warning: endeavouros-keyring-20220614-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)                      Old Version  New Version  Net Change

endeavouros/endeavouros-keyring  20220614-1   20220614-1     0.00 MiB

Total Installed Size:  0.01 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                               [--------------------------------] 100%
downloading required keys...
:: Import PGP key 003DB8B0CB23504F, "EndeavourOS <info@endeavouros.com>"? [Y/n] y
error: key "003DB8B0CB23504F" 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.
[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ 


I donā€™t see anything to indicate a mirror problem here.

What is the output of sudo pacman-key --populate endeavouros ?

1 Like

I believe @anon11595408 was the one who mentioned that there could be a mirror issue and recommended reflect. Hereā€™s the output you asked for.

[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ sudo pacman-key --populate endeavouros
[sudo] password for oneshinyboi: 
==> Appending keys from endeavouros.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 7 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  13  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  13  signed:  95  trust: 0-, 0q, 0n, 13m, 0f, 0u
gpg: depth: 2  valid:  75  signed:  26  trust: 75-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-04-21
[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ 


Does this work better now:

sudo pacman -Syu

?

1 Like

Well I donā€™t know if I would use the word ā€˜betterā€™ but itā€™s giving a different error message now which could be good?

EDIT: Is this a case where it would be good to use overwrite perhaps?

[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ sudo pacman -Syu
[sudo] password for oneshinyboi: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                          1743.3 KiB   351 KiB/s 00:05 [--------------------------------] 100%
 community                         7.2 MiB  1232 KiB/s 00:06 [--------------------------------] 100%
 multilib                        165.6 KiB  71.7 KiB/s 00:02 [--------------------------------] 100%
:: Starting full system upgrade...
:: Replace yad-eos with endeavouros/yad? [Y/n] y
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: lib32-mesa will be installed before its lib32-libglvnd dependency

warning: insufficient columns available for table display
Packages (442) a52dec-0.7.4-12  aalib-1.4rc5-15  alsa-card-profiles-1:0.3.64-1
               amd-ucode-20221214.f3c283e-1  arc-gtk-theme-eos-20221218-1  audit-3.0.9-1
               bind-9.18.10-1  binutils-2.40-1  btrfs-progs-6.1.2-1  ca-certificates-mozilla-3.87-1
               chromaprint-1.5.1-6  cifs-utils-7.0-2  clang-15.0.7-1  clucene-2.3.3.4-13
               code-1.74.3-1  compiler-rt-15.0.7-1  curl-7.87.0-3  cython-0.29.33-1  db-6.2.32-1
               db5.3-5.3.28-2  default-cursors-2-1  device-mapper-2.03.18-1
               dialog-1:1.3_20221229-1  djvulibre-3.5.28-4  dnsmasq-2.88-1
               dotnet-host-7.0.2.sdk102-1  dotnet-runtime-7.0.2.sdk102-1
               dotnet-runtime-6.0-6.0.13.sdk113-1  duktape-2.7.0-5  electron19-19.1.9-3
               elementary-icon-theme-7.1.0-1  ell-0.55-1  endeavouros-mirrorlist-4.11-1
               endeavouros-skel-default-1.8-1  endeavouros-skel-xfce4-3.3-1
               endeavouros-theming-22.12.1.1-1  endeavouros-xfce4-terminal-colors-5-1
               eos-apps-info-1.5-1  eos-bash-shared-1.41-1  eos-hooks-1.10-1
               eos-lightdm-slick-theme-3.2-1  eos-log-tool-1.14-4  eos-packagelist-2.1-1
               eos-quickstart-1.3.1-1  eos-translations-23-4  ethtool-1:6.1-1  exo-4.18.0-1
               file-5.44-1  firefox-109.0-1  firewalld-1.3.0-1  fluidsynth-2.3.1-1  fmt-9.1.0-4
               fuse-common-3.13.0-1  fuse3-3.13.0-1  garcon-4.18.0-1  gcc-12.2.1-1
               gcc-libs-12.2.1-1  gd-2.3.3-6  gdk-pixbuf2-2.42.10-2  gegl-0.4.40-4
               ghostscript-10.0.0-4  gimp-2.10.32-3  git-2.39.1-1  glib2-2.74.4-1  glibc-2.36-7
               glslang-11.13.0-2  gnome-boxes-43.2-1  gnu-netcat-0.7.1-9  go-2:1.19.5-1
               gpgme-1.18.0-2  graphviz-7.0.6-1  grub-2:2.06.r415.g1a241e050-1  grub-btrfs-4.12-2
               gst-libav-1.20.5-5  gst-plugin-pipewire-1:0.3.64-1  gst-plugins-bad-1.20.5-5
               gst-plugins-bad-libs-1.20.5-5  gst-plugins-base-1.20.5-5
               gst-plugins-base-libs-1.20.5-5  gst-plugins-good-1.20.5-5  gst-plugins-ugly-1.20.5-5
               gstreamer-1.20.5-5  gtk-update-icon-cache-1:4.8.3-3  gtk3-1:3.24.36-1
               gupnp-1:1.6.3-1  gvfs-1.50.3-1  gvfs-afc-1.50.3-1  gvfs-gphoto2-1.50.3-1
               gvfs-mtp-1.50.3-1  gvfs-nfs-1.50.3-1  gvfs-smb-1.50.3-1  harfbuzz-6.0.0-1
               harfbuzz-icu-6.0.0-1  hidapi-0.13.1-1  http-parser-2.9.4-1  hunspell-1.7.2-1
               hwdata-0.366-1  hwdetect-2023.01-1  hwinfo-22.2-1  iana-etc-20221215-1
               imagemagick-7.1.0.57-2  imlib2-1.10.0-2  inxi-3.3.24.1-4  iproute2-6.1.0-3
               iwd-2.1-1  jasper-4.0.0-1  kaccounts-integration-22.12.1-1  kactivities-5.102.0-1
               karchive-5.102.0-1  kauth-5.102.0-1  kbookmarks-5.102.0-1  kcmutils-5.102.0-1
               kcodecs-5.102.0-1  kcompletion-5.102.0-1  kconfig-5.102.0-1
               kconfigwidgets-5.102.0-1  kcoreaddons-5.102.0-1  kcrash-5.102.0-1
               kdbusaddons-5.102.0-1  kdeclarative-5.102.0-1  kded-5.102.0-1
               kglobalaccel-5.102.0-1  kguiaddons-5.102.0-1  ki18n-5.102.0-1  kiconthemes-5.102.0-1
               kio-5.102.0-1  kirigami2-5.102.0-1  kitemviews-5.102.0-1  kjobwidgets-5.102.0-1
               kjs-5.102.0-1  knotifications-5.102.0-1  kpackage-5.102.0-1  kparts-5.102.0-1
               kpty-5.102.0-1  krb5-1.20.1-1  kservice-5.102.0-1  ktextwidgets-5.102.0-1
               kwallet-5.102.0-1  kwayland-5.102.0-1  kwidgetsaddons-5.102.0-1
               kwindowsystem-5.102.0-1  kxmlgui-5.102.0-1  lcms2-2.14-2  lib32-curl-7.87.0-1
               lib32-gcc-libs-12.2.1-1  lib32-glibc-2.36-7  lib32-krb5-1.20.1-1
               lib32-libglvnd-1.6.0-1  lib32-libtirpc-1.3.3-2  lib32-libx11-1.8.3-1
               lib32-libxau-1.0.11-1  lib32-libxdamage-1.1.6-1  lib32-libxdmcp-1.1.4-1
               lib32-libxshmfence-1.3.2-1  lib32-llvm-libs-15.0.7-1  lib32-mesa-22.3.3-3
               lib32-ncurses-6.4-1  lib32-nss-3.87-1  lib32-sqlite-3.40.1-1  lib32-systemd-252.4-1
               lib32-vulkan-mesa-layers-22.3.3-3  lib32-vulkan-radeon-22.3.3-3  lib32-xz-5.4.1-1
               libarchive-3.6.2-2  libass-0.17.0-1  libbluray-1.3.4-1  libcamera-0.0.3-3
               libcddb-1.3.2-7  libelf-0.188-2  libetonyek-0.1.10-3  libfontenc-1.1.7-1
               libgit2-1:1.5.0-2  libglvnd-1.6.0-1  libgusb-0.4.3-1  libheif-1.14.2-1
               libical-3.0.16-4  libice-1.1.1-1  libiec61883-1.2.0-7  libinput-1.22.1-1
               libkexiv2-22.12.1-1  libkeybinder3-0.3.2-4  libksba-1.6.3-1  liblc3-1.0.1-1
               libmfx-22.6.4-1  libmm-glib-1.20.4-1  libmodplug-0.8.9.0-5  libmpc-1.3.1-1
               libnice-0.1.21-1  libnm-1.40.10-1  libnma-1.10.6-1  libnma-common-1.10.6-1
               libomxil-bellagio-0.9.3-4  libopenmpt-0.6.7-1  libopenraw-0.3.3-1  libpcap-1.10.3-1
               libplacebo-5.229.1-2  libproxy-0.4.18-2  libpsl-0.21.2-1  libraqm-0.10.0-1
               libraw-0.21.1-1  libreoffice-still-7.3.7-2  librevenge-0.0.5-2  libsigc++-2.12.0-1
               libsm-1.2.4-1  libsndfile-1.2.0-1  libsoxr-0.1.3-3  libspectre-0.2.12-1
               libsysprof-capture-3.46.0-3  libtiff-4.5.0-1  libtool-2.4.7+4+g1ec8fa28-1
               libva-2.17.0-1  libvirt-1:8.10.0-1  libwbclient-4.17.4-4  libwebp-1.3.0-2
               libwireplumber-0.4.13-1  libwmf-0.2.12-3  libx11-1.8.3-5  libxau-1.0.11-1
               libxcomposite-0.4.6-1  libxdamage-1.1.6-1  libxfce4ui-4.18.1-1
               libxfce4util-4.18.1-1  libxkbcommon-1.5.0-1  libxkbcommon-x11-1.5.0-1
               libxkbfile-1.1.2-1  libxpm-3.5.15-1  libxres-1.2.2-1  libxshmfence-1.3.2-1
               libxv-1.0.12-1  linux-6.1.6.arch1-3  linux-atm-2.5.2-8
               linux-firmware-20221214.f3c283e-1  linux-firmware-whence-20221214.f3c283e-1
               linux-hardened-6.1.6.hardened2-2  linux-headers-6.1.6.arch1-3
               linux-zen-6.1.6.zen1-2  linux-zen-headers-6.1.6.zen1-2  llvm-libs-15.0.7-1
               logrotate-3.21.0-2  lsof-4.96.5-1  lua-5.4.4-3  luajit-2.1.0.beta3.r467.gd0e88930-1
               lvm2-2.03.18-1  make-4.4-1  man-db-2.11.2-1  man-pages-6.02-1  mbedtls-2.28.2-1
               mesa-22.3.3-3  mkinitcpio-34-2  mobile-broadband-provider-info-20221107-2
               modemmanager-1.20.4-1  mpfr-4.2.0-2  mpg123-1.31.2-1  multipath-tools-0.9.4-1
               nano-7.1-1  ncurses-6.4-1  ndctl-75-1  netpbm-10.73.42-2  networkmanager-1.40.10-1
               nftables-1:1.0.6-1  nilfs-utils-2.2.9-2  nss-3.87-1  ntp-4.2.8.p15-3
               okular-22.12.1-1  openjpeg2-2.5.0-2  openssl-3.0.7-4  osinfo-db-20221130-1
               pacman-contrib-1.8.2-1  pacman-mirrorlist-20221204-1  pahole-1:1.24+r29+g02d67c5-1
               parallel-20221222-1  pciutils-3.9.0-2  pcsclite-1.9.9-2  perl-5.36.0-3
               perl-encode-locale-1.05-10  perl-html-tagset-3.20-13  perl-http-date-6.05-6
               perl-http-negotiate-6.01-11  perl-lwp-mediatypes-6.04-3  perl-www-robotrules-6.02-11
               pinta-2.1-1  pipewire-1:0.3.64-1  pipewire-alsa-1:0.3.64-1
               pipewire-audio-1:0.3.64-1  pipewire-jack-1:0.3.64-1  pipewire-pulse-1:0.3.64-1
               plasma-framework-5.102.0-1  poppler-23.01.0-3  poppler-glib-23.01.0-3
               poppler-qt5-23.01.0-3  psmisc-23.6-1  purpose-5.102.0-1  python-3.10.9-1
               python-cairo-1.23.0-2  python-chardet-5.1.0-1  python-distro-1.8.0-2
               python-gpgme-1.18.0-2  python-pydantic-1.10.4-1  python-setproctitle-1.3.2-1
               python-termcolor-2.2.0-1  python-trove-classifiers-2023.1.12-1
               qemu-audio-alsa-7.2.0-1  qemu-audio-dbus-7.2.0-1  qemu-audio-jack-7.2.0-1
               qemu-audio-oss-7.2.0-1  qemu-audio-pa-7.2.0-1  qemu-audio-sdl-7.2.0-1
               qemu-audio-spice-7.2.0-1  qemu-block-curl-7.2.0-1  qemu-block-dmg-7.2.0-1
               qemu-block-nfs-7.2.0-1  qemu-block-ssh-7.2.0-1  qemu-chardev-spice-7.2.0-1
               qemu-common-7.2.0-1  qemu-desktop-7.2.0-1  qemu-hw-display-qxl-7.2.0-1
               qemu-hw-display-virtio-gpu-7.2.0-1  qemu-hw-display-virtio-gpu-gl-7.2.0-1
               qemu-hw-display-virtio-gpu-pci-7.2.0-1  qemu-hw-display-virtio-gpu-pci-gl-7.2.0-1
               qemu-hw-display-virtio-vga-7.2.0-1  qemu-hw-display-virtio-vga-gl-7.2.0-1
               qemu-hw-s390x-virtio-gpu-ccw-7.2.0-1  qemu-hw-usb-host-7.2.0-1
               qemu-hw-usb-redirect-7.2.0-1  qemu-hw-usb-smartcard-7.2.0-1  qemu-img-7.2.0-1
               qemu-pr-helper-7.2.0-1  qemu-system-x86-7.2.0-1  qemu-system-x86-firmware-7.2.0-1
               qemu-tools-7.2.0-1  qemu-ui-curses-7.2.0-1  qemu-ui-dbus-7.2.0-1
               qemu-ui-egl-headless-7.2.0-1  qemu-ui-gtk-7.2.0-1  qemu-ui-opengl-7.2.0-1
               qemu-ui-sdl-7.2.0-1  qemu-ui-spice-app-7.2.0-1  qemu-ui-spice-core-7.2.0-1
               qemu-vhost-user-gpu-7.2.0-1  qemu-virtiofsd-7.2.0-1  qrencode-4.1.1-2
               qt5-base-5.15.8+kde+r165-1  qt5-declarative-5.15.8+kde+r24-2
               qt5-graphicaleffects-5.15.8-1  qt5-location-5.15.8+kde+r3-1
               qt5-multimedia-5.15.8+kde+r1-1  qt5-quickcontrols-5.15.8-1
               qt5-quickcontrols2-5.15.8+kde+r7-1  qt5-speech-5.15.8+kde+r1-1
               qt5-svg-5.15.8+kde+r8-1  qt5-tools-5.15.8+kde+r1-3  qt5-translations-5.15.8-1
               qt5-wayland-5.15.8+kde+r57-1  qt5-webchannel-5.15.8+kde+r3-1
               qt5-webengine-5.15.12-2  qt5-x11extras-5.15.8-1  qt6-base-6.4.2-1
               qt6-declarative-6.4.2-1  qt6-translations-6.4.2-1  rav1e-0.6.3-1  re2-1:20221201-2
               ripgrep-13.0.0-3  ristretto-0.12.4-1  rsync-3.2.7-3  rust-1:1.66.1-2  sdl2-2.26.2-1
               sdl2_image-2.6.2-3  shaderc-2022.4-1  shadow-4.13-1
               signon-kwallet-extension-22.12.1-1  slang-2.3.3-2  smbclient-4.17.4-4
               sof-firmware-2.2.4-1  solid-5.102.0-1  sonnet-5.102.0-1  spandsp-0.0.6-4
               spdlog-1.11.0-2  spirv-tools-2022.4-1  sqlite-3.40.1-1  suitesparse-6.0.3-1
               svt-av1-1.4.1-1  systemd-252.4-2  systemd-libs-252.4-2  systemd-sysvcompat-252.4-2
               texinfo-7.0.1-1  threadweaver-5.102.0-1  thunar-4.18.2-1  thunar-volman-4.18.0-1
               tor-0.4.7.13-1  torbrowser-launcher-0.3.6-1  tracker3-3.4.2-1
               ttf-bitstream-vera-1.10-15  tumbler-4.18.0-1  unrar-1:6.2.3-1  usbutils-015-2
               virglrenderer-0.10.4-1  vlc-3.0.18-6  vte-common-0.70.2-1  vte3-0.70.2-1
               vulkan-mesa-layers-22.3.3-3  vulkan-radeon-22.3.3-3  wavpack-5.6.0-1
               webkit2gtk-2.38.3-1  webkit2gtk-4.1-2.38.3-1  webp-pixbuf-loader-0.0.7-1
               welcome-3.45-1  whois-5.5.15-1  wildmidi-0.4.5-1  wireplumber-0.4.13-1
               wolfssl-5.5.4-1  wpa_supplicant-2:2.10-8  xapp-2.4.2-1  xcb-util-0.4.1-1
               xfce4-appfinder-4.18.0-1  xfce4-datetime-plugin-0.8.3-1  xfce4-notifyd-0.6.5-1
               xfce4-panel-4.18.1-1  xfce4-power-manager-4.18.0-1  xfce4-screenshooter-1.10.3-1
               xfce4-session-4.18.0-1  xfce4-settings-4.18.1-1  xfce4-taskmanager-1.5.5-1
               xfce4-whiskermenu-plugin-2.7.2-1  xfconf-4.18.0-1  xfdesktop-4.18.0-1
               xfsprogs-6.1.1-2  xfwm4-4.18.0-1  xorg-server-21.1.6-1  xorg-server-common-21.1.6-1
               xorg-xhost-1.0.9-1  xorg-xinit-1.4.2-1  xorg-xkbcomp-1.4.6-1  xorg-xprop-1.2.6-1
               xorg-xrandr-1.5.2-1  xorg-xset-1.2.5-1  xz-5.4.1-1  yad-12.3-1.1
               yad-eos-12.1-1.1 [removal]  yay-11.3.2-1  zvbi-0.2.39-1  zxing-cpp-2.0.0-1

Total Download Size:    238.64 MiB
Total Installed Size:  6386.51 MiB
Net Upgrade Size:       126.19 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 qt5-base-5.15.8+kde+r165-1...    13.0 MiB   571 KiB/s 00:23 [--------------------------------] 100%
 mesa-22.3.3-3-x86_64             10.5 MiB   769 KiB/s 00:14 [--------------------------------] 100%
 lib32-llvm-libs-15.0.7-1-x...    32.5 MiB   764 KiB/s 00:43 [--------------------------------] 100%
 lib32-mesa-22.3.3-3-x86_64       10.2 MiB  1298 KiB/s 00:08 [--------------------------------] 100%
 compiler-rt-15.0.7-1-x86_64       3.2 MiB  1800 KiB/s 00:02 [--------------------------------] 100%
 qt5-tools-5.15.8+kde+r1-3-...     5.3 MiB  1144 KiB/s 00:05 [--------------------------------] 100%
 clang-15.0.7-1-x86_64            39.3 MiB   826 KiB/s 00:49 [--------------------------------] 100%
 lib32-vulkan-radeon-22.3.3...     2.2 MiB  1600 KiB/s 00:01 [--------------------------------] 100%
 lib32-vulkan-mesa-layers-2...   337.6 KiB   879 KiB/s 00:00 [--------------------------------] 100%
 vulkan-mesa-layers-22.3.3-...   321.1 KiB  1032 KiB/s 00:00 [--------------------------------] 100%
 vulkan-radeon-22.3.3-3-x86_64     2.1 MiB  1358 KiB/s 00:02 [--------------------------------] 100%
 rust-1:1.66.1-2-x86_64           90.4 MiB  1469 KiB/s 01:03 [--------------------------------] 100%
 llvm-libs-15.0.7-1-x86_64        25.0 MiB  1694 KiB/s 00:15 [--------------------------------] 100%
 Total (13/13)                   238.6 MiB   382 KiB/s 10:40 [--------------------------------] 100%
error: failed retrieving file 'llvm-libs-15.0.7-1-x86_64.pkg.tar.zst' from mnvoip.mm.fcix.net : OpenSSL SSL_read: Connection timed out, errno 110
(441/441) checking keys in keyring                           [--------------------------------] 100%
(441/441) checking package integrity                         [--------------------------------] 100%
(441/441) loading package files                              [--------------------------------] 100%
(441/441) checking for file conflicts                        [--------------------------------] 100%
error: failed to commit transaction (conflicting files)
python-cairo: /usr/lib/python3.10/site-packages/cairo/__pycache__/__init__.cpython-310.pyc exists in filesystem
Errors occurred, no packages were upgraded.
[oneshinyboi@oneshinyboi-rogstrixg513qyg513qy ~]$ 

You can just delete /usr/lib/python3.10/site-packages/cairo/__pycache__/__init__.cpython-310.pyc

Also, it looks like your keyring issue is now resolved.

1 Like

I wonder which command it was that fixed it? Well thatā€™s good. Letā€™s see if any other errors pop up.

In this case it could have been ok.

However for more cautious course of action >> The better way

1 Like

I can explain that if you would like.

At one point you did this:

sudo cp -rf /etc/pacman.d/gnupg /etc/pacman.d/gnupg.bkup
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo systemctl reboot

That completely erased your keyring and then populated it only with the keys for Arch. Critically, you were now missing the EOS keys.

Next you did this:

sudo pacman-key --add enos.pgp

You added the key without signing it.

Lastly you did this:

 sudo pacman-key --populate endeavouros

That populated all the eos keys properly.

5 Likes

Thanks. That was the longest one Iā€™ve yet done. Iā€™ll be sure to keep updated from here forward.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.