[Yum] --installroot behaviour has changed!

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

 



I am happily trying to move to CentOS4.  However, I have run into a 
serious issue with the way --installroot works with the version of yum 
included.  In the past I have been able to create an empty filesystem, 
mount it and do:

yum -y --installroot=`pwd`/mnt install rpm
yum -y --installroot=`pwd`/mnt install yum
yum -y --installroot=`pwd`/mnt install fedora-release

To build a filesystem that I can then chroot to and install all of the 
other packages I want.  Now, it fails with:

[root@titania ~]# yum -y --installroot=`pwd`/mnt install rpm
Setting up Install Process
Setting up Repos
extras                    100% |=========================|  324 B    00:00
/root/mnt/var/cache/yum/extras/repomd.xml:1: parser error : Space required 
after the Public Identifier
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                  ^
/root/mnt/var/cache/yum/extras/repomd.xml:1: parser error : SystemLiteral 
" or ' expected
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                  ^
/root/mnt/var/cache/yum/extras/repomd.xml:1: parser error : SYSTEM or 
PUBLIC, the URI is missing
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                  ^
Cannot open/read repomd.xml file for repository: extras
Error importing repomd.xml from extras: Error: could not parse file 
/root/mnt/var/cache/yum/extras/repomd.xml


I'm hoping that I'm doing something wrong with the new version of yum and 
there is a simple command line fix.  Help?

-- Matt
Nothing great was ever accomplished without _passion_


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux