The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-27-2008
Registered User
 

Join Date: Jul 2007
Posts: 91
help regarding RPM

Helo I have base system 4.0.0.0 installed.
I m using linux operating system.
right now I have following packages are installed

ADMIN-4.0.0.0
DBASE-4.0.0.0

I want to make my system 4.1.0.0

for this I upgrade the above packages to ADMIN-4.1.0.0 and DBASE-4.1.0.0

now I want that when Uninstall 4.1.0.0 then I got the my base system as
4.0.0.0.
how do I achieve this.

If I erase the upgraded above packages then how i got the original packages

Regards,
Amit
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-28-2008
Registered User
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
man pages are best friend in *NIX

To help you i just looked in "man rpm" and found "--oldpackage" option provides you such functionality. Following sequence works for me

[root@sumit /root]# rpm -q procps
procps-2.0.11-7
[root@sumit /root]# rpm -U procps-2.0.6-5.i386.rpm
warning: procps-2.0.6-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
package procps-2.0.11-7 (which is newer than procps-2.0.6-5) is already installed
[root@sumit /root]# rpm -U --oldpackage procps-2.0.6-5.i386.rpm
warning: procps-2.0.6-5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
[root@sumit /root]#
Reply With Quote
  #3 (permalink)  
Old 05-28-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,288
It's not really clear what are these packages for, I'm unaware of their names, nor you have mentioned your specific Linux distro. Generally, RPM packages are upgraded with -Uvh flags.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
None

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 07:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66