Your message dated Sat, 16 Jun 2012 16:05:02 +0000
with message-id <[email protected]>
and subject line Bug#676970: fixed in ghc 7.4.1-4
has caused the Debian Bug report #676970,
regarding ghc: update-alternatives priority out of range
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
676970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676970
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ghc
Version: 7.4.1-3
Severity: important
Dear Maintainer,
When I try to insall ghc, this is the output I get:
asm@tara:~$ sudo apt-get install ghc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ghc-prof ghc-doc haskell-doc llvm-3.0
The following NEW packages will be installed:
ghc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/45.8 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Selecting previously unselected package ghc.
(Reading database ... 166376 files and directories currently installed.)
Unpacking ghc (from .../archives/ghc_7.4.1-3_amd64.deb) ...
Processing triggers for man-db ...
Setting up ghc (7.4.1-3) ...
update-alternatives: priority is out of range
Usage: update-alternatives [<option> ...] <command>
Commands:
--install <link> <name> <path> <priority>
[--slave <link> <name> <path>] ...
add a group of alternatives to the system.
--remove <name> <path> remove <path> from the <name> group alternative.
--remove-all <name> remove <name> group from the alternatives system.
--auto <name> switch the master link <name> to automatic mode.
--display <name> display information about the <name> group.
--query <name> machine parseable version of --display <name>.
--list <name> display all targets of the <name> group.
--get-selections list master alternative names and their status.
--set-selections read alternative status from standard input.
--config <name> show alternatives for the <name> group and ask the
user to select which one to use.
--set <name> <path> set <path> as alternative for <name>.
--all call --config on all alternatives.
<link> is the symlink pointing to /etc/alternatives/<name>.
(e.g. /usr/bin/pager)
<name> is the master name for this link group.
(e.g. pager)
<path> is the location of one of the alternative target files.
(e.g. /usr/bin/less)
<priority> is an integer; options with higher numbers have higher priority in
automatic mode.
Options:
--altdir <directory> change the alternatives directory.
--admindir <directory> change the administrative directory.
--log <file> change the log file.
--force allow replacing files with alternative links.
--skip-auto skip prompt for alternatives correctly configured
in automatic mode (relevant for --config only)
--verbose verbose operation, more output.
--quiet quiet operation, minimal output.
--help show this help message.
--version show the version.
dpkg: error processing ghc (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
ghc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running, dpkg --configure ghc, returns the same error. Someone on the Debian
IRC suggested that this was a packaging bug that just fudged the priority
number for update-alternatives. I have reproduced this bug on two independent
systems now.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghc depends on:
ii gcc 4:4.7.0-6
ii libbsd-dev 0.4.0-1
ii libc6 2.13-33
ii libc6-dev 2.13-33
ii libffi-dev 3.0.10-3
ii libffi5 3.0.10-3
ii libgmp-dev 2:5.0.5+dfsg-2
ii libgmp10 2:5.0.5+dfsg-2
ii libncurses5 5.9-8
ii libtinfo5 5.9-8
ghc recommends no packages.
Versions of packages ghc suggests:
pn ghc-doc <none>
pn ghc-prof <none>
pn haskell-doc <none>
pn llvm-3.0 <none>
ii perl 5.14.2-11
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ghc
Source-Version: 7.4.1-4
We believe that the bug you reported is fixed in the latest version of
ghc, which is due to be installed in the Debian FTP archive:
ghc-doc_7.4.1-4_all.deb
to main/g/ghc/ghc-doc_7.4.1-4_all.deb
ghc-dynamic_7.4.1-4_amd64.deb
to main/g/ghc/ghc-dynamic_7.4.1-4_amd64.deb
ghc-haddock_7.4.1-4_amd64.deb
to main/g/ghc/ghc-haddock_7.4.1-4_amd64.deb
ghc-prof_7.4.1-4_amd64.deb
to main/g/ghc/ghc-prof_7.4.1-4_amd64.deb
ghc6-doc_7.4.1-4_all.deb
to main/g/ghc/ghc6-doc_7.4.1-4_all.deb
ghc6-prof_7.4.1-4_all.deb
to main/g/ghc/ghc6-prof_7.4.1-4_all.deb
ghc6_7.4.1-4_all.deb
to main/g/ghc/ghc6_7.4.1-4_all.deb
ghc_7.4.1-4.debian.tar.gz
to main/g/ghc/ghc_7.4.1-4.debian.tar.gz
ghc_7.4.1-4.dsc
to main/g/ghc/ghc_7.4.1-4.dsc
ghc_7.4.1-4_amd64.deb
to main/g/ghc/ghc_7.4.1-4_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joachim Breitner <[email protected]> (supplier of updated ghc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 16 Jun 2012 12:48:18 +0200
Source: ghc
Binary: ghc ghc-prof ghc-doc ghc-dynamic ghc-haddock ghc6 ghc6-doc ghc6-prof
Architecture: source all amd64
Version: 7.4.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description:
ghc - The Glasgow Haskell Compilation system
ghc-doc - Documentation for the Glasgow Haskell Compilation system
ghc-dynamic - Dynamic libraries for the Glasgow Haskell Compilation system
ghc-haddock - Documentation tool for annotated Haskell source code
ghc-prof - Profiling libraries for the Glasgow Haskell Compilation system
ghc6 - transitional dummy package
ghc6-doc - transitional dummy package
ghc6-prof - transitional dummy package
Closes: 673081 676970 677096 677591
Changes:
ghc (7.4.1-4) unstable; urgency=low
.
[ Erik de Castro Lopo ]
* Add debian/patches/fix-PPC-right-shift-bug which fixes upstream GHC bug:
http://hackage.haskell.org/trac/ghc/ticket/6156 (Closes: #677591)
* Refresh other patches.
* debian/contol: Add myself to uploaders and set DM-Upload-Allowed to yes.
.
[ Joachim Breitner ]
* debian/patches/no-useless-timer: Backported from GHC 7.4.2, (Closes:
#677096)
* Make sure GHC is using ld.bfd, as it passes arguments not understood by
the gold linker (Closes: #673081)
* Use a saner priority for the runhaskell alternative. (Closes: #676970).
TODO for later: Consider removing the alternatives code altogether.
Checksums-Sha1:
44cfcf75d82d8e797445d1f1f7d56e8387fc569d 1841 ghc_7.4.1-4.dsc
02701e3cd751e1701d6d23e9a58321e083e16ee7 51830 ghc_7.4.1-4.debian.tar.gz
5e172bb040afc63f87de4085dceb4aeb1320e39b 14399388 ghc-doc_7.4.1-4_all.deb
a2e99a2c498b08437dfcec7b9e16f4b3cbad5dc8 26946 ghc6_7.4.1-4_all.deb
21862a12a3899e8983ff65e69d6f8fa45941f5c6 27074 ghc6-doc_7.4.1-4_all.deb
688e06dfa4006e369df2dbfeaf34a6ba44bafe8c 26618 ghc6-prof_7.4.1-4_all.deb
51796f499caa43f99bf17643dd8c9c3a0d7b03ad 45772712 ghc_7.4.1-4_amd64.deb
cc1cf9a50b3bcf10a6ebcd5a910deccf854668a6 44282296 ghc-prof_7.4.1-4_amd64.deb
e7185ced9fd06d19fe962734c3a295d58f19ff0c 20650870 ghc-dynamic_7.4.1-4_amd64.deb
03ee388cf98d5aaec4c0a3c6d3199a681d3a4bac 6769668 ghc-haddock_7.4.1-4_amd64.deb
Checksums-Sha256:
6d7baf53e626994388118d06d9f4930f1994ab56ddcec355cecc1e393fdf942b 1841
ghc_7.4.1-4.dsc
90915cfb61cbbccb551053c6e416ca6a00b5f6e8a32d30e0033a673c0b74a392 51830
ghc_7.4.1-4.debian.tar.gz
f35cbd2f75bf561f7a32a674ca02e6373201928f60ab86dd9c71e58fdbf93217 14399388
ghc-doc_7.4.1-4_all.deb
8d725eb01ad08dd1b86911ce28fbb960bd220e615eb6be3120ccf446049586ae 26946
ghc6_7.4.1-4_all.deb
d6e6585ebf8eff6a5e4d8c417e68ad5803b73fd4f7fa4cbbca498f3aad49f06e 27074
ghc6-doc_7.4.1-4_all.deb
534bbff2528a0fac60b65c2d11fd3d0ec33342252262e692fde3997a58177b62 26618
ghc6-prof_7.4.1-4_all.deb
3f82d876654279b57b7c050194e091ac2777c7362a5ebf4fd87504ba41484d9d 45772712
ghc_7.4.1-4_amd64.deb
fbf2aae93433d0182f52ab0e1d5e9b59ba680c2828579c5345113166cbf9b8bf 44282296
ghc-prof_7.4.1-4_amd64.deb
de0a6d3462eb98efacc145c9d0d5200751b851065668aed4875b76bfda3e76ab 20650870
ghc-dynamic_7.4.1-4_amd64.deb
e2c9e47e49b29a68971f000bc5ee1fe290aeec6d4c2542485bce2a972bc5b6d8 6769668
ghc-haddock_7.4.1-4_amd64.deb
Files:
809a0e53c3aa4bc4331c92a8533532c2 1841 haskell extra ghc_7.4.1-4.dsc
b49af91e6d3a9bb347fe8c19b40ab3e2 51830 haskell extra ghc_7.4.1-4.debian.tar.gz
20fa5e0ca4fc7e54ceb7efbebe707951 14399388 doc extra ghc-doc_7.4.1-4_all.deb
cd2a8b23ecfde8b677c8219ee39878a8 26946 haskell extra ghc6_7.4.1-4_all.deb
138f65a8d0445b2e0d55e899633a5863 27074 doc extra ghc6-doc_7.4.1-4_all.deb
b7f0e2e0a397ab44166fa7953de2d742 26618 haskell extra ghc6-prof_7.4.1-4_all.deb
436a3084c6d42cf022f2cac7dfc9eb6f 45772712 haskell extra ghc_7.4.1-4_amd64.deb
f28a3b602223465f1f37b8a8392dd0a2 44282296 haskell extra
ghc-prof_7.4.1-4_amd64.deb
5c0d86a0f29e5c032fbd80750c7a8c4f 20650870 haskell extra
ghc-dynamic_7.4.1-4_amd64.deb
f3bb510799f322cd6bdba7be9261161c 6769668 haskell extra
ghc-haddock_7.4.1-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk/ck1oACgkQ9ijrk0dDIGxKmgCgx1tGIcr9wbcyFSZORgliU2zM
9bgAoM94dsm6AacLfOSM4ACKX3BGGsW/
=gtrV
-----END PGP SIGNATURE-----
--- End Message ---