[olug] apt-get with RedHat basics

Scott Jones scott at exti.net
Mon Mar 31 20:29:02 UTC 2003


On Monday 31 March 2003 02:09 pm, Ryan O'Rourke wrote:

> Does anyone know how I can use apt-get on RH 8 to exclude certain
> packages I don't want to upgrade?
> For example, I would like to upgrade all packages on my system except
> those associated with Apache, PHP, MySQL, and glibc.
> Google tells me something like 'apt-get dselect-upgrade hold
> packages_to_hold' should work to exclude packages on Debian, but the
> dselect option doesn't seem to be supported on RH.

You can set it in /etc/apt/apt.conf:

RPM
   // Leave list empty to disable
   Hold {
       "package-to-hold";
   };



More information about the OLUG mailing list