Is it possible to only install the security updates. If this is possible it needs to be done on several servers and Ubuntu virtual machines (Manually in command line) .
I already tried a few solutions but nothing worked out for me. The goal is that by running a script of some sort to sort the security updates together and then update only the security updates.
It isn't possible to install them automatic because the servers and the virtual machines have great impact on the company.
Btw I am a noob on linux / Ubuntu.
I tried:
sudo apt-get upgrade
But this only upgrades the existing software. I tried this with no result:
apt-get -s dist-upgrade | grep "^Inst" | grep -i securi | awk -F " " {'print $2'} | xargs apt-get install
I also tried this:
sudo sh -c 'grep ^deb /etc/apt/sources.list |grep securi >> /etc/apt/sources.security.repos.only.list'
with no result. The only option I see left is to manually download the updates and then sort them out.
I already saw that article .
sudo sh -c 'apt-get -o Dir::Etc::sourcelist="secsrc.list" \ -o Dir::Etc::sourceparts="-" update && \ apt-get --assume-no upgrade'
Maybe there is a possibility to work together with this the command above ? So that i only need to download the security updates , and because it is a company server, I cant just shutdown rest of the repository.
-o Dir::Etc::sourceparts="-" update &&
apt-get --assume-no upgrade' . Maybe there is a possibility to workt together with this the command abbove ? So that i only need to download the security updates , and becouse it is a company servers i cant just shutdown rest of the reposotory . – Ariejan Jan 28 '15 at 10:24