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?

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
Sollosa
  • 1,929
  • 4
  • 20
  • 38

1 Answers1

2

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

[DVD]
name=DVD Packages
baseurl=file:///DVD
gpgcheck=0
enabled=1
GAD3R
  • 66,769