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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.