The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
RESTORE 4.0.4-1 (RESTORE-DC branch) iBot Software Releases - RSS News 0 01-24-2008 06:40 PM
RESTORE 4.0.3-1 (RESTORE-DC branch) iBot Software Releases - RSS News 0 01-10-2008 03:40 PM
RESTORE 4.0.3-1 (RESTORE-EE branch) iBot Software Releases - RSS News 0 01-10-2008 03:40 PM
RESTORE 4.0.0-2 (RESTORE-DC branch) iBot Software Releases - RSS News 0 01-08-2008 03:20 PM
RESTORE 4.0.0 (RESTORE-DC branch) iBot Software Releases - RSS News 0 12-25-2007 12:30 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-22-2008
Registered User
 

Join Date: Jul 2007
Posts: 91
regarding rpm restore

Helo,

when I use

rpm --upgrade packagename

It will upgrade the package name.

now I want to restore the original package name
is there any way so that I can restore the original package? using rpm command


Regards,
Amit
Reply With Quote
Forum Sponsor
  #2  
Old 05-22-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 352
In this case, you will have to uninstall the upgraded package. Use the command:

Code:
rpm -e <package-name>
Then query the package you want to install:Use the command:

Code:
rpm-q <orig_package-name>
And then install the package you desire.
Reply With Quote
  #3  
Old 05-25-2008
Registered User
 

Join Date: Jul 2007
Posts: 91
Quote:
Originally Posted by nua7 View Post
In this case, you will have to uninstall the upgraded package. Use the command:

Code:
rpm -e <package-name>
Then query the package you want to install:Use the command:

Code:
rpm-q <orig_package-name>
And then install the package you desire.
Helo thx for replying me.

I have following package installed

rpm -qa |grep ADMIN

It will give the following package installed:

ADMIN-4.0.0.1

Now I will upgrade the ADMIN package using the following command.

rpm --upgrade ADMIN-4.1.0.1

It will upgrade the ADMIN packagge to ADMIN-4.1.0.1

Now I want that when I uninstall the ADMIN-4.1.0.1 then I got the oirginal
package ADMIN-4.0.0.1

rpm --erase ADMIN-4.1.0.1

now is there anyway(using rpm command or whatever) so that I got the original package when i uninstalled the upgraded package name.


Regards,
Amit
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0