Re: yum question

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

 



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.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux