Operating System - Linux
1823143 Members
3444 Online
109647 Solutions
New Discussion юеВ

up2date in redhat linux 4

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

up2date in redhat linux 4

Hi All,

I am using RHEL ES 4. Just now i have registered it with RHN.

Now i want to update the latest patches.

I know the command "up2date" is being used for updating patches.

I have some questions on "up2date"

1)what is the command to see all the available updates?

2)what is the command to update a single package?

3)what is the command to update the set of packages?

4)what is the command to update all the packages?

5)what is the command to download the packages only, not install?

6)How to install the package newly, not updating?

7)is up2date only displaying updatable packages only?
2 REPLIES 2
Michal Kapalka (mikap)
Honored Contributor

Re: up2date in redhat linux 4

hi,

simple read a man page from up2date

http://linux.die.net/man/8/up2date

mikap
skt_skt
Honored Contributor
Solution

Re: up2date in redhat linux 4







1)what is the command to see all the available updates?

up2date --dry-run

2)what is the command to update a single package?
up2date pkgname; up2date luci
3)what is the command to update the set of packages?
up2date kernel or up2date kernel*( check by up2date -d option which will indicate what all getting selcted with that pattern)

4)what is the command to update all the packages?
up2date -u
5)what is the command to download the packages only, not install?
up2date -u -d
6)How to install the package newly, not updating?
rpm -ivh *.rpm

7)is up2date only displaying updatable packages only?

yes