Link to home
Start Free TrialLog in
Avatar of sma3092
sma3092

asked on

Debian /etc/apt/sources.list

Hi

I use the command apt-get to keep my system up to date.  The list of repositories I use to get updated
packages is kept in /etc/apt/sources.list.  I already have a particular package installed which I do not want
to update.

How do I get apt-get to ignore updating this package when it is invoked on the command line?
Is it possible to put the package name in the sources.list file etc.  This would be really useful so that if someone
else is managing the system they do not have to be aware that this package should be ignored.

Thanks in Advance
ASKER CERTIFIED SOLUTION
Avatar of dbacalja
dbacalja

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kyle_in_taiwan
kyle_in_taiwan

Also, by working that way none of the necessary package dependencies upon which the package is dependent will be altered without you first authorizing the resolution method.  I don't think apt by itself is able to work out the dependencies as cleanly as aptitude, and certainly the display and notification methods it uses are much less transparent.