[ydl-gen] Fwd: can yum use local RPMs?

John Wright jmw at chem.ucsd.edu
Mon Apr 9 13:03:13 MDT 2007


Chris,

Thanks for the info!  Actually, it isn't quite the root
directory of the dvd;  I needed  to set the baseurl as follows:

baseurl=file:///mnt/dvd/YellowDog

Where the 5.01 install iso dvd was mounted on /mnt/dvd, and its
root directory contained directories 'repodata' and
'YellowDog/RPMS', among others.  That worked perfectly for me
with yum from the command line, though not, for some reason,
with the GUI package manager from the 'System => Add/Remove
Packages' menu.

John Wright

 Dr. John M. Wright, Dept. of Chemistry & Biochemistry, M/S 0314, UCSD,
 La Jolla, CA 92093-0314; email: jwright(at)ucsd(dot)edu; phone: 858-534-3049

()  ascii ribbon campaign - against html mail 
/\                        - against microsoft attachments

On Saturday, 7 Apr 2007, Christopher Murtagh typed:
 
 >  Ok, here's how you do this. 
 > 
 >  1) Find the mountpoint or mount the disk to a specific path.
 > 
 >  2) As root, edit /etc/yum.repos.d/yellowdog-base.repo
 > 
 >  3) Comment out the 'mirrorlist' line by putting a '#' in front of it (same as 
 > the baseurl line)
 > 
 >  4) Add another line:
 >  
 > baseurl=file:///mnt/yellowdog
 > 
 > where '/mnt/yellowdog' is the path to the root directory (notice the 3 slashes 
 > in that file:// URL).
 > 
 >  5) edit the other files in that folder (yellowdog-extras.repo and 
 > yellowdog-updates.repo) and changed 'enabled=1' to 'enabled=0'.
 > 
 >  6) yum install kdebase kdeartwork kdemultimedia kdegraphics kdepim kdeaddons 
 > kdeedu kdeadmin kdelibs kdegames kdenetwork 
 > 
 > And that should get you KDE.
 > 
 > Cheers,
 > 
 > Chris
 > 


More information about the yellowdog-general mailing list