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

Re: Apt-get only security patches



* Rudolph van Graan <rvg@ifoni.com>: 
> Hi all,
> 
> Probably a stupid question, but one I don't know the answer for. Is
> there any simple way of telling apt or dpkg to *only* download and
> install security patches instead of other changes to a release [thinking
> testing or unstable here]. For example on one of my "stable" machines,
> the following happens when I do apt-get upgrade -u:
> 
> The following packages will be upgraded
>   kdewallpapers mime-support
> 2 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
> Need to get 0B/1030kB of archives. After unpacking 105kB will be freed.
> Do you want to continue? [Y/n]
> 
> Obviously neither is of real security importance, but will be updated
> nevertheless. [I don't want to remove the standard stable source from
> sources.list]

I'd do:

   # apt-get -o Dir::Etc::SourceList=/etc/apt/security_updates.list -o Dir::State::Lists=/var/lib/xxxxxxx/lists/ update
   
and then

   # apt-get -o Dir::Etc::SourceList=/etc/apt/security_updates.list -o Dir::State::Lists=/var/lib/xxxxxxx/lists/ upgrade

-- lorenzo



Reply to: