[Pkg-haskell-maintainers] Bug#676874: Bug#676874: ghc fails to configure after install (update-alternatives priority out of range)

Joachim Breitner nomeata at debian.org
Sun Jun 10 19:11:04 UTC 2012


Hi,

Am Sonntag, den 10.06.2012, 03:46 -0400 schrieb Aleksandar Micovic:
> update-alternatives: priority is out of range

this is likely due to a call setting the priority to 8600000600, which
has been there since ghc6_6.4-1 (13 Mar 2005!). Was there a recent
change in update-alternatives that disallows large priorities? Sounds
like this change in dpkg_1.16.4:
  * Check all parsed integers for out of range errors; i.e. that no negative
    values are allowed if not appropriate, and that no overflows occur.
    Closes: #580038
And indeed, the diff at
http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=commitdiff;h=2bf4b48#patch12 confirms that. CC’ing 580038 at b.d.o for that; looks like the fix introduced a regression.

(Not saying it is sane to use that number, but its there and its been
there for long, so I don’t think dpkg should break that so shortly
before the freeze.)

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20120610/65386e39/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list