Systemd: package udev 175-0ubuntu9.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Systemd is installed and running instead of the default upstart. It seems the udev package is still looking for upstart anyways.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: udev 175-0ubuntu9.1
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Fri Aug 3 04:09:47 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Apple Inc. MacBookAir4,1
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: udev
Title: package udev 175-0ubuntu9.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/24/2012
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBA41.88Z.
dmi.board.
dmi.board.name: Mac-C08A6BB70A9
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookAir4,1
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookAir4,1
dmi.product.
dmi.sys.vendor: Apple Inc.
tags: | removed: need-duplicate-check |
Ubuntu packages are built with upstart support (only), we do not support another init system at the moment. The failing "start" command in the maintainer script is generated by dh_installinit, and it is not appropriate at all to hack in these manually. This does not only apply to udev, but to all Ubuntu packages which ship an upstart script.
The best solution for now would be for the systemd packages (whichever you use) to provide a compatibility "start" script which starts a service using systemd. Or just do something like "sudo ln -s /bin/true /sbin/start; sudo ln -s /bin/true /sbin/stop" which will disable startup of services completely.