[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum question



Markus Kesaromous wrote:
 > I wounder if you could just copy the medio.repo file from the DVD.
 >
 > Mike

Nop! It did not work. To wit:

yum --disablerepo=adobe-linux-i386,fedora,updates,updates-testing,local --enablerepo=/media/dvd/media.repo update

Error getting repository data for /media/dvd/media.repo, repository not found

It is not a repo file thatyum can use.

It needs baseurl...etc


I don't think that is a valid way to specify a .repo file. Either you have to write a yum.conf which specifies the directory media.repo resides in as the 'reposdir' and then invoke yum with,

$ yum -c /path/to/alternate/yum.conf update

or copy the media.repo to /etc/yum.repos.d/ and then run yum as,

$ yum --disablerepo=fedora,updates --enablerepo=InstallMedia update

Worth a try for the sake of completeness. ;)

--
Suvayu

Open source is the future. It sets us free.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]