[cl-debian] Bug#338393: sbcl: installation fails, register-common-lisp-implementation not found

Lars Wirzenius liw at iki.fi
Thu Nov 10 01:32:43 UTC 2005


Package: sbcl
Version: 1:0.9.6.0-7
Severity: serious
Justification: package doesn't install without common-lisp-controller

Testing sbcl with piuparts, I find that installation fails:

0m9.6s ERROR: Command failed (status=25600): "chroot /tmp/tmpUMtHi0
apt-get -y install 'sbcl'"
  Reading package lists...
  Building dependency tree...
  Suggested packages:
    sbcl-common slime
  Recommended packages:
    binfmt-support
  The following NEW packages will be installed:
    sbcl
  0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
  Need to get 9141kB of archives.
  After unpacking 32.3MB of additional disk space will be used.
  Get:1 http://liw.iki.fi sid/main sbcl 1:0.9.6.0-7 [9141kB]
  Fetched 9141kB in 0s (10.8MB/s)
  Selecting previously deselected package sbcl.
  (Reading database ... 7532 files and directories currently installed.)
  Unpacking sbcl (from .../sbcl_1%3a0.9.6.0-7_i386.deb) ...
  Setting up sbcl (0.9.6.0-7) ...
  /var/lib/dpkg/info/sbcl.postinst: line
22: /usr/sbin/register-common-lisp-implementation: No such file or
directory
  dpkg: error processing sbcl (--configure):
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   sbcl
  E: Sub-process /usr/bin/dpkg returned an error code (1)

At first glance, this would indicate a missing dependency on
common-lisp-controller, but looking at the postinst script, it seems
more likely that the bug is here:

        if [ -x /usr/lib/common-lisp/bin/sbcl.sh ]; then
            /usr/sbin/register-common-lisp-implementation sbcl
        fi

The "if" tests for the wrong file, I think.


-- 
Crappy tools are not worth it. Find or make better ones.






More information about the Cl-debian mailing list