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

 

 

 

Discover says: "Cannot refresh cache whilst offline"

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
w4kh
Posts: 98
Joined: 2006-09-09 19:10
Location: Alabama, USA

Discover says: "Cannot refresh cache whilst offline"

#1 Post by w4kh »

I get a notification that a package has an update, but when I attempt to upgrade I am met with "Cannot refresh cache whilst offline" in Discover...
Clearly, there is a semantic difference between "offline" in the context of Discover and updating packages and the context of whether or not one is connected to the internet (which I consider to be "online", the converse of "offline")
So, how does one achieve "NOT offline" status, whatever that actually means?
4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1
CPU: AMD FX(tm)-8350 Eight-Core Processor
RAM: 32GB (8x8GB) DDR3 DRAM
Video: GeForce 8400 GS to VIZIO E320VA Monitor

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Discover says: "Cannot refresh cache whilst offline"

#2 Post by kedaha »

Hi
Something to do with your Network Manager configuration maybe?
What happens if you stop it? Does the "refresh cache notification whilst offline" notification persist?
For example, on my Bullseye server the commands would be:

Code: Select all

# systemctl stop NetworkManager.service
Then update and upgrade?
NM can then be restarted with:

Code: Select all

# systemctl start NetworkManager.service
Check status with:

Code: Select all

# systemctl status NetworkManager.service
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
w4kh
Posts: 98
Joined: 2006-09-09 19:10
Location: Alabama, USA

Re: Discover says: "Cannot refresh cache whilst offline"

#3 Post by w4kh »

Have not yet run into the "offline" headache again, but I modified the script I use to update and upgrade so that I have the OPTION of stopping and re-starting NetworkManager.service if required... THANKS for the tip!
4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1
CPU: AMD FX(tm)-8350 Eight-Core Processor
RAM: 32GB (8x8GB) DDR3 DRAM
Video: GeForce 8400 GS to VIZIO E320VA Monitor

Post Reply