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

Re: apt-get dist-upgrade-except-foo1[-and-foo2] ?



Adam C Powell IV <hazelsct@mit.edu> writes:

> Juan Miguel Bocanegra wrote:
> 
> > Question is: Is there a way of upgrade all but these two (or any other)
> > packages?
> 
> Yes, in your favorite apt front-end just tell it to "hold" these two.  For
> example, in dselect, go to the package and hit = and it will not be upgraded.

Or, if you like the command-line, use
echo "<packagename> hold" | dpkg --set-selections

Hubert



Reply to: