LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Linux security updates downlaod (https://www.linuxquestions.org/questions/linux-security-4/linux-security-updates-downlaod-4175520062/)

demah 09-25-2014 12:57 PM

Linux security updates downlaod
 
Hello
I am trying to use yum-plugin-security and yum-downloadonly plugin to download all the security patches to a directory and push it out from my satellite server.
I was wondering if there is anything I can type to download all the packages for me instead of having to type out everypackage name one at a time.

--I was trying to use package name security to download all the security packages but it didnt work.
# yum install --downloadonly --downloaddir=/tmp/secrepo/ security
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
Setting up Install Process
No package security available.
Error: Nothing to do

--there are new security patches avaialble
# yum updateinfo list sec
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
RHSA-2014:1293 Critical/Sec. bash-4.1.2-15.el6_5.1.x86_64
RHSA-2014:0043 Moderate/Sec. bind-libs-32:9.8.2-0.23.rc1.el6_5.1.x86_64
RHSA-2014:0043 Moderate/Sec. bind-utils-32:9.8.2-0.23.rc1.el6_5.1.x86_64
RHSA-2013:1866 Moderate/Sec. ca-certificates-2013.1.95-65.1.el6_5.noarch
RHSA-2014:0561 Moderate/Sec. curl-7.19.7-37.el6_5.3.x86_64
RHSA-2013:1674 Moderate/Sec. dracut-004-336.el6.noarch
RHSA-2013:1674 Moderate/Sec. dracut-kernel-004-336.el6.noarch
RHSA-2014:1110 Important/Sec. glibc-2.12-1.132.el6_5.4.x86_64
RHSA-2014:1110 Important/Sec. glibc-common-2.12-1.132.el6_5.4.x86_64
RHSA-2014:0246 Important/Sec. gnutls-2.8.5-13.el6_5.x86_64
RHSA-2014:0595 Important/Sec. gnutls-2.8.5-14.el6_5.x86_64
RHSA-2013:0512 Low/Sec. httpd-2.2.15-26.el6.x86_64
RHSA-2013:0815 Moderate/Sec. httpd-2.2.15-28.el6_4.x86_64
RHSA-2013:1156 Moderate/Sec. httpd-2.2.15-29.el6_4.x86_64
RHSA-2014:0370 Moderate/Sec. httpd-2.2.15-30.el6_5.x86_64
RHSA-2014:0920 Important/Sec. httpd-2.2.15-31.el6_5.x86_64
RHSA-2013:0512 Low/Sec. httpd-tools-2.2.15-26.el6.x86_64
RHSA-2013:0815 Moderate/Sec. httpd-tools-2.2.15-28.el6_4.x86_64



--If I type the package name one at a time I can download them but I am looking for a faster way

# yum install --downloadonly --downloaddir=/tmp/secrepo/ bash-4.1.2-15.el6_5.1.x86_64
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.1.2-15.el6_4 will be updated
---> Package bash.x86_64 0:4.1.2-15.el6_5.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================== ======================================================
Package Arch Version Repository Size
==================================================================================================== ======================================================
Updating:
bash x86_64 4.1.2-15.el6_5.1 rhel-x86_64-server-6 905 k

YankeePride13 09-25-2014 03:22 PM

FYI, since you are running Red Hat you can call up Red Hat support for help with your issue.

unSpawn 09-26-2014 01:11 PM

Quote:

Originally Posted by demah (Post 5244212)
If I type the package name one at a time I can download them but I am looking for a faster way

If you run 'yum update' it should download all updates, regardless of specifying additional switches like "--downloadonly".


All times are GMT -5. The time now is 05:57 PM.