Hi all, when using rpm -U, should we use the same package-name/version or can use different version? Example, if I have installed package pkg101, if I get pkg102.rpm, when I run rpm -U pkg102, it will automatically uninstall pkg101 first? Rgds, Verdi __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
On Sat, 2002-02-23 at 07:01, Cincai Patron wrote:
Hi all,
when using rpm -U, should we use the same package-name/version or can use different version?
Example, if I have installed package pkg101, if I get pkg102.rpm, when I run rpm -U pkg102, it will automatically uninstall pkg101 first?
Rgds, Verdi
Hi Verdi, rpm -U means 'upgrade' (or maybe 'update', not really sure) It can be used instead of rpm -i as your default option, btw, if there is no old package, then it will just install, in any other case, it will update, i.e. overwrite the older files with the later ones. So, rpm -U is perfect for your purpose as described above. I normally use rpm -Uvh, which means v=verbose (give some feedback) and h=hash (#), i.e. count to fifty with ##### to show install progress. If the new package pkg102.rpm is not working, you can go back to pkg101.rpm by issueing: rpm -Uvh --oldpackage pkg101.rpm I once downloaded a fat pdf book from redhat.com, called max-rpm, which gives good advice on the whole rpm command. For good info, I can only recommend you to do this too:-)) Cheers ... Wolfi ============================================= mailto:wolfi_z@yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Thanks Wolfi, will try to get the pdf you mentioned about. Rgds, Verdi --- wolfi <wolfi_z@yahoo.com> wrote:
On Sat, 2002-02-23 at 07:01, Cincai Patron wrote:
Hi all,
when using rpm -U, should we use the same package-name/version or can use different version?
Example, if I have installed package pkg101, if I get pkg102.rpm, when I run rpm -U pkg102, it will automatically uninstall pkg101 first?
Rgds, Verdi
Hi Verdi,
rpm -U means 'upgrade' (or maybe 'update', not really sure)
It can be used instead of rpm -i as your default option, btw, if there is no old package, then it will just install, in any other case, it will update, i.e. overwrite the older files with the later ones. So, rpm -U is perfect for your purpose as described above.
I normally use rpm -Uvh, which means v=verbose (give some feedback) and h=hash (#), i.e. count to fifty with ##### to show install progress.
If the new package pkg102.rpm is not working, you can go back to pkg101.rpm by issueing:
rpm -Uvh --oldpackage pkg101.rpm
I once downloaded a fat pdf book from redhat.com, called max-rpm, which gives good advice on the whole rpm command. For good info, I can only recommend you to do this too:-))
Cheers ... Wolfi ============================================= mailto:wolfi_z@yahoo.com
__________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
you use rpm -U newpackg On Sat, 23 Feb 2002 07:39:21 -0800 (PST) Cincai Patron <cincaipatron@yahoo.com> wrote:
Thanks Wolfi, will try to get the pdf you mentioned about.
Rgds, Verdi
--- wolfi <wolfi_z@yahoo.com> wrote:
On Sat, 2002-02-23 at 07:01, Cincai Patron wrote:
Hi all,
when using rpm -U, should we use the same package-name/version or can use different version?
Example, if I have installed package pkg101, if I get pkg102.rpm, when I run rpm -U pkg102, it will automatically uninstall pkg101 first?
Rgds, Verdi
Hi Verdi,
rpm -U means 'upgrade' (or maybe 'update', not really sure)
It can be used instead of rpm -i as your default option, btw, if there is no old package, then it will just install, in any other case, it will update, i.e. overwrite the older files with the later ones. So, rpm -U is perfect for your purpose as described above.
I normally use rpm -Uvh, which means v=verbose (give some feedback) and h=hash (#), i.e. count to fifty with ##### to show install progress.
If the new package pkg102.rpm is not working, you can go back to pkg101.rpm by issueing:
rpm -Uvh --oldpackage pkg101.rpm
I once downloaded a fat pdf book from redhat.com, called max-rpm, which gives good advice on the whole rpm command. For good info, I can only recommend you to do this too:-))
Cheers ... Wolfi ============================================= mailto:wolfi_z@yahoo.com
__________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (3)
-
Cincai Patron
-
Landy Roman
-
wolfi