** Description changed: Binary package hint: motion when ubuntu upgraded I lost my ATI driver and now motion fails to upgrade ProblemType: Package Architecture: i386 DistroRelease: Ubuntu 9.04 ErrorMessage: subprocess post-installation script returned error exit status 1 Package: motion 3.2.11-1ubuntu1 SourcePackage: motion Title: package motion 3.2.11-1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 Uname: Linux 2.6.28-13-generic i686 + + DESCRIPTION: + motion failed to install on Karmic with error + + chown: invalid group: `motion:motion' + dpkg: error processing motion (--configure): + subprocess post-installation script returned error exit status 1 + + when running the post install script and for some reason user 'motion' exists but group 'motion' doesn't + + TEST CASE: + # sudo adduser --no-create-home --disabled-password --system --ingroup nogroup motion + Adding system user `motion' (UID 103) ... + Adding new user `motion' (UID 103) with group `nogroup' ... + Not creating home directory `/home/motion'. + # apt-get install motion + Reading package lists... Done + Building dependency tree + Reading state information... Done + Suggested packages: + mysql-client postgresql-client + The following NEW packages will be installed: + motion + 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. + Need to get 0B/293kB of archives. + After this operation, 897kB of additional disk space will be used. + Preconfiguring packages ... + Selecting previously deselected package motion. + (Reading database ... 202389 files and directories currently installed.) + Unpacking motion (from .../motion_3.2.11-2build1_i386.deb) ... + Processing triggers for man-db ... + Processing triggers for ureadahead ... + Setting up motion (3.2.11-2build1) ... + chown: invalid group: `motion:motion' + dpkg: error processing motion (--configure): + subprocess installed post-installation script returned error exit status 1 + Errors were encountered while processing: + motion + E: Sub-process /usr/bin/dpkg returned an error code (1) + # + + FIX : + Submitted to Debian and patch available for Ubuntu motion 3.2.11-2build1 + Replace the function 'id' with 'getent' to check if group motion exists.
-- motion failed to install/upgrade : chown: invalid group: `motion:motion' https://bugs.launchpad.net/bugs/394755 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
