Public bug reported: 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. ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package zesty -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1698384 Title: package network-manager 1.4.4-1ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in network-manager package in Ubuntu: New 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1698384/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp