How to install and update packages from DVD which I mounted? What I do so far is to mount the DVD.
#mount -r -t iso9660 /dev/sr0 /mnt/DVD
So now is there a way to update it automatic all packets or I must do one by one? For example:
yum --disablerepo=\* --enablerepo=DVD install ....
UPDATE: This is content of /etc/yum.repos.d/local.repo
[DVDRepo]
name=Local DVD Repository
baseurl=file:///mnt/DVD
enabled=1
gpgcheck=1
Best Answer
first you have to create a repo file for your new repo (the dvd) For example a file called /etc/yum.repos.d/dvd.repo
Then you should disable your other repos and update, and you'll be able to run a yum update from there.