Bug#613484: /usr/bin/ecl is not installed

2014-08-31 Thread Tobias Hansen
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"
 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
 ;;


Bug#613484: /usr/bin/ecl is not installed

2014-02-17 Thread Ph. Marek
Package: ecl
Version: 13.5.1+dfsg2-4
Followup-For: Bug #613484

This is still an issue:


$ apt-get install --reinstall ecl
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 0 B/3182 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 404956 files and directories currently installed.)
Preparing to unpack .../ecl_13.5.1+dfsg2-4_amd64.deb ...
Unpacking ecl (13.5.1+dfsg2-4) over (13.5.1+dfsg2-4) ...
Processing triggers for man-db (2.6.6-1) ...
Setting up ecl (13.5.1+dfsg2-4) ...
Processing triggers for libc-bin (2.17-97) ...
$ ls -la /usr/bin/ecl
ls: cannot access /usr/bin/ecl: No such file or directory



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ecl depends on:
ii  gcc  4:4.8.2-2
ii  libc62.17-97
ii  libffi6  3.0.13-12
ii  libgc-dev1:7.2d-6
ii  libgc1c2 1:7.2d-6
ii  libgmp10 2:5.1.3+dfsg-1
ii  libgmp3-dev  2:5.1.3+dfsg-1
ii  libncurses5-dev  5.9+20140118-1

ecl recommends no packages.

Versions of packages ecl suggests:
pn  ecl-doc  
pn  slime

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#613484: /usr/bin/ecl is not installed

2011-02-14 Thread Leo T Butler

Package: ecl
Version: 9.6.1-1squeeze1
Severity: grave

I am using Debian testing
# uname -a
Linux squeeeze 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux

When I attempted to install ecl, all goes fine til I get

Setting up ecl (9.6.1-1squeeze1) ...
/usr/lib/common-lisp/bin/ecl.sh loading and dumping clc.
;;; Loading "/usr/lib/ecl/install-clc.lisp"
;;; Loading #P"/usr/lib/ecl-9.6.1/cmp.fas"
;;; Loading #P"/usr/lib/ecl-9.6.1/sysfun.lsp"

Saving to new-ecl...;;; Warning: The function proclamation (SETF  
MODULE-COMPONENTS-BY-NAME) ((T T) T) is not valid.


and trying to manually install ecl, I get the same error:

# /usr/lib/common-lisp/bin/ecl.sh install-clc
/usr/lib/common-lisp/bin/ecl.sh loading and dumping clc.
;;; Loading "/usr/lib/ecl/install-clc.lisp"
;;; Loading #P"/usr/lib/ecl-9.6.1/cmp.fas"
;;; Loading #P"/usr/lib/ecl-9.6.1/sysfun.lsp"

Saving to new-ecl...;;; Warning: The function proclamation (SETF  
MODULE-COMPONENTS-BY-NAME) ((T T) T) is not valid.


# ls /usr/bin/ecl
ls: cannot access /usr/bin/ecl: No such file or directory



--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org