Is there a way to exclude a package from 'aptitude full-upgrade' or 'aptitude safe-upgrade'?
I normally run 'aptitude full-upgrade' regularly but there is one package I need to keep locked at an old version. The aptitude man page doesn't say anything about this.
thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Exclude a package from 'aptitude full-upgrade'?
Re: Exclude a package from 'aptitude full-upgrade'?
Try putting "debian hold package" into your favorite search engine, then read a few of the results. There are many.
Take my advice, I'm not using it.
Re: Exclude a package from 'aptitude full-upgrade'?
bdz wrote: one package I need to keep locked at an old version. The aptitude man page doesn't say anything about this.
man aptitude wrote:<package>=
Place <package> on hold: cancel any active installation, upgrade, or removal, and prevent this package from being
automatically upgraded in the future.
<package>:
Keep <package> at its current version: cancel any installation, removal, or upgrade. Unlike “hold” (above) this does not
prevent automatic upgrades in the future.
Re: Exclude a package from 'aptitude full-upgrade'?
I tried
but it comes back with
Should I be using hold with a different aptitude command? Or will libreoffice-base-core be skipped the next time I run
Code: Select all
aptitude -s full-upgrade libreoffice-base-core=
whereas there are 12 package that should be updated.No packages will be installed, upgraded, or removed
Should I be using hold with a different aptitude command? Or will libreoffice-base-core be skipped the next time I run
Code: Select all
aptitude full-upgrade
Re: Exclude a package from 'aptitude full-upgrade'?
@bdz,
if you want to lock libreoffice-base-core you just
You can later unhold it.
if you want to lock libreoffice-base-core you just
Code: Select all
# apt-mark hold libreoffice-base-core
libreoffice-base-core set on hold.