On Thu, 2007-08-30 at 15:19 +0200, Alexander Todorov wrote: > Rex Dieter wrote: > > Alexander Todorov wrote: > > > >> I am using the --installroot option and noticed something strange. > >> The baseurl in my .repo file contains both $releasever and $basearch. > >> When using with --installroot $releasever is translated to "Null" not > > > > Does your installroot already include the 'redhat-release' pkg (or whatever > > is referenced as distroverpkg in your yum.conf)? > > No, it's an empty directory. > So distroverpkg is the requirement for that to work properly? > yes - that's where yum gets that variable from. you need a package which provides whatever distroverpkg is set to in your yum.conf. it defaults to redhat-release b/c redhat-release is provided by: fedora-release, centos-release, etc, etc -sv _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum