Can't pin firefox-3 not to install

Derek Broughton news at pointerstop.ca
Wed Sep 10 20:08:24 UTC 2008


Dexter Filmore wrote:

> /etc/apt/preferences looks like this:
> 
> Package: firefox
> Pin: version 3.*
> Pin-Priority: -100
> 
> 
> apt-cache policy firefox
> 
> gives me:
> 
> firefox:
>   Installed: (none)
>   Candidate: 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
>   Package pin: 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
>   Version table:
>      3.0.1+build1+nobinonly-0ubuntu0.8.04.3 -100
>         500 http://de.archive.ubuntu.com hardy-updates/main Packages
>         500 http://security.ubuntu.com hardy-security/main Packages
>      3.0~b5+nobinonly-0ubuntu3 -100
>         500 http://de.archive.ubuntu.com hardy/main Packages
> 
> Doesn't look quite right to me. Besides firefox-2 is installed. Isn't
> listed as installed since it's not really another version but a different
> package, I take it.
> Still, how about ff3?

What's the question?  That package is pinned - I can't recall whether -100
says never download, but both versions are definitely priority -100.  But
that package isn't firefox-3.0, either.

So you could install a 2.x version of this package (if you can find one) and
it will (presumably) depend on firefox-2.  Then it should never be
upgraded, because the 3.x versions will always have lower priority than the
installed version (which is 100)
-- 
derek





More information about the kubuntu-users mailing list