group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #13610
[Bug 1694438] [NEW] [16.04] Cannot download packages whilst offline - when using ifupdown
Public bug reported:
I am using 16.04 with the main ethernet interface being managed by
ifupdown, and others by NetworkManager. Apparently PK's
pk_network_get_network_state() does not properly recognize this and
thinks it is offline:
# pkcon update
Getting updates [=========================]
[...]
Fatal error: Cannot download packages whilst offline
A workaround is to change /etc/NetworkManager/NetworkManager.conf
[ifupdown] managed= from "false" to "true", then "eth0" appears in
"nmcli d" and PackageKit is happy.
In 17.04 this is no problem any more, PackageKit works out of the box
with the same ifupdown configuration and managed=false. Interestingly,
"nmcli d" shows
eth0 ethernet unmanaged --
there, while eth0 is entirely absent in 16.04. There doesn't seem to be
an nmcli command to show what PackageKit looks at; the closest is "nmcli
g" but in all three cases above that says
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected full enabled enabled enabled enabled
** Affects: packagekit (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: packagekit (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: packagekit (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: packagekit (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1694438
Title:
[16.04] Cannot download packages whilst offline - when using ifupdown
Status in packagekit package in Ubuntu:
Fix Released
Status in packagekit source package in Xenial:
New
Bug description:
I am using 16.04 with the main ethernet interface being managed by
ifupdown, and others by NetworkManager. Apparently PK's
pk_network_get_network_state() does not properly recognize this and
thinks it is offline:
# pkcon update
Getting updates [=========================]
[...]
Fatal error: Cannot download packages whilst offline
A workaround is to change /etc/NetworkManager/NetworkManager.conf
[ifupdown] managed= from "false" to "true", then "eth0" appears in
"nmcli d" and PackageKit is happy.
In 17.04 this is no problem any more, PackageKit works out of the box
with the same ifupdown configuration and managed=false. Interestingly,
"nmcli d" shows
eth0 ethernet unmanaged --
there, while eth0 is entirely absent in 16.04. There doesn't seem to
be an nmcli command to show what PackageKit looks at; the closest is
"nmcli g" but in all three cases above that says
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected full enabled enabled enabled enabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1694438/+subscriptions