package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am using netplan for my network config.
ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: network-manager 1.42.4-1ubuntu4
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu3
Architecture: amd64
CRDA: N/A
CasperMD5CheckR
Date: Thu Jun 1 12:05:16 2023
ErrorMessage: installed network-manager package post-installation script subprocess returned error exit status 8
InstallationDate: Installed on 2020-04-25 (1131 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
IpRoute:
default via 192.168.56.1 dev enp7s0 proto static
192.168.56.0/30 dev enp7s0 proto kernel scope link src 192.168.56.2
IwConfig:
lo no wireless extensions.
enp7s0 no wireless extensions.
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.22ubuntu1
apt 2.7.0
RfKill:
SourcePackage: network-manager
Title: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8
UpgradeStatus: Upgraded to mantic on 2023-06-01 (0 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.
Related branches
- Sebastien Bacher: Approve
- Łukasz Zemczak: Approve
-
Diff: 55 lines (+19/-3)3 files modifieddebian/changelog (+12/-0)
debian/network-manager.postinst (+4/-1)
debian/network-manager.preinst (+3/-2)
tags: | removed: need-duplicate-check |
Thanks for your bug report.
This problem seems to be caused by the netplan migration logic in the postinst script. I'm looking into it.