The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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!

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-27-2008
amitpansuria amitpansuria is offline
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
  #2 (permalink)  
Old 05-28-2008
sumitpandya sumitpandya is offline
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]#
  #3 (permalink)  
Old 05-28-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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