Public bug reported:
[EMAIL PROTECTED]:10204~>lsb_release -rd
[11:18PM]
Description: Ubuntu 8.04.1
Release: 8.04.1
[EMAIL PROTECTED]:10201~>uname -a
[11:07PM]
Linux craft 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64
GNU/Linux
[EMAIL PROTECTED]:10202~>show libghc6-regex-base-dev
[11:07PM]
Package: libghc6-regex-base-dev
Priority: extra
Section: universe/libdevel
Installed-Size: 504
Maintainer: Ubuntu MOTU Developers <[EMAIL PROTECTED]>
Original-Maintainer: Arjan Oosting <[EMAIL PROTECTED]>
Architecture: amd64
Source: haskell-regex-base
Version: 0.93.1-3
Depends: ghc6 (>= 6.8.2-1ubuntu1), ghc6 (<< 6.8.2+), libghc6-mtl-dev (>=
1.1.0.0-1), libghc6-mtl-dev (<< 1.1.0.0+)
Suggests: haskell-regex-base-doc (= 0.93.1-3)
Filename:
pool/universe/h/haskell-regex-base/libghc6-regex-base-dev_0.93.1-3_amd64.deb
Size: 67622
MD5sum: 5fef558f68a42d376e528c39f069757e
SHA1: baada6acfd4ebfadcc1f3da3069c1907706eafd0
SHA256: 246553c340fca9cb0fb80722cedef937603405efc485aeb39335b9352409b0ef
Description: GHC 6 library providing an API for regular expressions
A library containing the interface API for the Haskell regular
expressions library packages regex-posix, regex-pcre, regex-parsec,
regex-tdfs, regex-dfa.
.
This package contains the libraries for use with GHC 6.
Homepage: http://sourceforge.net/projects/lazy-regex
Bugs: mailto:[EMAIL PROTECTED]
Origin: Ubuntu
[EMAIL PROTECTED]:10215~>apt-cache policy libghc6-regex-base-dev
[11:19PM]
libghc6-regex-base-dev:
Installed: 0.93.1-3
Candidate: 0.93.1-3
Version table:
*** 0.93.1-3 0
500 http://archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
I am on a fully updated and upgraded Hardy Heron. libghc6-regex-base-dev cannot
seem to be installed; I have tried this on both my laptop and my desktop:
[EMAIL PROTECTED]:10201~>install libghc6-regex-base-dev
[11:03PM]
[sudo] password for gwern:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libghc6-regex-base-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libghc6-regex-base-dev (0.93.1-3) ...
ghc-pkg: command-line syntax error
Usage:
ghc-pkg register {filename | -}
Register the package using the specified installed package
description. The syntax for the latter is given in the ghc-pkg
documentation.
ghc-pkg update {filename | -}
Register the package, overwriting any other package with the
same name.
ghc-pkg unregister {pkg-id}
Unregister the specified package.
ghc-pkg expose {pkg-id}
Expose the specified package.
ghc-pkg hide {pkg-id}
Hide the specified package.
ghc-pkg list [pkg]
List registered packages in the global database, and also the
user database if --user is given. If a package name is given
all the registered versions will be listed in ascending order.
Accepts the --simple-output flag.
ghc-pkg latest pkg
Prints the highest registered version of a package.
ghc-pkg check
Check the consistency of package depenencies and list broken packages.
Accepts the --simple-output flag.
ghc-pkg describe {pkg-id}
Give the registered description for the specified package. The
description is returned in precisely the syntax required by ghc-pkg
register.
ghc-pkg field {pkg-id} {field}
Extract the specified field of the package description for the
specified package.
The following optional flags are also accepted:
--user use the current user's package database
--global (default) use the global package database
-f FILE --package-conf=FILE act upon specified package config file (only)
--global-conf=FILE location of the global package config
--force ignore missing dependencies, directories, and
libraries
--force-files ignore missing directories and libraries only
-g --auto-ghci-libs automatically build libs for GHCi (with
register)
-? --help display this help and exit
-V --version output version information and exit
--simple-output print output in easy-to-parse format for some
commands
--names-only only print package names, not versions; can
only be used with list --simple-output
dpkg: error processing libghc6-regex-base-dev (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libghc6-regex-base-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
I then tried downloading the .deb from
http://packages.ubuntu.com/hardy/libghc6-regex-base-dev and installing that
instead:
[EMAIL PROTECTED]:10204~>dpkg -i libghc6-regex-base-dev_0.93.1-3_amd64.deb
[11:08PM]
[sudo] password for gwern:
(Reading database ... 180205 files and directories currently installed.)
Preparing to replace libghc6-regex-base-dev 0.93.1-3 (using
libghc6-regex-base-dev_0.93.1-3_amd64.deb) ...
ghc-pkg: cannot find package regex-base-0.93.1
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement libghc6-regex-base-dev ...
Setting up libghc6-regex-base-dev (0.93.1-3) ...
ghc-pkg: command-line syntax error
Usage:
ghc-pkg register {filename | -}
Register the package using the specified installed package
description. The syntax for the latter is given in the ghc-pkg
documentation.
ghc-pkg update {filename | -}
Register the package, overwriting any other package with the
same name.
ghc-pkg unregister {pkg-id}
Unregister the specified package.
ghc-pkg expose {pkg-id}
Expose the specified package.
ghc-pkg hide {pkg-id}
Hide the specified package.
ghc-pkg list [pkg]
List registered packages in the global database, and also the
user database if --user is given. If a package name is given
all the registered versions will be listed in ascending order.
Accepts the --simple-output flag.
ghc-pkg latest pkg
Prints the highest registered version of a package.
ghc-pkg check
Check the consistency of package depenencies and list broken packages.
Accepts the --simple-output flag.
ghc-pkg describe {pkg-id}
Give the registered description for the specified package. The
description is returned in precisely the syntax required by ghc-pkg
register.
ghc-pkg field {pkg-id} {field}
Extract the specified field of the package description for the
specified package.
The following optional flags are also accepted:
--user use the current user's package database
--global (default) use the global package database
-f FILE --package-conf=FILE act upon specified package config file (only)
--global-conf=FILE location of the global package config
--force ignore missing dependencies, directories, and
libraries
--force-files ignore missing directories and libraries only
-g --auto-ghci-libs automatically build libs for GHCi (with
register)
-? --help display this help and exit
-V --version output version information and exit
--simple-output print output in easy-to-parse format for some
commands
--names-only only print package names, not versions; can
only be used with list --simple-output
dpkg: error processing libghc6-regex-base-dev (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
libghc6-regex-base-dev
It's worth noting that I am reasonably sure my local Haskell setup is not the
fault, as my normal Haskell hacking proceeds apace without problems, and I can
install regex-base from Hackage without a problem.
** Affects: haskell-regex-base (Ubuntu)
Importance: Undecided
Status: New
--
libghc6-regex-base-dev fails to install because of a ghc-pkg problem
https://bugs.launchpad.net/bugs/239641
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs