|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Chad Woolley <thewoolleyman@xxxxxxxxx> writes: > On Fri, Oct 15, 2010 at 5:08 AM, James Antill <james-yum@xxxxxxx> wrote: >> This is the main problem, $releasever is set by looking in the rpmdb >> and seeing what provides redhat-release. However with the first run >> of --installroot you don't have an rpmdb, and so $releasever is unset. >> With newer versions of yum you can use --releasever=/ etc. but for >> older versions of yum you'll have to edit all your .repo files and >> manually change the $releasever to something. > > Thank you for the reply, manually editing worked. > > Is there any way I can initialize the rpmdb with the correct > redhat-release, or avoid the need to manually edit the .repo files? No, that's why we added the --releasever option. -- James Antill -- james@xxxxxxxxxxxxxxxxx http://yum.baseurl.org/wiki/releases http://yum.baseurl.org/wiki/whatsnew/3.2.29 http://yum.baseurl.org/wiki/YumMultipleMachineCaching _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]