"Failed to restart network-manager.service: Unit network-manager.service not found." during package update

Bug #1923542 reported by Thomas Bechtold
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I updated network-manger on hirsute:

network-manager-config-connectivity-ubuntu (1.30.0-1ubuntu3) over (1.30.0-1ubuntu2)

During the postinst run, I get:

Setting up network-manager-config-connectivity-ubuntu (1.30.0-1ubuntu3) ...
Failed to restart network-manager.service: Unit network-manager.service not found.
invoke-rc.d: initscript network-manager, action "force-reload" failed.

The reason seems to be that there is no network-manager.service . it's called NetworkManager.service .

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: network-manager 1.30.0-1ubuntu3
ProcVersionSignature: Ubuntu 5.11.0-13.14-generic 5.11.7
Uname: Linux 5.11.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu62
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 13 06:15:31 2021
InstallationDate: Installed on 2020-12-08 (125 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
RebootRequiredPkgs: network-manager
SourcePackage: network-manager
UpgradeStatus: Upgraded to hirsute on 2020-12-09 (124 days ago)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.30.0 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Thomas Bechtold (toabctl) 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
To post a comment you must log in.