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
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 '16 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.