Jump to content

Saving RPM files


Recommended Posts

I was just wondering if it'd be possible to save the files that we use to update the system. I've already downloaded more than 1 GB of rpms to keep MDK 10 updated (cooker >CE> Official, whatever) and according to what I could see there are more files there in the mirrors to be downloaded. Actually, I would like to save future time in the case I have to reinstall the OS.


I did a search in the system but didn't find where these rpms are stored.



Link to comment
Share on other sites

I had already checked if /usr/rpms was an option, but no success.

This issue could be a good point for improvement, to be checked by the developers in the future.


Edited by william
Link to comment
Share on other sites

I don't urpmi them directly, but instead get the list of needed ones from package manager, then manually download these to a created folder, then do genhdlist ./ <name-of-file>

urpmi.addmedia <name-fof-file> ://home/william/<name-of-file>

Then urpmi will get them from the file instead of from internet, and on re-install of mdk saves many hours.




Link to comment
Share on other sites

Hi WilliamS.


I use the same as you do. The only time I have come a little unstuck is when I have not downloaded other than what I think I needed and then when using urpmi to install the programs it tells me one has a dependency need. You guessed it one of the ones I didn't download. But that is no big deal, I just went back online and downloaded the extras needed.


One other trick I used to do is find the folder that the rpms were being downloaded to and while the last one or two were being downloaded, I would CUT and paste them into another folder and when the last one was completed downloading, urpmi would stop the install process because the other rpms were not there as it expected them to be so at that time I would COPY that last one or two rpms to the folder I had set up for the other rpms and then COPY ALL of them back to their original download place. I then reactivated the install process which would run to completion but I now had safely stored copies of all of the rpms which I then burnt onto a CDROM creating my own ERRATA disk.

Tedious??? Not at all especially when ever I did reinstalls I had all the ERRATA and any other stuff ready to reinstall also without having to download it all over again.


When you consider ERRATA has rpms for a whole load of other stuff you don't need or use then this method also picked up all the dependencys of the stuff you selected.

Using the first method meant an occasional further downloading sometimes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...