You are not logged in.

#1 2023-08-22 05:19:33

jb.1234abcd
Member
Registered: 2013-10-14
Posts: 54

[archlinux-keyring] update error

archlinux-keyring-20230821-1

$ pacman -Syu
:: Synchronizing package databases...
 core                  130.4 KiB   151 KiB/s 00:01 [######################] 100%
 extra                   8.3 MiB   236 KiB/s 00:36 [######################] 100%
:: Starting full system upgrade...
warning: db5.3: local (5.3.28-4) is newer than core (5.3.28-2)
resolving dependencies...
looking for conflicting packages...

Packages (3) archlinux-keyring-20230821-1  imlib2-1.12.0-1
             python-fonttools-4.42.1-1

Total Download Size:    4.30 MiB
Total Installed Size:  22.11 MiB
Net Upgrade Size:       0.03 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-fonttools...     2.6 MiB   219 KiB/s 00:12 [######################] 100%
 archlinux-keyrin...  1164.0 KiB   241 KiB/s 00:05 [######################] 100%
 imlib2-1.12.0-1-...   570.3 KiB   243 KiB/s 00:02 [######################] 100%
 Total (3/3)             4.3 MiB   227 KiB/s 00:19 [######################] 100%
(3/3) checking keys in keyring                     [######################] 100%
(3/3) checking package integrity                   [######################] 100%
(3/3) loading package files                        [######################] 100%
(3/3) checking for file conflicts                  [######################] 100%
(3/3) checking available disk space                [######################] 100%
:: Processing package changes...
(1/3) upgrading archlinux-keyring                  [######################] 100%
==> Appending keys from archlinux.gpg...
gpg: can't open '/etc/pacman.d/gnupg/pubring.gpg'
gpg: keydb_get_keyblock failed: Cannot open keyring
==> Updating trust database...
gpg: next trustdb check due at 2023-10-27
==> Updating trust database...
gpg: next trustdb check due at 2023-10-27
(2/3) upgrading imlib2                             [######################] 100%
(3/3) upgrading python-fonttools                   [######################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
$ ls -al /etc/pacman.d/gnupg/
-rw-r--r-- 1 root root 1422016 Aug 22 07:04 pubring.gpg
-rw-r--r-- 1 root root 1422016 Aug 22 07:04 pubring.gpg~
# head /etc/pacman.d/gnupg/pubring.gpg > /dev/null 
#  lsattr /etc/pacman.d/gnupg/pubring.gpg
--------------e------- /etc/pacman.d/gnupg/pubring.gpg
# stat /etc/pacman.d/gnupg/
  File: /etc/pacman.d/gnupg/
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 8,2	Inode: 35          Links: 5
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-08-22 07:07:17.197073502 +0200
Modify: 2023-08-22 07:18:36.393393979 +0200
Change: 2023-08-22 07:18:36.393393979 +0200
 Birth: 2021-08-20 10:24:32.315989199 +0200
#  lsattr -d /etc/pacman.d/gnupg/
--------------e------- /etc/pacman.d/gnupg/
#

Last edited by jb.1234abcd (2023-08-22 06:40:27)

Offline

#2 2023-08-22 06:19:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,104

Re: [archlinux-keyring] update error

Please use [code][/code] tags. Edit your post in this regard.

What is the full context of this, the command you issued and the entire output (cause it looks like some pacman hook)
Can you

head /etc/pacman.d/gnupg/pubring.gpg > /dev/null # it's binary, you don't want that in your TE)
sudo lsattr /etc/pacman.d/gnupg/pubring.gpg*
stat /etc/pacman.d/gnupg/
lsattr -d /etc/pacman.d/gnupg/

Offline

Board footer

Powered by FluxBB