Package: mini-buildd Version: 1.0.5 Severity: important Hi,
I finally tried updating mini-buildd 0.9.5 to the current unstable version on my build machine. The postinst obviously tried calling usermod to change the home directory, which tried renaming /home/mini-buildd to /var/lib/mini-buildd. That didn't work, most probably because my /home is on a different file system than /var: Setting up mini-buildd (1.0.5) ... Adding group `mini-buildd' (GID 118) ... Done. usermod: cannot rename directory /home/mini-buildd to /var/lib/mini-buildd dpkg: error processing package mini-buildd (--configure): subprocess installed post-installation script returned error exit status 12 Errors were encountered while processing: mini-buildd E: Sub-process /usr/bin/dpkg returned an error code (1) Failed to perform requested operation on package. Trying to recover: Setting up mini-buildd (1.0.5) ... addgroup: The group `mini-buildd' already exists as a system group. Exiting. usermod: no changes usermod: no changes The user `mini-buildd' is already a member of `sbuild'. Setting admin password...mini-buildd FAILED: [Errno 13] Permission denied: '/var/lib/mini-buildd' dpkg: error processing package mini-buildd (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: mini-buildd Press Return to continue. Trying to do a manual copy didn't work as well since my /var was not big enough for the 6 GB /home/mini-buildd. In my opinion, mini-buildd should not try to move its home directory on a package upgrade. It's fine to use the new /var/lib location for new installs, but an upgrade script cannot foresee possible pitfalls in moving the home directory (and, frankly, yours doesn't even try to check). Greetings Marc -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.17.6-zgsrv20080 (SMP w/6 CPU cores; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages mini-buildd depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.55 ii debootstrap 1.0.66 ii devscripts 2.14.11 ii dpkg-dev 1.17.23 ii gnupg 1.4.18-6 ii libjs-jquery 1.7.2+dfsg-3.2 ii libjs-sphinxdoc 1.2.3+dfsg-1 ii lintian 2.5.30+deb8u3 ii mini-buildd-common 1.0.5 ii python-cherrypy3 3.5.0-2 ii python-daemon 1.5.5-1 ii python-django 1.7.1-1 ii python-django-extensions 1.3.10-1 ii python-django-registration 1.0+dfsg-2 ii python-mini-buildd 1.0.5 ii python-pyftpdlib 1.2.0-1 pn python:any <none> ii reprepro 4.16.0-1 ii sbuild 0.65.0-1 ii schroot 1.6.10-1+b1 ii sudo 1.8.11p2-1.1 Versions of packages mini-buildd recommends: ii python-apt 0.9.3.11 Versions of packages mini-buildd suggests: pn binfmt-support <none> ii debootstrap 1.0.66 pn haveged <none> ii lvm2 2.02.111-2 pn qemu-user-static <none> -- Configuration Files: /etc/sudoers.d/mini-buildd-sudoers [Errno 13] Permission denied: u'/etc/sudoers.d/mini-buildd-sudoers' -- debconf information: mini-buildd/purge_warning: * mini-buildd/home: /var/lib/mini-buildd * mini-buildd/options: --verbose * mini-buildd/note: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org