Package: mock
Version: 1.2.3-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid'.
It installed fine in 'sid', but after the upgrade to eperimental the
system is broken.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package mock.
  Preparing to unpack .../archives/mock_1.1.33-1_all.deb ...
  Unpacking mock (1.1.33-1) ...

  Setting up mock (1.1.33-1) ...

  Preparing to unpack .../archives/mock_1.2.3-1_all.deb ...
  Unpacking mock (1.2.3-1) over (1.1.33-1) ...
  Setting up mock (1.2.3-1) ...
  Installing new version of config file /etc/mock/epel-5-i386.cfg ...
[...]
  Installing new version of config file /etc/mock/site-defaults.cfg ...
  Installing new version of config file /etc/pam.d/mock ...
  dpkg-statoverride: warning: --update given but /var/lib/mock does not exist
  dpkg-statoverride: warning: --update given but /var/cache/mock does not exist

  The following NEW packages will be installed:
    libapt-pkg4.15
  The following packages will be upgraded:
    apt dash findutils grep insserv libdbus-1-3 libsystemd0 libudev1 systemd
    systemd-sysv udev
  11 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
  Need to get 7522 kB of archives.
  After this operation, 7868 kB of additional disk space will be used.
[...]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 7522 kB in 0s (39.8 MB/s)
  E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file 
or directory)
  dpkg: unrecoverable fatal error, aborting:
   unknown group 'mock' in statoverride file
  E: Sub-process /usr/bin/dpkg returned an error code (2)


The postinst script uses two different variables for the group name:
MOCK and GROUP, but only one of them is defined!


cheers,

Andreas

Attachment: mock_1.2.3-1.log.gz
Description: application/gzip

Reply via email to