SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Robert P. J. Day" <[log in to unmask]>
Reply To:
Robert P. J. Day
Date:
Fri, 11 Mar 2011 15:01:57 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (37 lines)
On Fri, 11 Mar 2011, Troy Dawson wrote:

> Hello,
> What package was this CentOS-Media.repo in?
> I've never seen it before, but I don't install CentOS very often.

  ok, i just added the following /etc/SL6-media.repo file:

[sl6-media]
name=SL6-$releasever - Media
baseurl=file:///media/SL6
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl6

  the only hack was that since the SL6 Install DVD is mounted under
/media with embedded spaces and surrounding double quotes, i threw in
that simple symlink of /media/SL6.  now if i want to install from the
DVD, i just use:

  # yum --disablerepo=\* --enablerepo=sl6-media install [whatever]

theoretically, it should work if (in this case) all dependencies can
be satisfied exclusively from the DVD.

rday

-- 

 =======================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
 =======================================================================

ATOM RSS1 RSS2