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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/871v8ger7x....@turtle.gmx.de

Reply via email to