关于compiz,libkf5akonadisearch-bin包的Unknown Multi-Arch类型从14.04升级到16.04的错误
我正在尝试使用do-release-upgrade
将我的14.04机器升级到16.04。 下载了wily的包列表后,我看到以下错误:
Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min Unknown Multi-Arch type 'no' for package 'libkf5akonadisearch-bin' Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation Ignoring Provides line with DepCompareOp for package php-psr-log-implementation Ignoring Provides line with DepCompareOp for package php-math-biginteger Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min Unknown Multi-Arch type 'no' for package 'libkf5akonadisearch-bin' Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' You may want to run apt-get update to correct these problems
然后它继续中止安装。 建议的apt-get update
运行似乎没有做任何事情。 谷歌搜索上述错误消息导致其他人在升级到其他先前版本时遇到类似问题,尽管我没有遇到任何明显的修复。 建议一个apt
升级可以解决这个问题,但是我没有办法轻易做到这一点(它与最新的可信包最新)。
我该怎么办才能直接升级到16.04?
这是apt中的一个错误,是的,修复是升级apt。
编辑/etc/apt/sources.list
并取消注释这些行:
deb http://au.archive.ubuntu.com/ubuntu/ wily main restricted deb http://au.archive.ubuntu.com/ubuntu/ wily-updates main restricted
现在运行apt-get update
,你会看到有关’Unknown Multi-Arch type’的相同错误。
现在升级到:
apt-get install --only-upgrade apt
现在运行发布安装程序:
do-release-upgrade
🙂
似乎对我有用的是
apt-get -f install libc6 apt-get install --only-upgrade apt
你必须这样做:
sudo apt-get install -f
我也得到了“最新版本”的消息,但根据https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1404783/comments/12
我添加了生动和生动更新sources.list的源代码并安装了apt / vivid版本。
sudo apt-get -t vivid install apt/vivid
然后我删除了来自sources.list和apt-get update的生动源,没有任何警告。