package network-manager 1.4.4-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1698384 reported by Iwan Aucamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My networkmanager is masked as I'm using systemd-networkd and I don't want networkmanager running

# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up network-manager (1.4.4-1ubuntu3.1) ...
Failed to try-restart NetworkManager-wait-online.service: Unit NetworkManager-wait-online.service is masked.
Failed to enable unit: Unit file /etc/systemd/system/NetworkManager-wait-online.service is masked.
dpkg: error processing package network-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 network-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: network-manager 1.4.4-1ubuntu3.1
Uname: Linux 4.11.0-3.1-liquorix-amd64 x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Fri Jun 16 15:48:11 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 # Include files from /etc/network/interfaces.d:
 source-directory /etc/network/interfaces.d
IpRoute:
 default via 10.154.160.10 dev eno1 src 10.154.161.10 metric 202
 default via 10.154.160.10 dev eno1 proto dhcp src 10.154.161.10 metric 1024
 10.154.160.0/20 dev eno1 proto kernel scope link src 10.154.161.10 metric 202
 10.154.160.10 dev eno1 proto dhcp scope link src 10.154.161.10 metric 1024
IwConfig:
 lo no wireless extensions.

 eno1 no wireless extensions.
NetworkManager.conf:
 [main]
 plugins=ifupdown,keyfile

 [ifupdown]
 managed=false
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.4
RfKill:

SourcePackage: network-manager
Title: package network-manager 1.4.4-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to zesty on 2017-04-22 (54 days ago)
nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 8: Error: NetworkManager is not running.
nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 8: Error: NetworkManager is not running.
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'gen'] failed with exit code 8: Error: NetworkManager is not running.

Revision history for this message
Iwan Aucamp (aucampia) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :
Changed in network-manager (Ubuntu):
status: Confirmed → Invalid
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.