LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2007, 11:00 PM   #1
psandeepnair1985
LQ Newbie
 
Registered: Mar 2007
Posts: 9

Rep: Reputation: 0
Question Taking back up of an installed rpm


Friends,

I tried to take a backup of an installed rpm using the command rpm -i --repackage packagename. This created an rpm called packagename.rpm in /var/spool/repackage directory.
But when i tried later to reinstall from this backed up rpm it was not installing and was giving errors like MD5 checksum error?
Can any body provide me any way to install the backed up rpm in the system.
 
Old 04-08-2007, 04:56 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
Packages are just files, and you can back them up by making additional copies. On Debian and Ubuntu a copy of every installed package is kept in /var/cache/apt/archives/. The yum package manager on Fedora and RHEL 5 also keeps copies if you change as setting.
 
Old 04-08-2007, 08:15 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
If you want to reinstall a package made by the --repackage option use these options :
Quote:
cd /var/spool/repackage
rpm -Uvh --nodigest --nosignature --oldpackage PACKAGE_FILE
because the repackaging doesn't include digest and signature in the PACKAGE_FILE.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Taking heath information and giving it back to consumers - www.whoissick.org LXer Syndicated Linux News 0 04-01-2007 06:31 AM
taking tar back up of only the directory structure procfs Linux - Newbie 3 09-04-2006 07:54 PM
Warning: time of day goes back (* us), taking countermeasures Jere P Linux - Networking 2 04-25-2006 05:14 AM
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
taking a look inside an rpm albean Linux - Newbie 3 11-13-2004 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration