byobu upgrade fails with chown: invalid group

Bug #391722 reported by Sean Sosik-Hamor on 2009-06-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
High
Dustin Kirkland 

Bug Description

Binary package hint: byobu

Users don't always have a group that matches their username causing postinst to fail. In my case my primary group is warthogs with no sciri group at all on the system.

Setting up byobu (2.16-0ubuntu1~ppa1) ...
chown: invalid group: `sciri:sciri'
dpkg: error processing byobu (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of byobu-extras:
 byobu-extras depends on byobu; however:
  Package byobu is not configured yet.
dpkg: error processing byobu-extras (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while proces

sciri@baka:~/Source/byobu-2.16$ grep -r chown *
debian/postinst: chown $u:$u "$DIR/$d/$PKG.reload-required"
sciri@baka:~/Source/byobu-2.16$ id
uid=2630(sciri) gid=2500(warthogs) groups=4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),29(audio),30(dip),44(video),46(plugdev),104
(fuse),106(lpadmin),112(netdev),121(admin),122(sambashare),2500(warthogs)

Related branches

Changed in byobu (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → High
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 2.16-0ubuntu2

---------------
byobu (2.16-0ubuntu2) karmic; urgency=low

  * debian/postinst: can't assume a group named for the user, LP: #391722

 -- Dustin Kirkland <email address hidden> Wed, 24 Jun 2009 12:46:17 -0500

Changed in byobu (Ubuntu):
status: In Progress → Fix Released
Changed in byobu (Ubuntu):
status: Fix Released → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 2.17-0ubuntu1

---------------
byobu (2.17-0ubuntu1) karmic; urgency=low

  [ Dustin Kirkland ]
  * debian/postinst: can't assume a group named for the user, LP: #391722
  * debian/postinst, debian/screen-profiles.postinst: ensure that
    /usr/bin/screen doesn't disappear, which causes the dpkg-divert
    removal to fail; LP: #390808
  * bin/mem_available: read mem_available from /proc, should be more
    efficient
  * byobu-launcher-uninstall: uninstall old screen-launcher entries too,
    LP: #391913
  * byobu: detect and emit an error message if the user tries to run
    byobu from within a screen session
  * byobu: add a -v version argument
  * byobu.1, byobu-config.1: move the putty bug note to the byobu manpage
    next to the keybinding documentation
  * debian/byobu-extras.install, debian/control, debian/install,
    debian/release.sh, debian/rules, generate, rpm/byobu.spec: eliminate
    the byobu-extras package; this was originally created because we
    used to force select-screen-profile on first run, and the number of
    profiles was overwhelming; we're no longer doing this, and this
    separate package is more trouble than its worth

  [ Ciemon Dunville ]
  * byobu.1: update description, add note about units of measure

 -- Dustin Kirkland <email address hidden> Fri, 26 Jun 2009 17:34:30 -0500

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

Other bug subscribers