On 2013-03-07 20:04 +0100, Sven Joachim wrote: > Package: gawk > Version: 1:4.0.1+dfsg-2 > Severity: serious > > The Debian changelog for this version mentions: > > ,---- > | -Change Pre-Depends to Depends (OK now that base-files Pre-Depends: awk) > `---- > > This is not correct and needs to be reverted, since it means that gawk > might be unpacked before its dependencies during upgrades. If the awk > alternative is set to gawk, other packages which are unpacked in the > same run and use awk in their pre{inst,rm} scripts which fail. This is > not unlikely to happen in squeeze -> wheezy upgrades, since gawk in > wheezy gained a new dependency on libsigsegv2.
Maybe it's not that likely to be triggered when using apt, since apt appears to unpack libsigsegv2 before gawk, but here is a recipe showing the problem starting in a squeeze chroot: # apt-get install gawk # sed -i 's/squeeze/wheezy/' /etc/apt/sources.list # apt-get update # aptitude download gawk libc6 libsigsegv2 # dpkg -i *.deb Result: ,---- | Preparing to replace gawk 1:3.1.7.dfsg-5 (using gawk_1%3a4.0.1+dfsg-2_i386.deb) ... | Unpacking replacement gawk ... | Preparing to replace libc6 2.11.3-4 (using libc6_2.13-38_i386.deb) ... | Checking for services that may need to be restarted...awk: error while loading shared libraries: libsigsegv.so.2: cannot open shared object file: No such file or directory | dpkg: error processing libc6_2.13-38_i386.deb (--install): | subprocess new pre-installation script returned error exit status 127 | Selecting previously deselected package libsigsegv2. | Unpacking libsigsegv2 (from libsigsegv2_2.9-4_i386.deb) ... | Setting up libsigsegv2 (2.9-4) ... | Setting up gawk (1:4.0.1+dfsg-2) ... | Errors were encountered while processing: | libc6_2.13-38_i386.deb `---- Easily rectifiable, but if libsigsegv2 would depend on the _new_ libc6 the problem would be rather big. > Both mawk and original-awk use Pre-Depends for that reason. Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org