Additional Drivers fails with pk-client-error-quark: Cannot download packages whilst offline (257)

Bug #1946196 reported by Daniel van Vugt
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Fix Released
High
Julian Andres Klode
Impish
Fix Released
High
Julian Andres Klode

Bug Description

Additional Drivers fails to install nvidia-driver-470:

  Error while applying changes

  pk-client-error-quark: Cannot download packages whilst offline (257)

But the machine is ONLINE with full Internet access.

WORKAROUND:

sudo apt install nvidia-driver-470

Tags: impish nvidia
Revision history for this message
Sebastien Bacher (seb128) wrote :

The packagekit error could have been bug #1943189 , could you try if that's still an issue?

Revision history for this message
Andrew Enderson (ande-e) wrote :

While trouble shooting something else, I used the Driver Manager in kubuntu System Settings (which uses Additional Drivers) to uninstall the nvidia driver (nvidia-driver-390). After finishing the trouble shooting, I attempted to reinstall the nvidia driver via Additional Drivers, and I'm getting this error as well.

After seeing message #1, I also attempted to launched the Discover package manager, and Discover is reporting the error as well: Cannot refresh cache whilst offline.

I've recently run sudo apt update && sudo apt full-upgrade, so the system appears to be up to date.

Distributor ID: Ubuntu
Description: Ubuntu Impish Indri (development branch)
Release: 21.10
Codename: impish

Revision history for this message
Leo (leillo1975) wrote :

I have the same problem when I try to install nvidia-driver-470 on Ubuntu 21.10. My system was not updated, in my case I installed the OS from 0.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I already had the fix for bug 1943189 nine days before opening this one.

tags: added: rls-ii-incoming
Revision history for this message
Dag Bjerkeli (dag-e) wrote :

I ran into this today. My system has packagekit 1.2.2-2ubuntu3, so it does not look like it is related to bug 1943189.

Since this computer currently is used for testing, I'm in no hurry to install the NVIDIA drivers so I can do some further testing, if needed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Packagekit thinks it's offline according to pkmon. Trying to use pkcon install leads to similar error

affects: software-properties (Ubuntu) → packagekit (Ubuntu)
Changed in packagekit (Ubuntu):
importance: Medium → High
Revision history for this message
Ajay Juneja (ajayjuneja-ubuntu-ftw) wrote :

I have the same issue. I got around it using a command line install:

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-21-04

I am using the 10-10-2021 daily build of ubuntu 21.10 on a 2021 Razer Blade 15 with an RTX 3080.

Revision history for this message
Julian Andres Klode (juliank) wrote :
Changed in packagekit (Ubuntu):
milestone: none → ubuntu-21.10
status: Triaged → In Progress
affects: packagekit (Ubuntu) → glib2.0 (Ubuntu)
Changed in glib2.0 (Ubuntu):
assignee: nobody → Julian Andres Klode (juliank)
Changed in glib2.0 (Ubuntu):
status: In Progress → Fix Committed
tags: removed: rls-ii-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glib2.0 - 2.68.4-1ubuntu1

---------------
glib2.0 (2.68.4-1ubuntu1) impish; urgency=medium

  * Cherry-pick merge request 2291 to fix network monitoring with latest
    NetworkManager (LP: #1946196)

 -- Julian Andres Klode <email address hidden> Tue, 12 Oct 2021 14:39:07 +0200

Changed in glib2.0 (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote (last edit ):

I booted an Ubuntu desktop ISO with the new version of glib2.0 and pkmon now indicates that "network status=online".

 $ bsdtar -x -f impish-desktop-amd64.iso -O \./.disk/info
Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)%

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.