Re: Apply security updates offline on Red Hat Enterprise Linux release 8.7 (Ootpa) in Production environment

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

 



On Sun, Sep 10, 2023 at 12:58 AM Matty Sarro <msarro@xxxxxxxxx> wrote:

> There is a plugin for yum called "downloadonly". I think 8 has it by
> default.
>
> You should be able to go on to a like system and run "yum update
> --downloadonly --downloaddir=/path/to/directory" which will download all of
> the packages into /path/to directory.
>
> Then you can copy the packages to the target system in a given directory.
> Then to install navigate to the directory and run "yum local install *.rpm"
> and it'll update.
>
> -Matty
>
> On Sat, Sep 9, 2023, 12:49 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>
> wrote:
>
>
Hi Matty,

Thanks for your response. I have run the below command. What I have
observed is that it is updating all the packages.

#yum update --downloadonly --downloaddir=/root/rhel8securityupdates

Output of above command -> https://termbin.com/tcqrh

Is there a way to update only the security patches as per the below command
output?

yum list-security --security
> yum -y update --security


Please guide me. Thanks in Advance.

Best Regards,

Kaushal
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux