LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-25-2014, 12:57 PM   #1
demah
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
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

Last edited by demah; 09-25-2014 at 12:59 PM.
 
Old 09-25-2014, 03:22 PM   #2
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 262

Rep: Reputation: 55
FYI, since you are running Red Hat you can call up Red Hat support for help with your issue.
 
Old 09-26-2014, 01:11 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by demah View Post
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".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Red Hat Enterprise Linux 5.7 Updates Linux Security LXer Syndicated Linux News 0 07-22-2011 02:40 PM
linux security updates kjs Linux - Software 1 05-04-2005 12:56 PM
Security updates for Linux distros RobF Linux - Security 1 04-28-2005 03:20 PM
Can apt-get downlaod and install kernel updates? jdruin Linux - Software 2 04-19-2004 09:25 PM
Which linux version could I downlaod? dimpy Linux - Newbie 1 02-27-2002 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration