我正在尝试在已安装的卷上安装Base组.
这是我正在使用的自定义yum.conf:
[main] cachedir=/var/cache/yum/ debuglevel=2 logfile=/var/log/yum.log exclude=*-debuginfo obsoletes=1 gpgcheck=0 reposdir=/dev/null [base] name=Fedora 13 - i386 baseurl=file:///media/Fedora\ 13\ i386\ DVD/ enabled=1 [updates] name=Fedora 13 - i386 - Updates baseurl=http://mirror.sov.uk.goscomb.net/fedora/linux/updates/13/i386/ enabled=1
当我跑
# yum -c yum.conf --installroot=mnt groupinstall Base
我希望yum能在mnt下安装一切
但它继续说:
[...] Package irda-utils-0.9.18-10.fc12.i686 already installed and latest version Package time-1.7-37.fc12.i686 already installed and latest version Package man-pages-3.23-6.fc13.noarch already installed and latest version Package talk-0.17-33.2.4.i686 already installed and latest version Package pam_passwdqc-1.0.5-6.fc13.i686 already installed and latest version [...]
我试过了
rpm --base=mnt --initdb
然后使用rpm安装fedora-release(在/ mnt下工作并安装了软件包)
但是yum继续说所有软件包都已安装.
有任何想法吗?…