Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi i am trying to install packages from fedora 15 dvd using yum
but no success till know
I have created a file.repo
in /etc/yum.repo.d/
[name]
name=name
baseurl=file:///media/fedoradvdpath/
gpgcheck=0
enabled=1
yum update all is showing error that repomd.xml not found.
Is the baseurl pointing to the directory that holds the repomd.xml file?
Example: If the repomd.xml file is in /media/fedoradvdpath/Server/, the baseurl should point to that.
PS: I'm not familiar with Fedora, but on Red Hat DVD's there can be more then one repo present (Server/Cluster/etc). Make sure you point to the correct repo.
It seems you are directly pointing yum to some dvd inside media which I think is inappropriate
you will have to copy the RPMS to local directory for a start then follow proper steps to configure yum
use createrepo to create repomd.xml and other repodata inside the repository
use google to search "how to configure yum in fedora"
first i would NOT NOT install anything off the dvd
it is old and the versions on it are INCOMPATIBLE with any programs updated from the fedora reop
basically if you did any of the required security updates you WILL NOT be installing any program from the dvd
Even if you set up the "install-media" yum WILL grab the CURRENT from the fedora repo and fedora-updates
so do not even bother with dvd
it is useless .
the 4.6 gig install dvd for fedora 15 already has 4.5 gig's of updates
99.99% of the dvd is outdated .
replace the "enable=0" with a "enable=1" in the media repo ( might be called "packagekit-media.repo" )
if it is not in the etc/yum.repo/ folder it will be on the dvd
but
when you try to install from the dvd yum will AUTOMATICALLY grab the CURRENT version from the fedora updates repo
and NOT install from the dvd
the dvd is useless
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.