[Bug 1880541] Re: package udev 245.4-4ubuntu3 failed to install/upgrade: podproces zainstalowany pakiet udev skrypt post-installation returned error code 1
Dan Streetman
1880541 at bugs.launchpad.net
Wed Jul 22 20:38:14 UTC 2020
ubuntu at lp1880541-f:~$ dpkg -l udev|grep udev
ii udev 245.4-4ubuntu3 amd64 /dev/ and hotplug management daemon
ubuntu at lp1880541-f:~$ sudo groupadd kvm
groupadd: group 'kvm' already exists
ubuntu at lp1880541-f:~$ grep kvm /etc/group
kvm:x:108:
ubuntu at lp1880541-f:~$ sudo groupdel kvm
ubuntu at lp1880541-f:~$ grep kvm /etc/group
ubuntu at lp1880541-f:~$ sudo groupadd kvm
ubuntu at lp1880541-f:~$ grep kvm /etc/group
kvm:x:1001:
ubuntu at lp1880541-f:~$ sudo apt install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libudev1
The following packages will be upgraded:
libudev1 udev
2 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Need to get 1440 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 udev amd64 245.4-4ubuntu3.1 [1362 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libudev1 amd64 245.4-4ubuntu3.1 [78.3 kB]
Fetched 1440 kB in 1s (1423 kB/s)
(Reading database ... 66302 files and directories currently installed.)
Preparing to unpack .../udev_245.4-4ubuntu3.1_amd64.deb ...
Unpacking udev (245.4-4ubuntu3.1) over (245.4-4ubuntu3) ...
Preparing to unpack .../libudev1_245.4-4ubuntu3.1_amd64.deb ...
Unpacking libudev1:amd64 (245.4-4ubuntu3.1) over (245.4-4ubuntu3) ...
Setting up libudev1:amd64 (245.4-4ubuntu3.1) ...
Setting up udev (245.4-4ubuntu3.1) ...
The group `kvm' already exists and is not a system group. Exiting.
dpkg: error processing package udev (--configure):
installed udev package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (245.4-4ubuntu3.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Errors were encountered while processing:
udev
E: Sub-process /usr/bin/dpkg returned an error code (1)
(clear the error and downgrade udev again, and add -proposed to apt sources)
ubuntu at lp1880541-f:~$ dpkg -l udev|grep udev
ii udev 245.4-4ubuntu3 amd64 /dev/ and hotplug management daemon
ubuntu at lp1880541-f:~$ sudo groupadd kvm
groupadd: group 'kvm' already exists
ubuntu at lp1880541-f:~$ dpkg -l udev|grep udev
ii udev 245.4-4ubuntu3 amd64 /dev/ and hotplug management daemon
ubuntu at lp1880541-f:~$ grep kvm /etc/group
kvm:x:108:
ubuntu at lp1880541-f:~$ sudo groupdel kvm
ubuntu at lp1880541-f:~$ grep kvm /etc/group
ubuntu at lp1880541-f:~$ sudo groupadd kvm
ubuntu at lp1880541-f:~$ grep kvm /etc/group
kvm:x:1001:
ubuntu at lp1880541-f:~$ sudo apt install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libudev1
The following packages will be upgraded:
libudev1 udev
2 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
Need to get 1442 kB of archives.
After this operation, 4096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 udev amd64 245.4-4ubuntu3.2 [1363 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 libudev1 amd64 245.4-4ubuntu3.2 [78.9 kB]
Fetched 1442 kB in 1s (1415 kB/s)
(Reading database ... 66302 files and directories currently installed.)
Preparing to unpack .../udev_245.4-4ubuntu3.2_amd64.deb ...
Unpacking udev (245.4-4ubuntu3.2) over (245.4-4ubuntu3) ...
Preparing to unpack .../libudev1_245.4-4ubuntu3.2_amd64.deb ...
Unpacking libudev1:amd64 (245.4-4ubuntu3.2) over (245.4-4ubuntu3) ...
Setting up libudev1:amd64 (245.4-4ubuntu3.2) ...
Setting up udev (245.4-4ubuntu3.2) ...
The group `kvm' already exists and is not a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (245.4-4ubuntu3.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for initramfs-tools (0.136ubuntu6.2) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-40-generic
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1880541
Title:
package udev 245.4-4ubuntu3 failed to install/upgrade: podproces
zainstalowany pakiet udev skrypt post-installation returned error code
1
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Focal:
Fix Committed
Bug description:
[impact]
during upgrade, udev may fail to configure, interrupting the upgrade
[test case]
on 18.04, create a non-system group 'kvm', then upgrade to 20.04
[regression potential]
any regression would likely result in a kvm group that was not
properly created, possibly restricting users from using kvm
acceleration until the problem was fixed.
[scope]
this is needed only for focal, as it occurs only on upgrade to focal.
[original description]
During the Dist upgrade from 18.04 LTS to 20.04 LTS udev failed to configure interrupting the upgrade.
dpkg complained that kvm already exist but it is not a system group.
From what I saw my user was the only member of kvm group
I don't recall installing kvm manually but I do have Android emulator installed so it is possible that it is related.
Removing kvm group via
groupdel kvm
allowed
dpkg --configure -a
to succeed
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: udev 245.4-4ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-101.102-generic 4.15.18
Uname: Linux 4.15.0-101-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CustomUdevRuleFiles: 56-hpmud.rules 70-snap.core.rules
Date: Mon May 25 11:01:36 2020
ErrorMessage: podproces zainstalowany pakiet udev skrypt post-installation zwrócił kod błędu 1
InstallationDate: Installed on 2017-10-18 (949 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-101-generic root=UUID=1c3374a5-d07b-4588-8159-7607318eb2c9 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.1
SourcePackage: systemd
Title: package udev 245.4-4ubuntu3 failed to install/upgrade: podproces zainstalowany pakiet udev skrypt post-installation zwrócił kod błędu 1
UpgradeStatus: Upgraded to focal on 2020-05-25 (0 days ago)
dmi.bios.date: 07/18/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P4.80
dmi.board.name: X370 Taichi
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP4.80:bd07/18/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX370Taichi:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1880541/+subscriptions
More information about the foundations-bugs
mailing list