I have some strange issue here. Update Manager and Synaptic are not able to download packages, but apt has no problem at all.
Update Manager says exactly «Failed to download package files».
I already changed server and cleaned /var/lib/apt/lists/: every time, apt works like a charm, but GUI softwares don't.
I can continue using the command line, but I'd like to understand why this is happening.
Thank you in advance.
EDIT: Synaptic says:
W: Failed to fetch http://pkg.adfinis-sygroup.ch/ubuntu/pool/main/m/mysql-5.7/libmysqlclient20_5.7.27-0ubuntu0.18.04.1_amd64.deb
Could not open file /var/cache/apt/archives/partial/libmysqlclient20_5.7.27-0ubuntu0.18.04.1_amd64.deb - open (2: No such file or directory) [IP: 2001:618:1:129::165 80]
This is repeated for every package to download.
If I try to remove the /var/cache/apt/archives directory I get rm: cannot remove '/var/cache/apt/archives/': Device or resource busy
When I run sudo apt-get update
and sudo apt-get upgrade
I don't get any errors. Updates get installed correctly. That's what I meant by saying that «apt has no problem at all».
UPDATE: I applied some updates with apt-get
forcing IPv4, and everything went smoothly. update-manager
still doesn't work.
sudo apt-get update
andsudo apt-get upgrade
and add any error output to the question. – N0rbert Jul 24 '19 at 09:15apt
/apt-get
used - IPv4 or IPv6? Do you have any problems with IPv6 resolution in other applications? – N0rbert Jul 25 '19 at 07:46ping pkg.adfinis-sygroup.ch
it uses IPv6 (by the way, no problem pinging), but I'm not sure about apt-get. I have no problem with other applications, but again I'm not sure which version of the IP they're using. – abePdIta Jul 26 '19 at 10:46/etc/apt/apt.conf.d/99force-ipv4
file. – N0rbert Jul 26 '19 at 11:02