listing of apt-get packages
Hello,
is there a possibility to stop or hold some automatic upgrading or updating of specific packages? The ppp packages is making allways problems by apt-get upgrade or installing any other packages. I don't need the ppp to upgrade and i want to remove it from the upgrading list or tell apt-get to skip it always. Is there a list of packages who are waiting in a loop or queue? Thanks in advance. |
Hello,
Yes there is a possibility to avoid upgrading specific packages if you want to stay with a particular version. Have a look at the man page for apt_preferences: Code:
man apt_preferences Eric |
Ok, thank you. I will do it.
CU:D |
APT and Dpkg Quick Reference Sheet
Quote:
Using aptitude With aptitude, you can hold a package using #aptitude hold package_name Example #aptitude hold apache2 and remove the hold with aptitude unhold package_name |
Hello,
i did this in a command line: echo ``<package> hold'' | dpkg --set-selections Put <package> on hold and the shell was changing to: > What should i do now? When i write sudo apt-get upgrade, the packages i dont want or set it to hold, were writen to upgrade. I dont want this?! Regards. |
Go to Synaptic Package Manager(System > Administration > Synaptic Package Manager)
Click search button and type package name. When you find package select it and go to Package(in menu) and click Lock Version. And you are done, now that package will not show in update manager and it will not be updated. There are three ways of holding back packages, with dpkg, aptitude or with dselect. One method using aptitude has been told you by cragevil. Using dpkg: Put a package on hold: Code:
# echo "package hold" | sudo dpkg --set-selections Code:
# dpkg --get-selections Code:
# dpkg --get-selections | grep "package" With dselect, you just have to enter the [S]elect screen, find the package you wish to hold in its present state, and press = or H. The changes will go live immediately after you exit the [S]elect screen. |
Thank you, i will try it. If i need help, i will come forward.
CU |
All times are GMT -5. The time now is 01:56 PM. |