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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-23-2006, 12:17 AM
|
#1
|
Member
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43
Rep:
|
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.
|
|
|
02-23-2006, 12:37 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
02-23-2006, 12:43 AM
|
#3
|
Member
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43
Original Poster
Rep:
|
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.
|
|
|
02-27-2006, 12:30 AM
|
#4
|
Member
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43
Original Poster
Rep:
|
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
|
|
|
02-27-2006, 04:18 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
03-14-2006, 03:16 AM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
|
|
|
03-14-2006, 04:06 AM
|
#7
|
Member
Registered: Jun 2005
Location: Ontario, Canada
Distribution: Mandriva 2009
Posts: 43
Original Poster
Rep:
|
okay.. thanks..
|
|
|
All times are GMT -5. The time now is 09:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|