为了下载代码,在计算云上按照某个傻瓜文档操作后,ubuntu不仅没达到预定效果,反而无论如何操作,都出现
root@SZX1000450533:/var/lib/dpkg# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.20) but 2.27-3ubuntu1 is installed
libc6 : Breaks: locales (< 2.27) but 2.13+git20120306-12.1 is installed
libc6:i386 : Breaks: locales (< 2.27) but 2.13+git20120306-12.1 is installed
libc6-dbg : Depends: libc6 (= 2.19-0ubuntu6.14) but 2.27-3ubuntu1 is installed
libc6-i386 : Depends: libc6 (= 2.19-0ubuntu6.14) but 2.27-3ubuntu1 is installed
E: Unmet dependencies. Try using -f.
如果想更新,执行apt-get update,还会出现以下错误
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
解决方案:请注意傻瓜操作文档里面的ubuntu版本是否和你自己的计算云版本一致,可以参考
http://3ms.huawei.com/km/blogs/details/5068685
选择配置库,不要无脑修改/etc/apt/sources.list