Re: Telling aptitude dist-upgrade it can add but not remove packages?
On 2006-04-11, Joris Huizer <jorishuizer@planet.nl> wrote:
> 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>` ...
That's what I've been doing. It just takes a while to sift through
the list picking out the ones that are causing others to be removed.
> 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)
I don't want to prevent aptitude from upgrading any package (except
when it's pinned because of apt-listbugs).
Reply to: