You are not logged in.
Yesterday I tried upgrading, which failed.
I don't remember the exact error message, but I think it was pretty much the same I got this morning. This is when I run the command:
sudo pacman -Syu
[sudo] password for enrico:
:: Synchronising package databases...
core 121.1 KiB 19.1 KiB/s 00:06 [----------------------------------------------------------------------------------------------] 100%
extra 7.9 MiB 921 KiB/s 00:09 [----------------------------------------------------------------------------------------------] 100%
multilib 138.9 KiB 18.7 KiB/s 00:07 [----------------------------------------------------------------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (39) Old Version New Version Net Change Download Size
extra/android-udev 20240221-1 20240625-1 0.00 MiB
extra/boost 1.83.0-8 1.83.0-9 0.00 MiB
extra/boost-libs 1.83.0-8 1.83.0-9 0.00 MiB
core/btrfs-progs 6.9-1 6.9.2-1 -0.01 MiB
extra/chromium 126.0.6478.114-1 126.0.6478.126-1 0.00 MiB
extra/conky 1.21.2-1 1.21.3-1 0.00 MiB
extra/dav1d 1.4.2-1 1.4.3-1 0.00 MiB
extra/electron29 1:29.4.2-1 1:29.4.3-1 0.04 MiB
core/guile 3.0.9-1 3.0.10-1 1.75 MiB
extra/gvfs 1.54.1-1 1.54.2-1 -0.03 MiB
extra/harfbuzz 8.5.0-1 9.0.0-1 0.00 MiB
extra/harfbuzz-icu 8.5.0-1 9.0.0-1 0.00 MiB
multilib/lib32-libgcrypt 1.10.3-1 1.11.0-1 0.04 MiB
multilib/lib32-libldap 2.6.7-1 2.6.8-1 -0.06 MiB
multilib/lib32-nvidia-utils 550.90.07-1 555.58-1 -6.73 MiB
extra/libadwaita 1:1.5.1-1 1:1.5.2-1 0.01 MiB
extra/libavif 1.0.4-3 1.0.4-4 0.02 MiB 0.16 MiB
extra/libdrm 2.4.121-1 2.4.122-1 0.00 MiB
core/libgcrypt 1.11.0-1 1.11.0-2 0.01 MiB
extra/libinput 1.26.0-1 1.26.1-1 0.02 MiB
extra/libjxl 0.10.2-1 0.10.3-1 0.12 MiB
core/libksba 1.6.6-1 1.6.7-1 0.01 MiB
core/libldap 2.6.7-2 2.6.8-1 0.00 MiB
extra/libxnvctrl 550.78-1 555.58-1 0.00 MiB
core/linux 6.9.6.arch1-1 6.9.7.arch1-1 -0.02 MiB
extra/lua 5.4.6-3 5.4.7-1 -0.02 MiB
extra/miniupnpc 2.2.7-2 2.2.8-1 0.00 MiB
extra/netpbm 10.86.41-1 10.86.42-1 0.03 MiB
extra/nvidia 550.90.07-4 555.58-2 0.04 MiB
extra/nvidia-utils 550.90.07-3 555.58-2 22.61 MiB 220.08 MiB
extra/perl-http-message 6.45-1 6.46-1 0.00 MiB
extra/perl-libwww 6.72-1 6.77-1 0.00 MiB
extra/perl-lwp-protocol-https 6.11-1 6.14-1 0.00 MiB
extra/perl-sub-install 0.928-9 0.929-1 0.00 MiB
extra/perl-uri 5.21-1 5.28-1 0.01 MiB
extra/perl-xml-libxml 2.0209-1 2.0210-1 -0.01 MiB
extra/tk 8.6.14-3 8.6.14-4 0.04 MiB
extra/transmission-gtk 4.0.6-1 4.0.6-2 0.00 MiB
extra/zziplib 0.13.76-1 0.13.77-1 0.00 MiB
Total Download Size: 220.24 MiB
Total Installed Size: 1848.87 MiB
Net Upgrade Size: 17.90 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libavif-1.0.4-4-x86_64 159.2 KiB 20.9 KiB/s 00:08 [----------------------------------------------------------------------------------------------] 100%
nvidia-utils-555.58-2-x86_64 271.9 KiB 4.77 KiB/s --:-- [Co o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o ] nvid nvidia-utils-555.58-2-x86_64 7.5 MiB 49.9 KiB/s 02:34 [----------------------------------------------------------------------------------------------] 100%
Total (2/3) 220.2 MiB 88.3 KiB/s 42:35 [----------------------------------------------------------------------------------------------] 100%
error: failed retrieving file 'nvidia-utils-555.58-2-x86_64.pkg.tar.zst' from mirror.osbeck.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'nvidia-utils-555.58-2-x86_64.pkg.tar.zst' from mirror.23media.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'nvidia-utils-555.58-2-x86_64.pkg.tar.zst' from ger.mirror.pkgbuild.com : Could not resolve host: ger.mirror.pkgbuild.com
warning: fatal error from ger.mirror.pkgbuild.com, skipping for the remainder of this transaction
error: failed retrieving file 'nvidia-utils-555.58-2-x86_64.pkg.tar.zst' from archlinux.mailtunnel.eu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'nvidia-utils-555.58-2-x86_64.pkg.tar.zst' from arch.jensgutermuth.de : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
(39/39) checking keys in keyring [----------------------------------------------------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package) [-------------------------------------------------------------c o o o o o o o o o o ] 65%
Errors occurred, no packages were upgraded.
I've re-run the command after a few minutes, and I get a different error:
:: Proceed with installation? [Y/n]
:: Retrieving packages...
(39/39) checking keys in keyring [----------------------------------------------------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package) [-------------------------------------------------------------c o o o o o o o o o o ] 65%
Errors occurred, no packages were upgraded.
I've looked at this, but I don't have memory of having done anything like that in the last few days.
Last edited by Enrico1989 (2024-07-02 17:17:01)
Offline
as you have multiple mirrors having issues:
- are you on mobile internet?
- when did you last updated your mirrorlist? if possible install reflector and have it create an up-to-date mirrorlist
Online
Why are you looking at a thread about conflicting files when you have network problems?
Online
Why are you looking at a thread about conflicting files when you have network problems?
Oops, I thought the error message was the same.
as you have multiple mirrors having issues:
- are you on mobile internet?
No it's a WiFi, but I have noticed the connection to be somewhat slower since yesterday (or maybe the day before, I can't tell).
- when did you last updated your mirrorlist?
Well, I normally do sudo pacman -Syu at least once a day.
Offline
He asked when you updated your mirrorlist. Your first mirror is good, so I doubt the mirrors are really the issue - however you have a couple mirrors that I cant even find listed on the mirror status page at all. So updating your mirrorlist would still seem wise once any networking issues are sorted out.
Last edited by Trilby (2024-06-30 15:53:59)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
cryptearth wrote:- when did you last updated your mirrorlist?
Well, I normally do sudo pacman -Syu at least once a day.
Not the same thing. The mirrorlist identifies the mirros Pacman will use. Generally you would pick a few that are near you, are fast, and are updated regularly. The thought is that you are using a mirror that needs some love.
Look into reflector : https://wiki.archlinux.org/title/Reflector
Edit: Snaked.
Last edited by ewaller (2024-06-30 15:56:01)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Enrico1989 wrote:cryptearth wrote:- when did you last updated your mirrorlist?
Well, I normally do sudo pacman -Syu at least once a day.
Not the same thing. The mirrorlist identifies the mirros Pacman will use. Generally you would pick a few that are near you, are fast, and are updated regularly. The thought is that you are using a mirror that needs some love.
Look into reflector : https://wiki.archlinux.org/title/Reflector
Edit: Snaked.
My /etc/pacman.d/mirrorlist starts with
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector --protocol https --age 1 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2020-07-14 17:00:51 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2020-07-14 17:00:44 UTC
# Last Check: 2020-07-14 16:11:40 UTC
but I don't remember I've installed/used this reflector executable. Is it maybe that this file comes with Arch. Or with pacman? Or it just means I've forgotten to have used it in the past?
Given the comment, though, I'd be tempted to just re-run that command and see how the list is updated.
once any networking issues are sorted out.
I wouldn't know where to start from for these. Especially considering that at the moment I don't see anything wrong with internet. I can watch Netflix just fine, for instance.
Offline
If it helps, I've just manually upgraded every package I would see listed by sudo pacman -Syu by individually executing sudo pacman -S that-package. The result is that the package I can't upgrade is extra/gvfs, so I've also changed the title of the present thread.
sudo pacman -S gvfs
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
extra/gvfs 1.54.1-1 1.54.2-1 -0.03 MiB
Total Installed Size: 5.10 MiB
Net Upgrade Size: -0.03 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
(1/1) checking keys in keyring [----------------------------------------------------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package) [Co o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o ] 0%
Errors occurred, no packages were upgraded.
Last edited by Enrico1989 (2024-06-30 16:34:51)
Offline
I'd be tempted to just re-run that command and see how the list is updated.
Yes.
Also, sanity check:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
by individually executing sudo pacman -S that-package
That's not a very clever idea - if you run that in the wrong order, you can break the system to the point where pacman fails to run further updates.
Offline
Also, sanity check:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
dbus-org.freedesktop.resolve1.service | system
dbus-org.freedesktop.timesync1.service | system
getty@tty1.service | getty.target.wants
iwd.service | multi-user.target.wants
numLockOnTty.service | multi-user.target.wants
p11-kit-server.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
sshd.service | multi-user.target.wants
systemd-resolved.service | multi-user.target.wants
systemd-timesyncd.service | sysinit.target.wants
xdg-user-dirs-update.service | default.target.wants
I'd be tempted to just re-run that command and see how the list is updated.
Yes.
$ reflector --protocol https --age 1 --sort rate --save /etc/pacman.d/mirrorlist
[2024-07-01 06:50:18] WARNING: failed to rate http(s) download (https://archlinux.c3sl.ufpr.br/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:50:40] WARNING: failed to rate http(s) download (https://mirror.sfo12.us.leaseweb.net/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:51:52] WARNING: failed to rate http(s) download (https://mirrors.sonic.net/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:52:08] WARNING: failed to rate http(s) download (https://archlinux.mivzakim.net/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:52:42] WARNING: failed to rate http(s) download (https://mirror.arizona.edu/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:05] WARNING: failed to rate http(s) download (https://mirror.gi.co.id/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:12] WARNING: failed to rate http(s) download (https://mirror.papua.go.id/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:21] WARNING: failed to rate http(s) download (https://mirror.guillaumea.fr/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:26] WARNING: failed to rate http(s) download (https://arch.jsc.mx/extra/os/x86_64/extra.db): HTTP Error 403: Forbidden
[2024-07-01 06:53:30] WARNING: failed to rate http(s) download (https://mirror.cyberbits.asia/archlinux/extra/os/x86_64/extra.db): <urlopen error [Errno 101] Network is unreachable>
[2024-07-01 06:53:44] WARNING: failed to rate http(s) download (https://mirror.jingk.ai/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:53:54] WARNING: failed to rate http(s) download (https://archlinux.ourhome.kiwi/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:02] WARNING: failed to rate http(s) download (https://mirror.archlinux.tw/ArchLinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:07] WARNING: failed to rate http(s) download (https://mirror.maa.albony.in/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:08] WARNING: failed to rate http(s) download (https://mirror.tmmworkshop.com/archlinux/extra/os/x86_64/extra.db): HTTP Error 403: Forbidden
[2024-07-01 06:54:17] WARNING: failed to rate http(s) download (https://mirror.kamtv.ru/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:29] WARNING: failed to rate http(s) download (https://mirrors.nxtgen.com/archlinux-mirror/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:54:35] WARNING: failed to rate http(s) download (https://arch.mirror.k0.ae/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:03] WARNING: failed to rate http(s) download (https://mirror.adectra.com/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:09] WARNING: failed to rate http(s) download (https://repo.jing.rocks/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2024-07-01 06:55:15] WARNING: failed to rate http(s) download (https://mirrors.nguyenhoang.cloud/archlinux/extra/os/x86_64/extra.db): <urlopen error _ssl.c:983: The handshake operation timed out>
[2024-07-01 06:55:35] WARNING: failed to rate http(s) download (https://lidsol.fi-b.unam.mx/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
error: Permission denied
Last edited by Enrico1989 (2024-07-01 05:58:39)
Offline
Some info about the connection:
Speedtesting results in this result, copied below:
DOWNLOAD Mbps
294.86
UPLOAD Mbps
52.36
Ping ms 18 61 46
Then I've tried using with the cli of it, installed via
$ sudo pacman -S speedtest-cli
and the result was a bit different at first,
$ speedtest
Retrieving speedtest.net configuration...
Testing from Virgin Media (81.109.143.226)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Zen Internet (London) [80.30 km]: 23.729 ms
Testing download speed................................................................................
Download: 84.90 Mbit/s
Testing upload speed......................................................................................................
Upload: 50.92 Mbit/s
and then I could not even run it anymore!
$ speedtest
Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden
Offline
You don't have multiple network daemons but obvious issues w/ you network:
wget -nv --show-progress -O /dev/null "http://speedtest.london.linode.com/1GB-london.bin"
And please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Can you use a wired connection?
Offline
You don't have multiple network daemons but obvious issues w/ you network:
wget -nv --show-progress -O /dev/null "http://speedtest.london.linode.com/1GB-london.bin"
$ wget -nv --show-progress -O /dev/null "http://speedtest.london.linode.com/1GB-london.bin"
/dev/null 100%[====================================================>] 1000M 39.1MB/s in 26s
2024-07-01 07:47:08 URL:http://speedtest.london.linode.com/1GB-london.bin [1048576000/1048576000] -> "/dev/null" [1]
And please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Can you use a wired connection?
Not now.
I'll let you know if I manage to find a way.
Offline
There're no obvious issues in the journal, but maybe this is related to the openconnect tun device and resolved using the wrong DNS information?
Offline
Can you clarify what that means?
Offline
You've some VPN with a separate DNS, if resolved starts resolving IPs using the wrong DNS you'll be in trouble.
The speedtest 403 looks suspicious.
=> avoid the openconnect and see whether the issue remains - so far there's no indication of a HW/driver issue, the linode speedtest worked nicely - either your ISP is going through some phases or something causes non-deterministic behavior and I don't trust resolved at all.
Offline
Wait, I hadn't really realized you mentioned "openconnect".
You see that in the log because I use it to connect to the VPN of my office to work from home, but the problem with sudo pacman -S extra/gvfs is independent of that.
I'll now reboot and answer again to your message #12.
Offline
And please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
This is right after the reboot: I tried pacman update and then uploaded the journal:
$ sudo pacman -Syu
[sudo] password for enrico:
:: Synchronising package databases...
core 121.6 KiB 608 KiB/s 00:00 [----------------------------------------------------------------------------------------------] 100%
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Package (13) Old Version New Version Net Change
extra/cifs-utils 7.0-3 7.0-4 0.00 MiB
extra/clucene 2.3.3.4-14 2.3.3.4-15 -0.08 MiB
extra/docker 1:26.1.4-1 1:27.0.2-1 -0.07 MiB
extra/freetype2 2.13.2-1 2.13.2-2 0.01 MiB
extra/gvfs 1.54.1-1 1.54.2-1 -0.03 MiB
extra/libconfig 1.7.3-2 1.7.3-3 0.01 MiB
extra/libraw1394 2.1.2-3 2.1.2-4 0.01 MiB
extra/noto-fonts 1:24.6.1-1 1:24.7.1-1 1.58 MiB
core/openssh 9.7p1-2 9.8p1-1 0.20 MiB
extra/qutebrowser 3.2.0-1 3.2.1-1 0.00 MiB
extra/rofi 1.7.5-2 1.7.5-3 -0.02 MiB
extra/sysfsutils 2.1.1-1 2.1.1-2 0.00 MiB
extra/twolame 0.4.0-3 0.4.0-4 0.00 MiB
Total Installed Size: 244.63 MiB
Net Upgrade Size: 1.59 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
(13/13) checking keys in keyring [----------------------------------------------------------------------------------------------] 100%
error: failed to commit transaction (could not find or read package) [----------------------------------------------c o o o o o o o o o o o o o o o ] 49%
Errors occurred, no packages were upgraded.
$ sudo journalctl -b | curl -F 'file=@-' 0x0.st
http://0x0.st/Xaah.txt
Offline
Given the packages listed above, would you still advise against upgrading them one by one?
I guess for sure upgrading exra/rofi and extra/quotebrowser, to make an example, should be harmless, as they are not depended on by anything else.
It's jut that it feels weird that earlier today I could upgrade all packages except extra/gvfs, and I suspect it is still the same one that is making pacman error now.
Don't you think that's important? If not, why?
Offline
I would clear the cache and try again.
Online
Oh, incidentally, I tried to use my smartphone as an hot spot (seem to be quite a bit slower, though), and the issue persists.
Offline
I would clear the cache and try again.
You mean paccache?
I sometimes do
paccache -rk1
paccache -ruk0
What do you mean instead?
Offline
Or "pacman -Scc" and see
ls -l /var/cache/pacman/pkg/gvfs*
This might help you w/ the gvfs packge in case it's corrupted, but not with the network issues that might have caused the corruption.
Are those meanwhile gone?
Offline
After this
Or "pacman -Scc"
I could successfully run pacman -Syu.
and see
ls -l /var/cache/pacman/pkg/gvfs*
ls -l /var/cache/pacman/pkg/gvfs*
-rw-r--r-- 1 root root 998802 Jun 28 21:43 /var/cache/pacman/pkg/gvfs-1.54.2-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 28 21:43 /var/cache/pacman/pkg/gvfs-1.54.2-1-x86_64.pkg.tar.zst.sig
This might help you w/ the gvfs packge in case it's corrupted, but not with the network issues that might have caused the corruption.
Oh, so there was a corruption. I had not got that, tbh. I suppose this means that the network issue is a bit sporadic, in the sense that now that I've done the update... it means the network issue was at least not severe enough to re-cause the same corruption again.
Are those meanwhile gone?
What?
Offline
What?
The network issues you previously had.
Offline