[22:29] <cube1> Clean install of 21.04. Immediate upgrade to 21.10. Can't switch to nvidia driver in "Software & Updates" because "pk-client-error-quark: Cannot download packages whilst offline (257)"
[22:29] <cube1> I have only wifi. I'm connected.
[22:30] <cube1> Had the same issue 15 or more days ago when I tried installing 21.10 for the first time
[22:35] <cube1> systemctl status network -> Unit network.service could not be found
[22:37] <Bashing-om> cube1: On a desktop ' systemctl status network-manager ' :D
[22:38] <cube1> Unit network-manager.service could not be found
[22:38] <cube1> oh maybe it's NetworkManager
[22:39] <cube1> anyway, I don't know why I can't switch to nvidia drivers because I'm "offline"
[22:42] <Bashing-om> cube1: ' systemctl status network-online.target ' - ' systemctl status | grep dhclient ' // agreed beong ofline should have nothing to do with the graphic's driver.
[22:42] <cube1> I mean I'm not offline
[22:42] <cube1> But something thinks I am
[22:44] <Bashing-om> cube1: partial updates that are pending ? what results ' sudo apt update ; sudo apt full-upgrade ' ?
[22:45] <cube1> All packages are up to date. 0 upgraded, 0 newly installed, ... etc
[22:48] <Bashing-om> cube1: config issue ? .. to rule out busted pacjage ' sudo dpkg -C ' returns to prompt ?
[22:48] <cube1> Bashing-om: yeah it just returns
[22:51] <Bashing-om> cube1: D I read as that you want to install the Nvidia proprietary driver ? we can see what the command line does for us.
[22:51] <cube1> Yeah I'd like to install the proprietary driver, preferably the 470 version
[22:52] <cube1> I'll try the command line
[22:53] <Bashing-om> cube1: Best result is to see what the kernel chooses to install - mighty smart !
[22:53] <Bashing-om> cube1: sudo ubuntu-drivers autoinstall .
[22:56] <cube1> I ran with nvidia-driver-470 before I had seen your command. It worked!
[22:56] <Bashing-om> cube1: \o/
[22:57] <cube1> Weird bug going on somewhere though which is a shame. But GUI programs on Linux often seem to just chain commands together that have textual interfaces so error handling is a mess and so on, so I guess it's no surprise that they are shit most of the time -_-
[22:58] <cube1> Better would be using libraries that both the GUI and CLI programs build on
[22:58] <cube1> top of
[22:59] <Bashing-om> cube1: My 1st trust is always CLI - I just came up that way :)