0

I inserted the CentOS 6 dvd in my machine, mounted it with following command

mount /dev/cdrom /DVD

Then this command to create repo file

vi /etc/yum.repos.d/DVD.repo

And inserted these lines in that file:

[DVD]
name=DVD Packages
baseurl=file:///DVD
gpgcheck=0

Can anyone tell me where did I go wrong?

1

1 Answer 1

2

Edit your DVD.repo by adding enabled=1 like this:

[DVD]
name=DVD Packages
baseurl=file:///DVD
gpgcheck=0
enabled=1
1
  • 1
    a minimal change to the OP's environment could reference their existing mountpoint of /DVD
    – Jeff Schaller
    May 9, 2016 at 18:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .