package udev 219-7ubuntu5 failed to install/upgrade: group "input" already exists as a non-systemd group

Bug #1455956 reported by Glendon Solsberry
74
This bug affects 18 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

N/A

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: udev 219-7ubuntu5
ProcVersionSignature: Ubuntu 3.19.0-17.17-generic 3.19.6
Uname: Linux 3.19.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CustomUdevRuleFiles: 99-whatpulse-input.rules
Date: Sun May 17 12:56:21 2015
ErrorMessage: subprocess installed post-installation script returned error exit status 1
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-17-generic root=UUID=13ca088b-9843-40fb-9b38-da7f527d1344 ro splash quiet vt.handoff=7
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4
SourcePackage: systemd
Title: package udev 219-7ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to vivid on 2015-05-17 (0 days ago)
dmi.bios.date: 11/20/2012
dmi.bios.vendor: Intel Corp.
dmi.bios.version: MKQ7710H.86A.0054.2012.1120.1444
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DQ77MK
dmi.board.vendor: Intel Corporation
dmi.board.version: AAG39642-500
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrMKQ7710H.86A.0054.2012.1120.1444:bd11/20/2012:svn:pn:pvr:rvnIntelCorporation:rnDQ77MK:rvrAAG39642-500:cvn:ct3:cvr:

Revision history for this message
Glendon Solsberry (gms8994) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Unfortunately the apt logs are fairly useless. Can you please do this:

  sudo sed -i '1 s/$/x/' /var/lib/dpkg/info/udev.postinst
  sudo apt-get -f install

and then copy&paste the entire output? Thanks!

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Paul Hooijenga (hackedd) wrote :

Unfortunately I don't have the full output from when this was first failing for me, but I eventually worked around it by commenting out the line `addgroup --quiet --system input` in /var/lib/dpkg/info/udev.postinst.

Commenting out the same line also fixed the problem I had today when installing udev 219-7ubuntu6.

Revision history for this message
Paul Hooijenga (hackedd) wrote :

Oh, forgot to add, removing the quiet flag from addgroup gives: The group `input' already exists and is not a system group. Exiting.

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, thanks. I'm afraid there is not that much that we can do about this then, it's a conflict with a local non-system group. Unless you actually use that, I suggest removing it, and let udev re-create it as a system group.

Changed in systemd (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Ivo Anjo (knuckles) wrote :

This broke my upgrade from 14.10 to 15.04 :(

I don't know what created the input group, but couldn't this post-install script have a fallback of some kind? I was able to fix it after finding this report, but a normal user would end up with a broken system and a very bad day.

Please consider reopening!

Revision history for this message
Ivo Anjo (knuckles) wrote :

I had previously created an input group as per this tutorial:
http://ptichy.blogspot.pt/2014/08/configure-evrouter-on-ubuntu-1404.html?showComment=1434306399108#c1263726685009019900

But I argue that breaking the user's system because of a group name that previously was open for anyone to create (even an "input" user) is scary.

Revision history for this message
Martin Pitt (pitti) wrote :
summary: - package udev 219-7ubuntu5 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ package udev 219-7ubuntu5 failed to install/upgrade: group "input"
+ already exists as a non-systemd group
Changed in systemd (Ubuntu):
status: Won't Fix → In Progress
importance: Undecided → Low
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (6.3 KiB)

This bug was fixed in the package systemd - 222-1ubuntu1

---------------
systemd (222-1ubuntu1) wily; urgency=medium

  * Merge with Debian unstable. Remaining Ubuntu changes:
    - Hack to support system-image read-only /etc, and modify files in
      /etc/writable/ instead.
    - Keep our much simpler udev maintainer scripts (all platforms must
      support udev, no debconf).
    - initramfs init-top: Drop scsi_wait_scan and udevadm settle, we do that
      in a more sensible way with wait-for-root.
    - initramfs init-bottom: If LVM is installed, settle udev,
      otherwise we get missing LV symlinks. Workaround for LP #1185394.
    - Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv
      dependencies to "lvm2" which is handled with udev rules in Ubuntu.
    - Add debian/udev.lvm2.service to avoid running the dummy lvm2 init
      script.
    - Provide shutdown fallback for upstart. (LP: #1370329)
    - debian/extra/ifup@.service: Additionally run for "auto" class. We don't
      really support "allow-hotplug" in Ubuntu at the moment, so we need to
      deal with "auto" devices appearing after "/etc/init.d/networking start"
      already ran. (LP: #1374521) Also run ifup in the background during boot,
      to avoid blocking network.target. (LP: #1425376)
    - ifup@.service: Drop dependency on networking.service (i. e.
      /etc/init.d/networking), and merely ensure that /run/network exists.
      This avoids unnecessary dependencies/waiting during boot and dependency
      cycles if hooks wait for other interfaces to come up (like ifenslave
      with bonding interfaces). (LP: #1414544)
    - Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In
      Ubuntu we currently keep the setting whether the RTC is in local or UTC
      time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime.
      (LP: #1377258)
    - Put session scopes into all cgroup controllers. This makes unprivileged
      user LXC containers work under systemd. (LP: #1346734)
    - systemctl: Don't forward telinit u to upstart. This works around
      upstart's Restart() always reexec'ing /sbin/init on Restart(), even if
      that changes to point to systemd during the upgrade. This avoids running
      systemd during a dist-upgrade. (LP: #1430479)
    - Drop hwdb-update dependency from udev-trigger.service, which got
      introduced in v219-stable. This causes udev and plymouth to start too
      late and isn't really needed in Ubuntu yet as we don't support stateless
      systems yet and handle hwdb.bin updates through dpkg triggers. This can
      be dropped again with initramfs-tools 0.117.
    - Lower Breaks: to plymouth version which has the udev inotify fix in
      Ubuntu.
    - Lower apparmor Breaks: to the Ubuntu version that dropped $remote_fs.
    - Change systemd-sysv's conflicts to upstart-sysv. (LP: #1422681)

    Upgrade fixes, keep until 16.04 LTS release:
    - systemd Conflicts/Replaces/Provides systemd-services.
    - Remove obsolete systemd-logind upstart job.
    - Clean up obsolete /etc/udev/rules.d/README.

  * systemd.postinst: Migrate mountall specific fstab options to standard
    util-linux "nofai...

Read more...

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.