Hi Andreas, On Wed, 29 Jan 2014 20:39:29 +0100, Andreas Beckmann <a...@debian.org> wrote: > during a test with piuparts I noticed your package fails to remove, > the apt-get command gets killed after a timeout and there are two > processes running that probably didn't terminate as expected ... > > >From the attached log (scroll to the bottom...): > > 0m19.1s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpqN70Hj', > 'apt-get', 'remove', 'kmod', 'libkmod2:amd64', 'oss-compat'] 59m19.1s > ERROR: Terminating command due to excessive runtime 59m19.6s DUMP: > > > ***** Command was terminated after exceeding runtime limit (3540 s) ***** > 59m19.6s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpqN70Hj', > 'apt-get', 'remove', 'kmod', 'libkmod2:amd64', 'oss-compat'] 59m19.6s INFO: > Running scripts post_remove 59m19.6s DEBUG: Starting command: ['chroot', > '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'kmod', 'libkmod2:amd64'] > 59m19.6s DUMP: (Reading database ... 6709 files and directories currently > installed.) Removing kmod (16-2) ... > Purging configuration files for kmod (16-2) ... > Removing libkmod2:amd64 (16-2) ... > Purging configuration files for libkmod2:amd64 (16-2) ... > 59m19.6s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', > '--purge', 'kmod', 'libkmod2:amd64'] 59m19.6s DEBUG: Starting command: > ['chroot', '/tmp/piupartss/tmpqN70Hj', 'dpkg', '--purge', 'oss-compat'] > 59m19.6s DUMP: (Reading database ... 6708 files and directories currently > installed.) Removing oss-compat (5) ... > Purging configuration files for oss-compat (5) ...
Why is kmod purged before oss-compat? oss-compat depends on kmod, so according to policy section 7.2, kmod should be left at least unpacked as long as oss-compat is in the "configured" state (so that postinst and prerm can use kmod). (In any case there is a bug in oss-compat's prerm, I need to at least detach the subshells that are started to remove the modules.) Regards, Stephen
signature.asc
Description: PGP signature