LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2006, 12:17 AM   #1
Astral_Nomad
Member
 
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43

Rep: Reputation: 15
backing up RPMs


Im running Mandriva 2006 and wanted to know if theres a way to back up my rpm database and the rpm's themselves..

I just did a *major* download of rpms and it was a huge cost of download usage on my isp and i *dont* want to do it again if i dont have to?

any way to do this?

I have a dvd-burner so storage space is not an issue size-wise for backing up.

Thanks in advance.
 
Old 02-23-2006, 12:37 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Your rpms will have been stored in a subdirectory somewhere in /var/cache/urpmi. I am not sure how long they remain there before the cache is cleaned up so its best to make a backup asap.
 
Old 02-23-2006, 12:43 AM   #3
Astral_Nomad
Member
 
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by reddazz
Your rpms will have been stored in a subdirectory somewhere in /var/cache/urpmi. I am not sure how long they remain there before the cache is cleaned up so its best to make a backup asap.
thanks for the speedy reply.. thats the fastest ive seen here.. didnt send it 5 mins ago.. lol

okay.. will investigate..

thanks a bunch.
 
Old 02-27-2006, 12:30 AM   #4
Astral_Nomad
Member
 
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43

Original Poster
Rep: Reputation: 15
just an update.. it didnt work.. when i went to var/cache/urpmi it was empty and that was *immediately* after grabbing the updates.. thought maybe it was just being difficult because i wasnt in SU mode.. jumped to SU.. nope clean as a whistle there too
 
Old 02-27-2006, 04:18 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by Astral_Nomad
just an update.. it didnt work.. when i went to var/cache/urpmi it was empty and that was *immediately* after grabbing the updates.. thought maybe it was just being difficult because i wasnt in SU mode.. jumped to SU.. nope clean as a whistle there too
I've just checked and it seems like it cleans the cache once the updates are successfully installed. I will look around for another possible solution.
 
Old 03-14-2006, 03:16 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Ok, I read the urpmi manual a bit more and found the solution. You need to upgrade your system as follows,
Code:
#urpmi --auto-select --noclean
The --noclean switch tells urpmi not to remove the downloaded rpms from /var/cache/urpmi/rpms.
 
Old 03-14-2006, 04:06 AM   #7
Astral_Nomad
Member
 
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43

Original Poster
Rep: Reputation: 15
okay.. thanks..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 03:57 PM
Backing Up RH 6.1 Lilbudha Red Hat 1 05-20-2005 07:12 AM
Backing up /etc. Gag Halfrunt Linux - Newbie 1 12-05-2004 04:40 AM
backing up coheed Linux - Software 4 01-25-2004 10:01 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 01:38 PM

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

All times are GMT -5. The time now is 09:36 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