我已经阅读了关于像 Gentoo 这样的基于源代码的 linux 发行版与像 Ubuntu 这样的预构建发行版相比如何有相当大的性能提升,因为它们从源代码安装并针对您的特定系统进行了优化。是否可以从源代码构建 Ubuntu 以获得同样的好处?
我在 64 位机器上的 Ubuntu 12.04 LTS 上遇到以下问题:每当我尝试更新 aptitude 存储库时,更新都会奇怪地失败并出现 i386-related error。我认为这不应该发生在 64 位系统上。
root@liv-HP-Compaq-dc7900:/home/liv# apt-get update
Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [107 B]
Ign file: apt-build/main TranslationIndex
Err file: apt-build/main i386 Packages
File not found
[..]
W: Failed to fetch file:/var/cache/apt-build/repository/dists/apt-build/main/binary-i386/Packages File not found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我试图恢复但status-old没有运气:
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
我也试过:
root@liv-HP-Compaq-dc7900:/home/liv# apt-get -f install
Reading package lists... Done …Run Code Online (Sandbox Code Playgroud)