Re: A question about mixing releases
On 2010-09-26 11:20 +0200, Aniruddha wrote:
> I use apt-pinning to mix stable, testing and sid. because of a bug in
> Squeeze I've installed fglrx-modules-dkms from sid. Today I got an
> update for my fglrx packages I noticed these were pulled in from a sid
> repository. My question is the following: if you install a package
> from an unstable repository does it mean that apt/aptitude then tracks
> unstable updates for that package?
That depends on the Pin-Priority you use for it, see
apt_preferences(5). Could you show your /etc/apt/preferences file?
> And is it possible to prevent a specific package version from being
> updated (like package.mask in Gentoo)?
If you _only_ use aptitude, "aptitude hold <package>" works¹.
Unfortunately this is ignored by apt-get, you can use
"echo <package> hold" | dpkg --set-selections".
Sven
¹ This is not totally reliable with lenny's aptitude, but squeeze's
aptitude should always respect it.
Reply to: