|
|
按照以下步骤安装layman后
emerge layman
sed -i -e 's/\(nocheck.*\)no/\1yes/' /etc/layman/layman.cfg
echo "source /usr/local/portage/layman/make.conf" >> /etc/make.conf
mkdir -p /usr/local/portage/layman
echo PORTDIR_OVERLAY=\"\" > /usr/local/portage/layman/make.conf
USE="-nowebdav" emerge subversion
执行layman -f -a gentoo-china 或layman -L或layman -S等命令时均出现以下错误
* Failed to update the overlay list from: http://www.gentoo.org/proj/en/overlays/layman-global.txt
* Error was:
* Failed to parse the overlays list fetched from http://www.gentoo.org/proj/en/overlays/layman-global.txt
* This means that the downloaded file is somehow corrupt or there was a problem with the webserver. Check the content of the file. Error was:
* Failed to parse the overlay list!
* Error was:
* No module named pyexpat
* Failed to read a cached version of the overlay list from http://www.gentoo.org/proj/en/overlays/layman-global.txt. You probably did not download the file before. The corresponding entry in your layman.cfg file will be disregarded.
* Error was:
* Failed to read the overlay list at ("/usr/local/portage/layman/cache_65bd38402ac8431067b54904bd2ed2d1.xml")!
* Error was:
* [Errno 2] No such file or directory: '/usr/local/portage/layman/cache_65bd38402ac8431067b54904bd2ed2d1.xml'
该如何解决? |
|