3. 升级系统到最新
在完成安装之后,执行 pacman -Syu 更新系统,100%会得到下面错误:
error:
glibc: /lib exists in filesystem
这是由于archlinux本身安装文件的依赖错误,通过以下方法解决:
1) Updated ignoring glibc:
pacman -Su --ignore glibc
2) Removed pcmciautils:
pacman -R pcmciautils
3) Removed oxnas-no pci:
pacman -R kernel26-oxnas-nopci
4) Removed oxnas-pic:
pacman -R kernel26-oxnas-pci
5) Deleted the gmac_copro_firmware from /usr/lib/firmware and copied the one
from /lib/firmware to /usr/lib/firmware. ( I did this because I read a post
that Warhead specifically said to copy the one from /lib. The one on /usr/
lib/firmware may be the same so you might be able to skip this step.)
mv /lib/firmware/gmac_copro_firmware /usr/lib/firmware
rm -r /lib/firmware
6) Removed the symlink from /usr/lib/modules to /lib/modules that we linked
to install kmod earlier:
cd /lib
then
unlink modules
or
rm -rf modules
(depends on what you have)
7) Then I ran:
grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
and
find /lib -exec pacman -Qo -- {} +
to make sure that there weren't any other conflicts for glibc.
8) Then update:
pacman -Syu
好,如果一切顺利的话,重新启动系统也能启动没问题的话,恭喜你这部分没问题了。