[Bug 565380] Re: package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2010-04-17 Thread Rainer Rohde

** Attachment added: AptOrdering.txt
   http://launchpadlibrarian.net/44588166/AptOrdering.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44588167/Dependencies.txt

** Attachment added: Df.txt
   http://launchpadlibrarian.net/44588168/Df.txt

** Attachment added: Dmesg.txt
   http://launchpadlibrarian.net/44588169/Dmesg.txt

** Attachment added: DpkgTerminalLog.gz
   http://launchpadlibrarian.net/44588170/DpkgTerminalLog.gz

-- 
package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565380] Re: package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2010-04-17 Thread Jamie Strandboge
This is the error in question:
Setting up libvirt-bin (0.7.5-5ubuntu25) ...
Installing new version of config file 
/etc/apparmor.d/usr.lib.libvirt.virt-aa-helper ...
adduser: The user `tester' does not exist.
dpkg: error processing libvirt-bin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-libvirt (0.7.5-5ubuntu25) ...

This must be caused by the following snippet in libvirt-bin.postinst:
# Add each admin user to the libvirtd group
for u in $(grep ^admin: /etc/group | sed -e s/^.*:// -e s/,/ /g); 
do
adduser $u libvirtd /dev/null
done

It seems you have a 'tester' user that you removed from the system, but
forgot to remove from the 'admin' group. Please adjust your /etc/group
file accordingly. Then you can run 'sudo apt-get -f install ; sudo apt-
get upgrade' to cleanup.

The postinst should probably be adjusted to have:
  adduser $u libvirtd /dev/null || true

** Changed in: libvirt (Ubuntu)
   Status: New = Triaged

** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Low

** Summary changed:

- package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
+ postinst fails if missing user is in the admin group

-- 
postinst fails if missing user is in the admin group
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs