1

During a routine sudo pacman -Syu --needed involving about 50 packages, the upgrade exited early due to a "Less than 1 b/s transferred the last 10 seconds" error. Follwing that, I can no longer update my system.

$ sudo pacman -Syu --debug debug: pacman v7.0.0 - libalpm v15.0.0 debug: config: new section 'options' debug: config: HoldPkg: pacman debug: config: HoldPkg: glibc debug: config: Architecture: auto debug: config: arch: x86_64 debug: config: verbosepkglists debug: config: sandboxuser: alpm debug: config: SigLevel: Required debug: config: SigLevel: DatabaseOptional debug: config: LocalFileSigLevel: Optional debug: config: new section 'core-testing' debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist debug: config: new section 'core' debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist debug: config: new section 'extra-testing' debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist debug: config: new section 'extra' debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist debug: config: new section 'multilib-testing' debug: config file /etc/pacman.conf, line 90: including /etc/pacman.d/mirrorlist debug: config: new section 'multilib' debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist 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-testing' debug: database path for tree core-testing set to /var/lib/pacman/sync/core-testing.db debug: "/var/lib/pacman/sync/core-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/core-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for core-testing repository debug: adding new server URL to database 'core-testing': ... 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: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for core repository debug: adding new server URL to database 'core': ... debug: registering sync database 'extra-testing' debug: database path for tree extra-testing set to /var/lib/pacman/sync/extra-testing.db debug: "/var/lib/pacman/sync/extra-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/extra-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for extra-testing repository debug: adding new server URL to database 'extra-testing': ... 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: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for extra repository debug: adding new server URL to database 'extra': ... debug: registering sync database 'multilib-testing' debug: database path for tree multilib-testing set to /var/lib/pacman/sync/multilib-testing.db debug: "/var/lib/pacman/sync/multilib-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/multilib-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for multilib-testing repository debug: adding new server URL to database 'multilib-testing': ... debug: registering sync database 'multilib' debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db 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: 599) : missing PGP signature debug: missing optional signature debug: setting usage of 15 for multilib repository debug: adding new server URL to database 'multilib': ... debug: option 'sandboxuser' = alpm :: Synchronizing package databases... core-testing downloading... core downloading... extra-testing downloading... extra downloading... multilib-testing downloading... multilib downloading... debug: filesystem access has been restricted to /var/lib/pacman/sync/download-T96Kmv/, landlock ABI is 6 debug: core-testing.db: url is ... debug: core-testing.db: maxsize 134217728 debug: core-testing.db: using time condition 1747924883 debug: core-testing.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/core-testing.db.part (wb) debug: core.db: url is ... debug: core.db: maxsize 134217728 debug: core.db: using time condition 1747897677 debug: core.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/core.db.part (wb) debug: extra-testing.db: url is ... debug: extra-testing.db: maxsize 134217728 debug: extra-testing.db: using time condition 1747924860 debug: extra-testing.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/extra-testing.db.part (wb) debug: extra.db: url is ... debug: extra.db: maxsize 134217728 debug: extra.db: using time condition 1747924853 debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/extra.db.part (wb) debug: multilib-testing.db: url is ... debug: multilib-testing.db: maxsize 134217728 debug: multilib-testing.db: using time condition 1747924908 debug: multilib-testing.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/multilib-testing.db.part (wb) debug: multilib.db: url is ... debug: multilib.db: maxsize 134217728 debug: multilib.db: using time condition 1747924908 debug: multilib.db: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/multilib.db.part (wb) debug: multilib-testing.db: curl returned result 0 from transfer debug: multilib-testing.db: response code 304 debug: multilib-testing.db.sig: url is ... debug: multilib-testing.db.sig: maxsize 16384 debug: multilib-testing.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/multilib-testing.db.sig.part (wb) debug: multilib-testing.db: file met time condition debug: core-testing.db: curl returned result 0 from transfer debug: core-testing.db: response code 304 debug: core-testing.db.sig: url is ... debug: core-testing.db.sig: maxsize 16384 debug: core-testing.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/core-testing.db.sig.part (wb) debug: core-testing.db: file met time condition debug: extra-testing.db: curl returned result 0 from transfer debug: extra-testing.db: response code 304 debug: extra-testing.db.sig: url is ... debug: extra-testing.db.sig: maxsize 16384 debug: extra-testing.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/extra-testing.db.sig.part (wb) debug: extra-testing.db: file met time condition debug: multilib.db: curl returned result 0 from transfer debug: multilib.db: response code 304 debug: multilib.db.sig: url is ... debug: multilib.db.sig: maxsize 16384 debug: multilib.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/multilib.db.sig.part (wb) debug: multilib.db: file met time condition debug: extra.db: curl returned result 0 from transfer debug: extra.db: response code 304 debug: extra.db.sig: url is ... debug: extra.db.sig: maxsize 16384 debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/extra.db.sig.part (wb) debug: extra.db: file met time condition debug: core.db: curl returned result 0 from transfer debug: core.db: response code 200 debug: core.db.sig: url is ... debug: core.db.sig: maxsize 16384 debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/download-T96Kmv/core.db.sig.part (wb) debug: multilib-testing.db.sig: curl returned result 0 from transfer debug: multilib-testing.db.sig: response code 404 debug: multilib-testing.db.sig: no more servers to retry debug: core-testing.db.sig: curl returned result 0 from transfer debug: core-testing.db.sig: response code 404 debug: core-testing.db.sig: no more servers to retry debug: extra-testing.db.sig: curl returned result 0 from transfer debug: extra-testing.db.sig: response code 404 debug: extra-testing.db.sig: no more servers to retry debug: multilib.db.sig: curl returned result 0 from transfer debug: multilib.db.sig: response code 404 debug: multilib.db.sig: no more servers to retry debug: extra.db.sig: curl returned result 0 from transfer debug: extra.db.sig: response code 404 debug: extra.db.sig: no more servers to retry debug: core.db.sig: curl returned result 0 from transfer debug: core.db.sig: response code 404 debug: core.db.sig: no more servers to retry debug: curl_download_internal return code is 0 debug: "/var/lib/pacman/sync/core-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/core-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : missing PGP signature debug: missing optional signature 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: 599) : missing PGP signature debug: missing optional signature debug: "/var/lib/pacman/sync/extra-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/extra-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : 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: 599) : missing PGP signature debug: missing optional signature debug: "/var/lib/pacman/sync/multilib-testing.db.sig" is not readable: No such file or directory debug: sig path /var/lib/pacman/sync/multilib-testing.db.sig could not be opened debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 599) : 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: 599) : missing PGP signature debug: missing optional signature :: Starting full system upgrade... debug: checking for package upgrades debug: loading package cache for repository 'local' debug: added 4080 packages to package cache for db 'local' debug: searching for replacements for 7zip in core-testing debug: loading package cache for repository 'core-testing' debug: opening archive /var/lib/pacman/sync/core-testing.db debug: added 8 packages to package cache for db 'core-testing' debug: searching for replacements for 7zip in core ... debug: searching for replacements for zziplib in extra resolving dependencies... debug: resolving target's dependencies debug: started resolving dependencies debug: checkdeps: package alsa-card-profiles-1:1.4.3-1 debug: finished resolving dependencies debug: started resolving dependencies ... debug: found cached pkg: /var/cache/pacman/pkg/wxwidgets-gtk3-3.2.8-5-x86_64.pkg.tar.zst debug: setting download size 0 for pkg wxwidgets-gtk3 debug: sorting by dependencies debug: started sorting dependencies debug: sorting dependencies finished Package (52) Old Version New Version Net Change extra-testing/alsa-card-profiles 1:1.4.2-1 1:1.4.3-1 0.00 MiB ... extra/wxwidgets-gtk3 3.2.8-4 3.2.8-5 0.00 MiB Total Installed Size: 6806.07 MiB Net Upgrade Size: 22.29 MiB :: Proceed with installation? [Y/n] y debug: using cachedir: /var/cache/pacman/pkg/ ... debug: found cached pkg: /var/cache/pacman/pkg/wxwidgets-gtk3-3.2.8-5-x86_64.pkg.tar.zst.sig debug: checking available disk space for download debug: discovered mountpoint: /tmp debug: discovered mountpoint: /sys/kernel/tracing debug: discovered mountpoint: /sys/kernel/security debug: discovered mountpoint: /sys/kernel/debug debug: discovered mountpoint: /sys/kernel/config debug: discovered mountpoint: /sys/fs/pstore debug: discovered mountpoint: /sys/fs/fuse/connections debug: discovered mountpoint: /sys/fs/cgroup debug: discovered mountpoint: /sys/fs/bpf debug: discovered mountpoint: /sys/firmware/efi/efivars debug: discovered mountpoint: /sys debug: discovered mountpoint: /run/user/1000/gvfs debug: discovered mountpoint: /run/user/1000/doc debug: discovered mountpoint: /run/user/1000 debug: discovered mountpoint: /run/credentials/systemd-journald.service debug: discovered mountpoint: /run debug: discovered mountpoint: /proc/sys/fs/binfmt_misc debug: discovered mountpoint: /proc debug: discovered mountpoint: /efi debug: discovered mountpoint: /dev/shm debug: discovered mountpoint: /dev/pts debug: discovered mountpoint: /dev/mqueue debug: discovered mountpoint: /dev/hugepages debug: discovered mountpoint: /dev debug: discovered mountpoint: / debug: loading fsinfo for / debug: partition /, needed 1, cushion 5121, free ... :: Retrieving packages... debug: filesystem access has been restricted to /var/cache/pacman/pkg/download-JFrr96/, landlock ABI is 6 debug: pacman-mirrorlist-20250522-1-any.pkg.tar.zst: url is ... debug: pacman-mirrorlist-20250522-1-any.pkg.tar.zst: maxsize 8292 debug: pacman-mirrorlist-20250522-1-any.pkg.tar.zst: tempfile found, attempting continuation from 8292 bytes debug: curl_download_internal return code is 1 checking keyring... debug: found signature key: B8AC08600F108CDF debug: GPGME version: 1.24.3 debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/ debug: looking up key B8AC08600F108CDF locally debug: key lookup success, key exists debug: found signature key: 7A4E76095D8A52E4 ... checking package integrity... debug: found cached pkg: /var/cache/pacman/pkg/alsa-card-profiles-1:1.4.3-1-x86_64.pkg.tar.zst debug: sig data: iHUEABYKAB0WIQSDvIiJNRtd67toQW64rAhgDxCM3wUCaC8FsAAKCRC4rAhgDxCM33urAPsE9Ltb4WNKoutXEfcyjzQ47EVtE/zcHvVSvaiB2qXPlAEA0/OpOs08AK2vp0HPwNBFq9ETVrM1EpMg7PaDzeVY9wA= debug: checking signature for /var/cache/pacman/pkg/alsa-card-profiles-1:1.4.3-1-x86_64.pkg.tar.zst debug: 1 signatures returned debug: fingerprint: 83BC8889351B5DEBBB68416EB8AC08600F108CDF debug: summary: valid debug: summary: green debug: status: Success debug: timestamp: 1747912112 debug: exp_timestamp: 0 debug: validity: full; reason: Success debug: key: 83BC8889351B5DEBBB68416EB8AC08600F108CDF, Jan Alexander Steffens (heftig) <[email protected]>, owner_trust unknown, disabled 0 debug: signature is valid debug: signature is fully trusted ... error: pacman-mirrorlist: could not find package in cache debug: returning error 33 from check_validity (../lib/libalpm/sync.c: 1021) : 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 'multilib' 
2
  • 1
    Have you tried clearing the pacman cache and trying again? Commented May 23 at 10:30
  • @terdon I could upgrade following a complete removal of the entire pacman cache, thank you! Commented May 23 at 14:02

1 Answer 1

2

Since your download was stopped, it seems you ended up with corrupted/incomplete packages in your cache. Clearing the cache and trying again should sort this out (as root):

To remove all the cached packages that are not currently installed, and the unused sync databases, execute:

# pacman -Sc 

To remove all files from the cache, use the clean switch twice, this is the most aggressive approach and will leave nothing in the cache directory:

# pacman -Scc 

After this, try sudo pacman -Suy again and it should all work.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.