Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Software & Updates "Refreshing software cache" forever

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Epii
Posts: 5
Joined: 2017-09-14 18:49

Software & Updates "Refreshing software cache" forever

#1 Post by Epii »

There was never a point where this problem did not exist. When I close out of Software & Updates, a windows titled "Cache Refresh" appears with the text "Refreshing software cache" and a blue progress bar. The progress bar moves, but once it hits the end, it is stuck. Nothing happens. I have left it alone for 6 hours and it doesn't finish. Anyone know what the problem is or how i can fix it?

Distro: Debian GNU/Linux 9 (stretch)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Software & Updates "Refreshing software cache" forever

#2 Post by stevepusser »

Do you see anything odd happen when you run

Code: Select all

apt update
as sysadmin?
MX Linux packager and developer

Epii
Posts: 5
Joined: 2017-09-14 18:49

Re: Software & Updates "Refreshing software cache" forever

#3 Post by Epii »

stevepusser wrote:Do you see anything odd happen when you run

Code: Select all

apt update
as sysadmin?

Code: Select all

[sudo] password for tom: 
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
W: Target Packages (steam/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target Packages (steam/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target Packages (steam/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target Translations (steam/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target Translations (steam/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target DEP-11 (steam/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target DEP-11 (steam/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
W: Target DEP-11-icons (steam/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:68 and /etc/apt/sources.list.d/steam.list:1
Yes I do. I have restarted the system and ran apt update and it runs fine. I then try to Refresh software cache then run apt update again and get this error again. This error only appears after refreshing software cache

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Software & Updates "Refreshing software cache" forever

#4 Post by stevepusser »

I would get rid of your duplicate entry for the Steam repository, if you need it at all, and then check to see if the error persists. You get the error about not being able to get a lock on the directory because GNOME software updater is hung up and will not release the lock if you run it before the "apt update".
MX Linux packager and developer

Epii
Posts: 5
Joined: 2017-09-14 18:49

Re: Software & Updates "Refreshing software cache" forever

#5 Post by Epii »

stevepusser wrote:I would get rid of your duplicate entry for the Steam repository, if you need it at all, and then check to see if the error persists. You get the error about not being able to get a lock on the directory because GNOME software updater is hung up and will not release the lock if you run it before the "apt update".
apt update seems to be locking up here:

Code: Select all

Hit:68 http://mirrors.glesys.net/debian stretch Release                        
Get:69 http://mirrors.glesys.net/debian stretch-updates/main i386 Packages [5,152 B]
Get:70 http://mirrors.glesys.net/debian stretch-updates/main amd64 Packages [5,168 B]
Get:71 http://mirrors.glesys.net/debian stretch-updates/main Translation-en [3,040 B]
Ign:73 http://deb.debian.org/debian-security stable/updates/main Translation-en
Err:73 http://deb.debian.org/debian-security stable/updates/main Translation-en
  503  Connection timed out [IP: 151.101.200.204 80]
0% [Working]   

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Software & Updates "Refreshing software cache" forever

#6 Post by debiman »

the error message is clear.
have you tried opening the url in a browser, or pinging it?
do you have other internet connectivity issues?

on a side note, i didn't know translations for english were necessary...

Epii
Posts: 5
Joined: 2017-09-14 18:49

Re: Software & Updates "Refreshing software cache" forever

#7 Post by Epii »

debiman wrote:the error message is clear.
have you tried opening the url in a browser, or pinging it?
do you have other internet connectivity issues?

on a side note, i didn't know translations for english were necessary...
I've got rid of that and now it is stuck here:

Code: Select all

Ign:85 http://mirrors.glesys.net/debian stretch/updates/contrib i386 Packages
Ign:86 http://mirrors.glesys.net/debian stretch/updates/contrib amd64 Packages
Ign:87 http://mirrors.glesys.net/debian stretch/updates/contrib all Packages
0% [Working]            
but I cannot remove that from sources.list or sources.list.d (it doesn't exist there it seems)

Epii
Posts: 5
Joined: 2017-09-14 18:49

Re: Software & Updates "Refreshing software cache" forever

#8 Post by Epii »

Epii wrote:
debiman wrote:the error message is clear.
have you tried opening the url in a browser, or pinging it?
do you have other internet connectivity issues?

on a side note, i didn't know translations for english were necessary...
I've got rid of that and now it is stuck here:

Code: Select all

Ign:85 http://mirrors.glesys.net/debian stretch/updates/contrib i386 Packages
Ign:86 http://mirrors.glesys.net/debian stretch/updates/contrib amd64 Packages
Ign:87 http://mirrors.glesys.net/debian stretch/updates/contrib all Packages
0% [Working]            
but I cannot remove that from sources.list or sources.list.d (it doesn't exist there it seems)
FYI it is a mirror that I have set in Software & Updates that links to glesys,

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Software & Updates "Refreshing software cache" forever

#9 Post by stevepusser »

Try using the standard debian addresses as shown in the wiki to see if that solves the issue.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Software & Updates "Refreshing software cache" forever

#10 Post by debiman »

Epii wrote:I've got rid of that
i'm not sure if that was prudent.
i hope you only commented it out.

PS:
you're not the only one

Post Reply