You are not logged in.

#1 2025-12-16 14:38:09

klein
Member
Registered: 2022-10-18
Posts: 9

[solved] update pacman -Syyu

good day all
i think something has happened to my /var/cache/pacman/pkg/ dir.

-optiplex7010 Desktop]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                            118.3 KiB   297 KiB/s 00:00 [################################] 100%
 extra                             8.1 MiB  1954 KiB/s 00:04 [################################] 100%
 multilib                        127.0 KiB   325 KiB/s 00:00 [################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (35) babl-0.1.118-1  bash-5.3.9-1  exfatprogs-1.3.1-1  frei0r-plugins-2.5.1-1
              gegl-0.4.66-1  hyperv-6.18-1  iana-etc-20251120-1  imagemagick-7.1.2.11-1
              kdenlive-25.12.0-3  kirigami-6.21.0-2  liblouis-3.36.0-1  libnm-1.54.3-1
              libnotify-0.8.7-2  networkmanager-1.54.3-1  osinfo-db-20251212-1  perl-term-ui-0.50-7
              perl-timedate-2.33-9  perl-try-tiny-0.32-4  perl-uri-5.34-2
              perl-www-robotrules-6.02-16  perl-xml-writer-0.900-6  playerctl-2.4.1-5  pv-1.10.3-1
              python-filelock-3.20.0-2  python-fsspec-2025.12.0-1  python-pandas-2.3.1-2
              python-pytorch-2.9.1-6  python-tqdm-4.67.1-3  python-xapp-3.0.0-1  readline-8.3.003-1
              rtkit-0.14-1  util-linux-2.41.3-1  util-linux-libs-2.41.3-1  xapp-3.2.0-2
              xapp-symbolic-icons-1.0.6-1

Total Installed Size:  748.40 MiB
Net Upgrade Size:        0.03 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
(35/35) checking keys in keyring                             [################################] 100%
error: failed to commit transaction (could not find or read package)####----------------------]  34%
Errors occurred, no packages were upgraded.

i'v been working with this for a while, and i can't seem to fix it, can i just remove all the cash pkg dir?

Last edited by klein (2025-12-16 22:45:31)

Offline

#2 2025-12-16 15:25:10

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

Re: [solved] update pacman -Syyu

pacman -Syyu

"man pacman", read up what the second "y" does and understand why you should absolutely not do that unless you really mean to (which is almost never)

Then try

pacman -v --debug -Syu

for details on the error.

--
It's btw. because not only are you putting undue stress on the mirrors but also this is an awesome way to completely shred your pacman db if the mirror is bad or you run into some captive portal.

Offline

#3 2025-12-16 15:50:41

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

so seth, i ran the code and it only came up with the error below.

sudo pacman -v --debug -Syu
debug: signature is fully trusted
error: perl-try-tiny: could not find package in cache
debug: returning error 33 from check_validity (../lib/libalpm/sync.c: 1022) : could not find or read package
error: failed to commit transaction (could not find or read package)
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: freeing package cache for repository 'extra'
debug: unregistering database 'multilib'
debug: freeing package cache for repository 'multilib'

i have an appointment and have to leave i will get back to this latter.

Offline

#4 2025-12-16 15:56:03

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

Re: [solved] update pacman -Syyu

33 is EDOM…
stat the file (can't tell you the path because that tail doesn't include the configuration, the default cache location is /var/cache/pacman/pkg)

Offline

#5 2025-12-16 20:49:29

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

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: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 565) : missing PGP signature
debug: missing optional signature
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: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 565) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 565) : missing PGP signature
debug: missing optional signature

missing PGP signature ? is there something i need to fix ?

Offline

#6 2025-12-16 20:52:24

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

Re: [solved] update pacman -Syyu

Did you happen to drop the SigLevel config setting?

Offline

#7 2025-12-16 21:06:05

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

Re: [solved] update pacman -Syyu

debug: missing optional signature

Databases aren't signed.

Can you please not just post random stuff out of the output?
What about the perl-try-tiny package, did you address that? Does the update still fail?
If so, please post the entire output.

Offline

#8 2025-12-16 21:08:27

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

not that i know of this computer get updates everyday, i have only installed octopi and everything to build iso's.
nothing else has been touched.

Offline

#9 2025-12-16 21:33:49

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

perl-try-tiny = what is installed is perl-try-tiny 0.32-3 and it wants to update to extra/perl-try-tiny 0.32-4 but it wont.

optiplex7010 ~]$ sudo pacman -S extra/perl-try-tiny
resolving dependencies...
looking for conflicting packages...
Packages (1) perl-try-tiny-0.32-4
Total Installed Size:  0.03 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
(1/1) checking keys in keyring                                                                         [#############################################################] 100%
error: failed to commit transaction (could not find or read package)                                   [-------------------------------------------------------------]   0%
Errors occurred, no packages were upgraded.

Offline

#10 2025-12-16 21:38:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [solved] update pacman -Syyu

seth wrote:

33 is EDOM…
stat the file (can't tell you the path because that tail doesn't include the configuration, the default cache location is /var/cache/pacman/pkg)

We're still waiting on this.

Offline

#11 2025-12-16 22:11:36

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

this is the last i just ran
below link to text file:

sudo pacman -v --debug -Syu

Last edited by klein (2025-12-16 22:12:17)

Offline

#12 2025-12-16 22:23:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,724

Re: [solved] update pacman -Syyu

debug: found cached pkg: /var/cache/pacman/pkg/perl-try-tiny-0.32-4-any.pkg.tar.zst.part

Delete that.

Offline

#13 2025-12-16 22:44:05

klein
Member
Registered: 2022-10-18
Posts: 9

Re: [solved] update pacman -Syyu

fellow  that did it, it is fully updated.
thank you

Offline

Board footer

Powered by FluxBB