[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Telling aptitude dist-upgrade it can add but not remove packages?



Adam Funk wrote:
Is there any set of command-line options that will let me `aptitude
dist-upgrade` so that it will add any packages necessary to upgrade
existing packages, but not remove any currently installed packages?



You could run `aptitude dist-upgrade` and use the list of packages to install with `aptitude install <packages>` ... If you are only concerned about a small number of packages, you could use `aptitude hold <packages>` which tells aptitude never to change those (until you tell it to do something else with them)

HTH,

Joris



Reply to: