LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-19-2004, 05:49 PM   #1
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
create my own update source RPM hdlist.cz


I have dozens upon dozens of RPM's on my HDD how do create or edit hdlist.cz file
so i can add them to the Media Manager in Mandrake 10.0

thanks


and is it possible to add rpm to my Mandrake 10.0 DVD so they are avaible to install during full install
 
Old 11-19-2004, 11:44 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
It's a snap and you can let urpmi automatically do it for you.

Place all of your RPM's in a seperate directory.

Make sure that you do NOT include ANY .cz files in the directory.

Now open the "Software Media Manager" and add this directory as a LOCAL source.

Give the source a name when you do, such as MyRPMs.

Let it do it's thing when you hit OK.

Exit out.

Now you will find that there is a NEW entry called /varlib/urpmi/hdlist.MyRPMs.cz etc.

Copy these files to the directory containing the RPM's and rename them to hdlist.cz, etc.

AS LONG AS YOU DO NOT CHANGE THE CONTENTS OF THE RPM directory, urpmi will pull from the hdlist.cz file you have created.

If you add NEW RPM's this file will be out of date.

So, as a result it is NOT a good idea to build one as I've indicated...

Rather add your local source, then any time you dump new RPM's into the directory, merely enter the Software Media Manager and "Update" the source to adjust it for the new RPM's.

The latter is much easier...

However the former trick is GREAT when you will be burning the RPM's to a CD or DVD where-in they do not change.

This causes URPMI NOT to have to re-read each RPM (which can take a while) and merely use the .cz files...
 
Old 11-20-2004, 10:32 PM   #3
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872

Original Poster
Blog Entries: 12

Rep: Reputation: 30
cool thanks

it worked really well
i didnt know it made a hdlist file in the var folder
worked like a charm

i downloaded PLF mirrors and Amsn, aMule and Java

+ added my Cedega


anything else worth adding before i make a DVD?


I wish the mandrakeLinux installer cd worked like the RpmDrake does in KDE make it a whole lot easier then searching. (filter)

I might sign up with Mandrake club just to request that.
 
Old 11-20-2004, 11:47 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Grab contrib as well, however SOME of contrib is already available on the powerpack CD's and DVD's.

If you have one of these distros, copy the contrib folder to a local directory then use one of the FTP clients to connect to a repository and download everything to the same directory.

Since some of the files exist, it will prompt you for what to do.

Select all of the existing files and tell it to skip them during the download.

This will insure that you only download what you are missing...
 
  


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
How to create file "kernel-source-version.rpm xinix Linux - Software 2 09-10-2005 01:45 AM
How to create devel rpm from source ? afaiq Linux - Software 5 06-16-2005 02:38 PM
MDK RPM update: risks upgrading kernel-source from 2.4.22-10mdk to 2.4.22-26mdk? Currux Mandriva 9 03-15-2004 07:45 AM
Can I use RPM to download and update all core source files? minorgod Linux - Software 1 02-06-2004 04:59 PM
binary vs source RPM (and other RPM questions) calimer Linux - Software 4 06-22-2003 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:22 AM.

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