You are not logged in.

#1 2021-11-27 15:56:10

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Missing <*.db.sig >. Can't use <pacman -S> properly.

Hey guys,

I don't know how to categorize this correctly...

My situation is:

1) When I do <pacman -Syyu> and everything "seems" run OK:

# pacman -Syyu --noconfirm --debug
debug: pacman v5.2.2 - libalpm v12.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: totaldownload
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.c3sl.ufpr.br/core/os/x86_64
debug: adding new server URL to database 'core': http://www.las.ic.unicamp.br/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.clibre.uqam.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux-br.mirror.host1plus.com/core/os/x86_64
debug: adding new server URL to database 'core': http://linorg.usp.br/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.pop-es.rnp.br/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.aubrac-medical.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://pet.inf.ufsc.br/mirrors/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.c3sl.ufpr.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://www.las.ic.unicamp.br/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.clibre.uqam.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux-br.mirror.host1plus.com/extra/os/x86_64
debug: adding new server URL to database 'extra': http://linorg.usp.br/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.pop-es.rnp.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.aubrac-medical.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://pet.inf.ufsc.br/mirrors/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.c3sl.ufpr.br/community/os/x86_64
debug: adding new server URL to database 'community': http://www.las.ic.unicamp.br/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.clibre.uqam.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux-br.mirror.host1plus.com/community/os/x86_64
debug: adding new server URL to database 'community': http://linorg.usp.br/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.pop-es.rnp.br/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.aubrac-medical.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://pet.inf.ufsc.br/mirrors/archlinux/community/os/x86_64
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: setting usage of 15 for archlinuxfr repository
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
:: Synchronizing package databases...
debug: url: https://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirrors.edge.kernel.org/archlinux/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: https://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirrors.edge.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: https://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://mirrors.edge.kernel.org/archlinux/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 134217728
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
downloading archlinuxfr.db...
debug: curl returned error 0 from transfer
debug: response code: 200
:: Starting full system upgrade...
debug: checking for package upgrades
debug: loading package cache for repository 'local'
debug: added 0 packages to package cache for db 'local'
 there is nothing to do
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr' 

2) Then.. I try perform <pacman -S iana-etc --noconfirm --debug> (iana-etc just for example):

# pacman -S iana-etc --debug --noconfirm
debug: pacman v5.2.2 - libalpm v12.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: totaldownload
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.c3sl.ufpr.br/core/os/x86_64
debug: adding new server URL to database 'core': http://www.las.ic.unicamp.br/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.clibre.uqam.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux-br.mirror.host1plus.com/core/os/x86_64
debug: adding new server URL to database 'core': http://linorg.usp.br/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.pop-es.rnp.br/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.aubrac-medical.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://pet.inf.ufsc.br/mirrors/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.c3sl.ufpr.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://www.las.ic.unicamp.br/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.clibre.uqam.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux-br.mirror.host1plus.com/extra/os/x86_64
debug: adding new server URL to database 'extra': http://linorg.usp.br/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.pop-es.rnp.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.aubrac-medical.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://pet.inf.ufsc.br/mirrors/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.c3sl.ufpr.br/community/os/x86_64
debug: adding new server URL to database 'community': http://www.las.ic.unicamp.br/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.clibre.uqam.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux-br.mirror.host1plus.com/community/os/x86_64
debug: adding new server URL to database 'community': http://linorg.usp.br/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.pop-es.rnp.br/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.aubrac-medical.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://pet.inf.ufsc.br/mirrors/archlinux/community/os/x86_64
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: setting usage of 15 for archlinuxfr repository
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 240 packages to package cache for db 'core'
debug: adding package 'iana-etc'
debug: loading package cache for repository 'local'
debug: added 0 packages to package cache for db 'local'
debug: adding package iana-etc-20211025-1 to the transaction add list
resolving dependencies...
debug: resolving target's dependencies
debug: started resolving dependencies
debug: checkdeps: package iana-etc-20211025-1
debug: finished resolving dependencies
looking for conflicting packages...
debug: looking for conflicts
debug: check targets vs targets
debug: check targets vs targets
debug: check targets vs db and db vs targets
debug: check targets vs db
debug: check db vs targets
debug: checking dependencies
debug: checkdeps: package iana-etc-20211025-1
debug: returning error 32 from alpm_db_get_pkg : could not find or read package
debug: found cached pkg: /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: setting download size 0 for pkg iana-etc
debug: sorting by dependencies
debug: started sorting dependencies
debug: sorting dependencies finished
debug: returning error 32 from alpm_db_get_pkg : could not find or read package

Packages (1) iana-etc-20211025-1

Total Installed Size:  3.92 MiB

:: Proceed with installation? [Y/n] 
debug: using cachedir: /var/cache/pacman/pkg/
debug: found cached pkg: /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
checking keyring...
debug: GPGME version: 1.15.1
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
debug: looking up key C06086337C50773E locally
debug: key lookup success, key exists
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: sig data: iQEzBAABCAAdFiEE5JnHn1PJalTlcv7hwGCGM3xQdz4FAmGCpkwACgkQwGCGM3xQdz5WKAf/XFU0wnMnSJ1ajQP2gdJSPxj+EHLcAZwVnAZm/oLMhfRhB1ewLPrBXfSM94dQjSCyeIA/v2LEBn6obCBTGsXMfZm6LZRHSA1edtqogebTgYQ/FDL0lzP8hf3dlGpChSU0uO1Ymu8fzRQXtN1GAUZUDgqN0n68i0qltPhOoN2AouTQWq2VcitbQhlzky/SZy6go8dEBJo5dvrMbQoSI8YoAdATKaM8IQtdZDP/xc+iTWysN7HF4XPnmVgQVUrfGq+y9lKagq09XRCy7uRi1xjS62E1nmcq7UaAghx5RkR7FM34cf7emDO/Ek4joUatLUtAgydWPHLO68WTq7SGSSw4Jw==
debug: checking signature for /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: 1 signatures returned
debug: fingerprint: E499C79F53C96A54E572FEE1C06086337C50773E
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1635952204
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: E499C79F53C96A54E572FEE1C06086337C50773E, Jelle van der Waa <jelle@vdwaa.nl>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
loading package files...
debug: found cached pkg: /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: replacing pkgcache entry with package file for target iana-etc
debug: opening archive /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: starting package load for /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: found mtree for package /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst, getting file list
debug: finished mtree reading for /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
debug: sorting package filelist for /var/cache/pacman/pkg/iana-etc-20211025-1-any.pkg.tar.zst
checking for file conflicts...
debug: looking for file conflicts
debug: searching for file conflicts: iana-etc
debug: searching for filesystem conflicts: iana-etc
debug: checking possible conflict: /etc/
debug: file is a directory, not a conflict
debug: checking possible conflict: /etc/protocols
debug: file was unowned but in new backup list
debug: checking possible conflict: /etc/services
debug: file was unowned but in new backup list
debug: checking possible conflict: /usr/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/iana-etc/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/iana-etc/port-numbers.iana
debug: found file conflict /usr/share/iana-etc/port-numbers.iana, packages iana-etc and (filesystem)
debug: checking possible conflict: /usr/share/iana-etc/protocol-numbers.iana
debug: found file conflict /usr/share/iana-etc/protocol-numbers.iana, packages iana-etc and (filesystem)
debug: checking possible conflict: /usr/share/licenses/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/licenses/iana-etc/
debug: file is a directory, not a conflict
debug: checking possible conflict: /usr/share/licenses/iana-etc/LICENSE
debug: found file conflict /usr/share/licenses/iana-etc/LICENSE, packages iana-etc and (filesystem)
debug: returning error 47 from _alpm_sync_check : conflicting files
error: failed to commit transaction (conflicting files)
iana-etc: /usr/share/iana-etc/port-numbers.iana exists in filesystem
iana-etc: /usr/share/iana-etc/protocol-numbers.iana exists in filesystem
iana-etc: /usr/share/licenses/iana-etc/LICENSE exists in filesystem
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'

3) Performing a <pacman -Qo /usr/share/iana-etc/port-numbers.iana --debug> results:

# pacman -Qo /usr/share/iana-etc/port-numbers.iana --debug
debug: pacman v5.2.2 - libalpm v12.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: totaldownload
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.c3sl.ufpr.br/core/os/x86_64
debug: adding new server URL to database 'core': http://www.las.ic.unicamp.br/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.clibre.uqam.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux-br.mirror.host1plus.com/core/os/x86_64
debug: adding new server URL to database 'core': http://linorg.usp.br/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.pop-es.rnp.br/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.aubrac-medical.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://pet.inf.ufsc.br/mirrors/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.c3sl.ufpr.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://www.las.ic.unicamp.br/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.clibre.uqam.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux-br.mirror.host1plus.com/extra/os/x86_64
debug: adding new server URL to database 'extra': http://linorg.usp.br/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.pop-es.rnp.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.aubrac-medical.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://pet.inf.ufsc.br/mirrors/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.c3sl.ufpr.br/community/os/x86_64
debug: adding new server URL to database 'community': http://www.las.ic.unicamp.br/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.clibre.uqam.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux-br.mirror.host1plus.com/community/os/x86_64
debug: adding new server URL to database 'community': http://linorg.usp.br/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.pop-es.rnp.br/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.aubrac-medical.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://pet.inf.ufsc.br/mirrors/archlinux/community/os/x86_64
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: setting usage of 15 for archlinuxfr repository
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: loading package cache for repository 'local'
debug: added 0 packages to package cache for db 'local'
error: No package owns /usr/share/iana-etc/port-numbers.iana
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'

I know that is missing some <.sig> files... I have no idea how to deal with it...

Please... how can I get solve this?

Any help is highly appreciated!

Thanks in advance ;-)

Offline

#2 2021-11-27 16:06:57

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

This has nothing to do with missing .sig files. Read...
https://wiki.archlinux.org/title/Pacman … )%22_error


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-11-27 16:07:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Your issue is file conflicts, not .sig files. See https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

#4 2021-11-27 16:50:37

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 185

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

theodoiq wrote:
# pacman -Syyu --noconfirm --debug
debug: pacman v5.2.2 - libalpm v12.0.2

Old pacman.

Offline

#5 2021-11-28 16:34:11

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

GeorgeJP wrote:
theodoiq wrote:
# pacman -Syyu --noconfirm --debug
debug: pacman v5.2.2 - libalpm v12.0.2

Old pacman.

I've tried to update pacman <pacman -S pacman --debug

I got a huge big log file (so big that can't fit here) ... just showing the same <file exists>....

Offline

#6 2021-11-28 16:52:14

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Did you actually read the link that both Scimmia and I posted?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2021-11-28 17:00:15

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Scimmia wrote:

Your issue is file conflicts, not .sig files. See https://wiki.archlinux.org/title/Pacman … )%22_error

and

Slithery wrote:

This has nothing to do with missing .sig files. Read...
https://wiki.archlinux.org/title/Pacman … )%22_error


For example, <iana-etc: /usr/share/iana-etc/port-numbers.iana exists in filesystem>. With no debug, log is just a simple

# pacman -Qo /usr/share/iana-etc/port-numbers.iana
error: No package owns /usr/share/iana-etc/port-numbers.iana

A more complete log with debug:

 # pacman -Qo /usr/share/iana-etc/port-numbers.iana --debug
debug: pacman v5.2.2 - libalpm v12.0.2
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: totaldownload
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: Never
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.c3sl.ufpr.br/core/os/x86_64
debug: adding new server URL to database 'core': http://www.las.ic.unicamp.br/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.clibre.uqam.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux-br.mirror.host1plus.com/core/os/x86_64
debug: adding new server URL to database 'core': http://linorg.usp.br/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.pop-es.rnp.br/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.aubrac-medical.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://pet.inf.ufsc.br/mirrors/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.c3sl.ufpr.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://www.las.ic.unicamp.br/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.clibre.uqam.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux-br.mirror.host1plus.com/extra/os/x86_64
debug: adding new server URL to database 'extra': http://linorg.usp.br/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.pop-es.rnp.br/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.aubrac-medical.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://pet.inf.ufsc.br/mirrors/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.c3sl.ufpr.br/community/os/x86_64
debug: adding new server URL to database 'community': http://www.las.ic.unicamp.br/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.clibre.uqam.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux-br.mirror.host1plus.com/community/os/x86_64
debug: adding new server URL to database 'community': http://linorg.usp.br/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.pop-es.rnp.br/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.aubrac-medical.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://pet.inf.ufsc.br/mirrors/archlinux/community/os/x86_64
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: setting usage of 15 for archlinuxfr repository
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: loading package cache for repository 'local'
debug: added 0 packages to package cache for db 'local'
error: No package owns /usr/share/iana-etc/port-numbers.iana
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr' 

After try runs <pacman -S --overwrite glob iana-etc> returns:

 # pacman -S --overwrite glob iana-etc --noconfirm 
resolving dependencies...
looking for conflicting packages...

Packages (1) iana-etc-20211025-1

Total Installed Size:  3.92 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                      [###########################################################] 100%
(1/1) checking package integrity                                                                    [###########################################################] 100%
(1/1) loading package files                                                                         [###########################################################] 100%
(1/1) checking for file conflicts                                                                   [###########################################################] 100%
error: failed to commit transaction (conflicting files)
iana-etc: /usr/share/iana-etc/port-numbers.iana exists in filesystem
iana-etc: /usr/share/iana-etc/protocol-numbers.iana exists in filesystem
iana-etc: /usr/share/licenses/iana-etc/LICENSE exists in filesystem
Errors occurred, no packages were upgraded.

I've don't know how to deal with this. Maybe a blindspot or something really simple, but isn't clear for me...

Offline

#8 2021-11-28 17:02:15

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Slithery wrote:

Did you actually read the link that both Scimmia and I posted?

I (think) that I read the first time that you advise me, two days ago... and I think that I didn't understood sufficiently to get the point :-(

Offline

#9 2021-11-28 17:03:30

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Glob_(programming)

# pacman -S --overwrite /usr/share/iana-etc/port-numbers.iana --overwrite /usr/share/iana-etc/protocol-numbers.iana --overwrite /usr/share/licenses/iana-etc/LICENSE iana-etc

Last edited by loqs (2021-11-28 17:04:19)

Offline

#10 2021-11-28 19:16:07

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

loqs wrote:

Glob_(programming)

# pacman -S --overwrite /usr/share/iana-etc/port-numbers.iana --overwrite /usr/share/iana-etc/protocol-numbers.iana --overwrite /usr/share/licenses/iana-etc/LICENSE iana-etc

Thanks for clarify, finally I got advance one step. I've never heard about 'glob' - for me it was just a wildcard.

Your command line works and did the job, Now, iana-etc is updated and solved.

But... The rest of whole system is with the same problem..

I didn't understood how to apply very well the concept of glob.

When I try to install any package shows a lot of "file exists"...

Please... is there any other to fix that.. without a full and fresh reinstall??

Thanks again!

Last edited by theodoiq (2021-11-28 19:17:26)

Offline

#11 2021-11-28 19:21:27

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Please post the output of a failing `pacman -Syu`.  If it does not fit in code tags please post it to a pastebin.

Offline

#12 2021-11-29 20:49:34

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

loqs wrote:

Please post the output of a failing `pacman -Syu`.  If it does not fit in code tags please post it to a pastebin.

A small version of <pacman -Syu> is:

pacman -Syu
:: Synchronizing package databases...
 core                      136.9 KiB   130 KiB/s 00:01 [############################] 100%
 extra                                               1595.7 KiB   169 KiB/s 00:09 [##############################################] 100%
 community                                              5.8 MiB   345 KiB/s 00:17 [##############################################] 100%
 archlinuxfr is up to date
:: Starting full system upgrade...
 there is nothing to do

The complete version running <pacman -Syu --noconfirm --debug>:

http://ix.io/3Gvz

Thanks for pastebin.. I've never used before!

Offline

#13 2021-11-29 21:15:28

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

System is up to date so somehow all conflicting files were resolved.
What is the output of the following?  You can cancel the second install command if it does not fail with conflicting files:

# pacman -Qkk 2>&1 | grep -Fv '0 altered files'
# pacman -Qnq | pacman -S -

Offline

#14 2021-12-01 01:03:18

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

loqs wrote:

System is up to date so somehow all conflicting files were resolved.
What is the output of the following?  You can cancel the second install command if it does not fail with conflicting files:

# pacman -Qkk 2>&1 | grep -Fv '0 altered files'
# pacman -Qnq | pacman -S -

For <pacman -Qkk 2>&1 | grep -Fv '0 altered files'>:

pacman -Qkk 2>&1 | grep -Fv '0 altered files'
warning: filesystem: /etc/fstab (Permissions mismatch)
warning: filesystem: /home (UID mismatch)
warning: glibc: /var/db (Permissions mismatch)
backup file: filesystem: /etc/crypttab (Modification time mismatch)
backup file: filesystem: /etc/crypttab (Size mismatch)
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/hosts (Modification time mismatch)
backup file: filesystem: /etc/hosts (Size mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/profile (Modification time mismatch)
backup file: filesystem: /etc/profile (Size mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
filesystem: 118 total files, 2 altered files
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
glibc: 1578 total files, 1 altered file
backup file: iana-etc: /etc/services (Modification time mismatch)
backup file: iana-etc: /etc/services (Size mismatch)

And for <pacman -Qnq | pacman -S ->:

pacman -Qnq | pacman -S -
warning: archlinux-keyring-20211028-1 is up to date -- reinstalling
warning: filesystem-2021.11.11-1 is up to date -- reinstalling
warning: gcc-libs-11.1.0-1 is up to date -- reinstalling
warning: glibc-2.33-5 is up to date -- reinstalling
warning: iana-etc-20211025-1 is up to date -- reinstalling
warning: linux-api-headers-5.12.3-1 is up to date -- reinstalling
warning: tzdata-2021e-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (7) archlinux-keyring-20211028-1  filesystem-2021.11.11-1  gcc-libs-11.1.0-1  glibc-2.33-5  iana-etc-20211025-1  linux-api-headers-5.12.3-1  tzdata-2021e-1

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

But.. last command just perform an upgrade about these packages that I've solved manually before.

It's like my pacman only recognize these packages..

Offline

#15 2021-12-01 01:44:48

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Is there anything left under /var/lib/pacman/local of the missing packages?

find /var/lib/pacman/local/

Offline

#16 2021-12-06 01:51:07

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

loqs wrote:

Is there anything left under /var/lib/pacman/local of the missing packages?

find /var/lib/pacman/local/

I still resist trying to fix this situation....

This is result for <find /var/lib/pacman/local/>:

find /var/lib/pacman/local/
/var/lib/pacman/local/
/var/lib/pacman/local/gcc-libs-11.1.0-1
/var/lib/pacman/local/gcc-libs-11.1.0-1/mtree
/var/lib/pacman/local/gcc-libs-11.1.0-1/files
/var/lib/pacman/local/gcc-libs-11.1.0-1/desc
/var/lib/pacman/local/linux-api-headers-5.12.3-1
/var/lib/pacman/local/linux-api-headers-5.12.3-1/mtree
/var/lib/pacman/local/linux-api-headers-5.12.3-1/files
/var/lib/pacman/local/linux-api-headers-5.12.3-1/desc
/var/lib/pacman/local/archlinux-keyring-20211028-1
/var/lib/pacman/local/archlinux-keyring-20211028-1/mtree
/var/lib/pacman/local/archlinux-keyring-20211028-1/files
/var/lib/pacman/local/archlinux-keyring-20211028-1/desc
/var/lib/pacman/local/archlinux-keyring-20211028-1/install
/var/lib/pacman/local/ALPM_DB_VERSION
/var/lib/pacman/local/tzdata-2021e-1
/var/lib/pacman/local/tzdata-2021e-1/mtree
/var/lib/pacman/local/tzdata-2021e-1/files
/var/lib/pacman/local/tzdata-2021e-1/desc
/var/lib/pacman/local/glibc-2.33-5
/var/lib/pacman/local/glibc-2.33-5/mtree
/var/lib/pacman/local/glibc-2.33-5/files
/var/lib/pacman/local/glibc-2.33-5/desc
/var/lib/pacman/local/glibc-2.33-5/install
/var/lib/pacman/local/iana-etc-20211025-1
/var/lib/pacman/local/iana-etc-20211025-1/mtree
/var/lib/pacman/local/iana-etc-20211025-1/files
/var/lib/pacman/local/iana-etc-20211025-1/desc
/var/lib/pacman/local/filesystem-2021.11.11-1
/var/lib/pacman/local/filesystem-2021.11.11-1/mtree
/var/lib/pacman/local/filesystem-2021.11.11-1/files
/var/lib/pacman/local/filesystem-2021.11.11-1/desc

Offline

#17 2021-12-06 03:21:28

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

Offline

#18 2021-12-07 03:06:24

theodoiq
Member
From: Brazil
Registered: 2013-03-20
Posts: 31

Re: Missing <*.db.sig >. Can't use <pacman -S> properly.

I've tried it last weekend. But I can't install pacutils.. same long log of errors... :-(

Offline

Board footer

Powered by FluxBB