Your message dated Sun, 17 Jun 2012 09:33:41 +0000
with message-id <e1sgbrz-0006g4...@franck.debian.org>
and subject line Bug#676874: fixed in dpkg 1.16.4.3
has caused the Debian Bug report #676874,
regarding [update-alternatives] Should allow too large priority values for
backwards compatibility
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 ow...@bugs.debian.org
immediately.)
--
676874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676874
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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: dpkg
Source-Version: 1.16.4.3
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:
dpkg-dev_1.16.4.3_all.deb
to main/d/dpkg/dpkg-dev_1.16.4.3_all.deb
dpkg_1.16.4.3.dsc
to main/d/dpkg/dpkg_1.16.4.3.dsc
dpkg_1.16.4.3.tar.bz2
to main/d/dpkg/dpkg_1.16.4.3.tar.bz2
dpkg_1.16.4.3_amd64.deb
to main/d/dpkg/dpkg_1.16.4.3_amd64.deb
dselect_1.16.4.3_amd64.deb
to main/d/dpkg/dselect_1.16.4.3_amd64.deb
libdpkg-dev_1.16.4.3_amd64.deb
to main/d/dpkg/libdpkg-dev_1.16.4.3_amd64.deb
libdpkg-perl_1.16.4.3_all.deb
to main/d/dpkg/libdpkg-perl_1.16.4.3_all.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 676...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 17 Jun 2012 10:56:15 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source amd64 all
Version: 1.16.4.3
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
libdpkg-dev - Debian package management static library
libdpkg-perl - Dpkg perl modules
Closes: 676874
Changes:
dpkg (1.16.4.3) unstable; urgency=low
.
* On «update-alternatives --install» only warn for now on out of range
priorities and clamp the values, as there seems to be packages using
priorities > INT_MAX, which although bogus as they were previously
overflowing the int used to store them, that would cause installation
failures when upgrading from squeeze. This will be reverted to an
error after wheezy. Closes: #676874
Checksums-Sha1:
68553fb7883e2cfd793fc82d973baefe67529b2b 1383 dpkg_1.16.4.3.dsc
192971b080a3ab631630a39dc8fdcbb51efd48d8 5617310 dpkg_1.16.4.3.tar.bz2
8d8243df75a477104721e8b906a848caf83aef6a 655816 libdpkg-dev_1.16.4.3_amd64.deb
8b42f61e002c8764d679e480a1559bb22991f72d 2366940 dpkg_1.16.4.3_amd64.deb
2e5076ef22d8be6c4df19a8460d31953aa78a385 1092042 dselect_1.16.4.3_amd64.deb
6176c5eabef6d4380b2bfc9db37d301a453fe0a4 1139556 dpkg-dev_1.16.4.3_all.deb
3fd8974af1f16988587d588419a9a231a749703d 853510 libdpkg-perl_1.16.4.3_all.deb
Checksums-Sha256:
1948ba1fc4086a02e5ae65ab749fe31bd4ac3264781f973675d93169814da69a 1383
dpkg_1.16.4.3.dsc
065d14538eac820f980f52670053124616996d505be2402a8dd3aba9ab38855e 5617310
dpkg_1.16.4.3.tar.bz2
1cf0edc2acba28ef2510f38ac40c61bf533269b0968d93fbf3a4554a95d63e30 655816
libdpkg-dev_1.16.4.3_amd64.deb
bd0385d106fdc34fdc60a55eb7d5ea2a2745a3182ead1356dfb03f923ce967e7 2366940
dpkg_1.16.4.3_amd64.deb
0ed32bbfe396d1daa00d9ba229d7015cf06565cd9ad55bd2a6e3dd664d725120 1092042
dselect_1.16.4.3_amd64.deb
b99bb10185ecb9204cb333680def0f0fa12b4f3962873dd90fd198f6cc52a23e 1139556
dpkg-dev_1.16.4.3_all.deb
a62a442aaec3c2b1aac35ba073b3248a971dba998cc742db9df8efc5fd57ac6a 853510
libdpkg-perl_1.16.4.3_all.deb
Files:
8ceb364935b1bed7e9b358a1f385d926 1383 admin required dpkg_1.16.4.3.dsc
39c74a948c6fe4c02ed9f15556fe179d 5617310 admin required dpkg_1.16.4.3.tar.bz2
5cff63d7cee10dc20ed1d7eac6be1d29 655816 libdevel optional
libdpkg-dev_1.16.4.3_amd64.deb
19e8700d0da64c87804b6205d0541290 2366940 admin required dpkg_1.16.4.3_amd64.deb
687e3e38e0ac5242d2f0b074d7655dd1 1092042 admin optional
dselect_1.16.4.3_amd64.deb
c1f1a66a66508f9a155c4843a2eea2de 1139556 utils optional
dpkg-dev_1.16.4.3_all.deb
12c7cd4be6e64fe9e91a1e2591bdd91a 853510 perl optional
libdpkg-perl_1.16.4.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk/dnl4ACgkQuW9ciZ2SjJsdAQCaA0Q2medlf4nTUBHeOBE0kSQg
z6wAnjsT/plWqI1tSWzk9gGhY1iuJSfF
=JcQQ
-----END PGP SIGNATURE-----
--- End Message ---