Release Jed 0.99.18-1
Jörg Sommer
joerg at alea.gnuu.de
Sun May 14 20:36:07 UTC 2006
Hello Rafael,
Rafael Laboissiere schrieb am Sun 14. May, 20:45 (+0200):
> * Rafael Laboissiere <rafael at debian.org> [2006-05-13 18:24]:
>
> First, when I tried to upgrade the package in my unstable chroot, it
> failed with the error message:
>
> ========================================================================
> $ debi
> dpkg: error processing jed-common_0.99.18-1_all.deb (--install):
> trying to overwrite `/usr/share/man/man1/jed.1.gz', which is also in package jed
> rmdir: /etc/jed-init.d: Directory not empty
> [...]
> debi: debpkg -i failed
> ========================================================================
>
> This problem has nothing to do with version 0.99.18-1, but with the
> postrm script in version 0.99.16-6. Unfortunately, this script was
> changed from version 0.99.16-5 to version 0.99.16-6 in a wrong way. It
> contained in version 0.99.16-5:
>
> if [ -z "`/bin/ls /etc/jed-init.d/`" ]; then
> rmdir /etc/jed-init.d
> fi
>
> In version 0.99.16-6, it changed to:
>
> if [ -d /etc/jed-init.d/ ]; then
> rmdir /etc/jed-init.d
> fi
>
> This change was done by Guenter on 2005-11-08 with the following log
> message:
>
> simplified test syntax as it failed on GNU bash, version
> 3.00.16(1)-release (i386-pc-linux-gnu) (trying to remove nonexistent dir)
Günther, can you remember what was the full output? Did rmdir or ls
report "/etc/jed-init.d/: No such file or directory"?
> The problem can be circumvented if we revert the changes in version
> 0.99.18-1, because dpkg tries to use the new postrm script when the one
> of the version currently installed fails.
> My question to Guenter: could you revert or, if possible, write a code
> that works correctly and is compatible GNU bash 3.00.16(1)?
I would suggest these lines:
if [ -z $(ls /etc/jed-init.d/ 2>/dev/null) ]; then
rmdir /etc/jed-init.d
fi
> dpkg: error processing jed-common_0.99.18-1_all.deb (--install):
> trying to overwrite `/usr/share/man/man1/jed.1.gz', which is also in
> package jed
> ========================================================================
>
> Indeed, jed.1.gz appears in both jed and jed-common packages. This must
> be fixed.
Done. It was an conjuncture of the build split.
Bye, Jörg.
--
Die zehn Gebote Gottes enthalten 172 Wörter, die amerikanische
Unabhängigkeitserklärung 300 Wörter, die Verordnung der europäischen
Gemeinschaft über den Import von Karamelbonbons exakt 25911
Wörter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20060514/65a266de/attachment.pgp
More information about the Pkg-jed-devel
mailing list