Hi Ian, Here's the output of your suggested commands and some other commands. I tried removing and then purging the ghc6 package to try to get rid of any extraneous state, and then reinstalling. Still, no /usr/bin/ghc. Tried dpkg-reconfigure as well. When is /usr/bin/ghc supposed to be created?
Your suggestion 'update-alternatives --auto ghc' does work, however. Thanks, Frederik # /usr/sbin/update-alternatives --list ghc /usr/lib/ghc-6.6/bin/ghc # /usr/sbin/update-alternatives --display ghc ghc - status is manual. link currently points to /usr/lib/ghc-6.4/bin/ghc /usr/lib/ghc-6.6/bin/ghc - priority 600 slave ghci.1.gz: /usr/share/man/man1/ghc6.1.gz slave hasktags: /usr/lib/ghc-6.6/bin/hasktags slave hp2ps: /usr/lib/ghc-6.6/bin/hp2ps slave stat2resid: /usr/lib/ghc-6.6/bin/stat2resid slave hsc2hs: /usr/lib/ghc-6.6/bin/hsc2hs slave ghc.1.gz: /usr/share/man/man1/ghc6.1.gz slave ghcprof: /usr/lib/ghc-6.6/bin/ghcprof slave ghc-pkg: /usr/lib/ghc-6.6/bin/ghc-pkg slave hp2ps.1.gz: /usr/share/man/man1/hp2ps-ghc6.1.gz slave runghc: /usr/lib/ghc-6.6/bin/runghc slave ghci: /usr/lib/ghc-6.6/bin/ghci Current `best' version is /usr/lib/ghc-6.6/bin/ghc. # dpkg -s ghc6 Package: ghc6 Status: install ok installed Priority: optional Section: devel Installed-Size: 105220 Maintainer: Ian Lynagh (wibble) <[EMAIL PROTECTED]> Architecture: i386 Version: 6.6-3 Provides: haskell-compiler, ghc, libghc6-cabal-dev, libghc6-base-dev, libghc6-haskell98-dev, libghc6- parsec-dev, libghc6-readline-dev, libghc6-regex-base-dev, libghc6-regex-compat-dev, libghc6-regex-pos ix-dev, libghc6-rts-dev, libghc6-stm-dev, libghc6-template-haskell-dev, libghc6-unix-dev Depends: haskell-utils, perl | perl5, gcc, libgmp3-dev, libc6 (>= 2.3.6-6), libgmp3c2, libncurses5 (> = 5.4-5), libreadline5 (>= 5.1), libreadline5-dev Suggests: ghc6-prof, ghc6-doc, haskell-doc Conflicts: ghc4 (<= 4.08.1-4) Description: GHC - the Glasgow Haskell Compilation system Version 6 of the Glorious Glasgow Haskell Compilation system (GHC). GHC is a compiler for Haskell98. . Haskell is "the" standard lazy functional programming language. Haskell98 is the current version of the language. The language definition and additional documentation can be found in the `haskell-doc' package. Alternatively, there is an online version at http://haskell.org/onlinereport/. # ls -l /usr/lib/*/bin/ghc* lrwxrwxrwx 1 root root 7 Jan 15 14:35 /usr/lib/ghc-6.6/bin/ghc -> ghc-6.6 -rwxr-xr-x 1 root root 133 Oct 25 2006 /usr/lib/ghc-6.6/bin/ghc-6.6 lrwxrwxrwx 1 root root 11 Jan 15 14:35 /usr/lib/ghc-6.6/bin/ghc-pkg -> ghc-pkg-6.6 -rwxr-xr-x 1 root root 174 Oct 25 2006 /usr/lib/ghc-6.6/bin/ghc-pkg-6.6 lrwxrwxrwx 1 root root 8 Jan 15 14:35 /usr/lib/ghc-6.6/bin/ghci -> ghci-6.6 -rwxr-xr-x 1 root root 148 Oct 25 2006 /usr/lib/ghc-6.6/bin/ghci-6.6 -rwxr-xr-x 1 root root 7094 Oct 25 2006 /usr/lib/ghc-6.6/bin/ghcprof # ls -al /usr/bin/ghc ls: cannot access /usr/bin/ghc: No such file or directory [2]# apt-get remove ghc6 Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: ghc6 ghc6-prof libghc6-mtl-dev 0 upgraded, 0 newly installed, 3 to remove and 587 not upgraded. Need to get 0B of archives. After unpacking 163MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 149145 files and directories currently installed.) Removing libghc6-mtl-dev ... Saving old package config file... done. Writing new package config file... done. Removing ghc6-prof ... Removing ghc6 ... # apt-get install ghc6 Reading package lists... Done Building dependency tree... Done Suggested packages: ghc6-prof The following NEW packages will be installed: ghc6 0 upgraded, 1 newly installed, 0 to remove and 587 not upgraded. Need to get 22.7MB of archives. After unpacking 108MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! ghc6 Authentication warning overridden. Get:1 http://ftp.uk.debian.org unstable/main ghc6 6.6-3 [22.7MB] Fetched 22.7MB in 19s (1167kB/s) Selecting previously deselected package ghc6. (Reading database ... 148078 files and directories currently installed.) Unpacking ghc6 (from .../archives/ghc6_6.6-3_i386.deb) ... Setting up ghc6 (6.6-3) ... # ls -al /usr/bin/ghc ls: cannot access /usr/bin/ghc: No such file or directory [2]# dpkg --purge ghc6 (Reading database ... 148821 files and directories currently installed.) Removing ghc6 ... Purging configuration files for ghc6 ... # apt-get install ghc6 Reading package lists... Done Building dependency tree... Done Suggested packages: ghc6-prof The following NEW packages will be installed: ghc6 0 upgraded, 1 newly installed, 0 to remove and 587 not upgraded. Need to get 0B/22.7MB of archives. After unpacking 108MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! ghc6 Authentication warning overridden. Selecting previously deselected package ghc6. (Reading database ... 148077 files and directories currently installed.) Unpacking ghc6 (from .../archives/ghc6_6.6-3_i386.deb) ... Setting up ghc6 (6.6-3) ... # ls -al /usr/bin/ghc ls: cannot access /usr/bin/ghc: No such file or directory # dpkg-reconfigure ghc6 # ls -al /usr/bin/ghc ls: cannot access /usr/bin/ghc: No such file or directory On Fri, May 11, 2007 at 12:51:06PM +0000, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #420004: missing "ghc" symlinks to "ghc6", > which was filed against the ghc6 package. > > It has been closed by Ian Lynagh <[EMAIL PROTECTED]>. > > Their explanation is attached below. If this explanation is > unsatisfactory and you have not received a better one in a separate > message then please contact Ian Lynagh <[EMAIL PROTECTED]> by replying > to this email. > > Debian bug tracking system administrator > (administrator, Debian Bugs database) > > From: Ian Lynagh <[EMAIL PROTECTED]> > Subject: Re: missing "ghc" symlinks to "ghc6" > To: [EMAIL PROTECTED] > Date: Fri, 11 May 2007 13:44:26 +0100 > X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no > version=2.60-bugs.debian.org_2005_01_02 > X-Spam-Level: > User-Agent: Mutt/1.5.13 (2006-08-11) > > > There is a /usr/bin/ghc symlink, using the alternatives system. > > If you don't have one for some reason then > /usr/sbin/update-alternatives --auto ghc > as root may fix it. > > Otherwise, > /usr/sbin/update-alternatives --list ghc > /usr/sbin/update-alternatives --display ghc > dpkg -s ghc6 > ls -l /usr/lib/*/bin/ghc* > may provide clues as to what is going on. > > > Thanks > Ian > -- http://ofb.net/~frederik/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

