Control: tags -1 + patch
Hi,
the problem is a faulty postrm script that removes /usr/bin/ecl on
upgrade after the new files are unpacked, see [1]. A workaround is to
remove ecl and then install it again. The attached patch fixes the
postrm script but since the old postrm script is run on upgrade
everybody upgrading to a new version which includes this patch would
still end up without /usr/bin/ecl. After a second update everything
would be fine. I'm not sure if one should go further into complicated
maintainer script constructions to solve this issue.
[1] https://wiki.debian.org/MaintainerScripts#Upgrading
Best,
Tobias
On Mon, 17 Feb 2014 12:41:40 +0100 "Ph. Marek"
<[email protected]> wrote:
> Package: ecl
> Version: 13.5.1+dfsg2-4
> Followup-For: Bug #613484
>
> This is still an issue:
>
>
> $ apt-get install --reinstall ecl
...
> $ ls -la /usr/bin/ecl
> ls: cannot access /usr/bin/ecl: No such file or directory
--- a/debian/postrm
+++ b/debian/postrm
@@ -17,7 +17,7 @@
# for details, see /usr/share/doc/packaging-manual/
case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
rm /usr/bin/ecl 2> /dev/null || true
rm /usr/lib/ecl/*.o 2> /dev/null || true
;;
_______________________________________________
pkg-common-lisp-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-common-lisp-devel