我一直尝试将我的 Ubutnu 从 14.04 升级到 16.04,当我单击升级系统时显示此错误:
The required dependency 'apt (>= 1.0.1ubuntu2.13)' is not installed
我尝试了这里的解决方案,但它对我没有作用: 14.04 --> 16.04 失败;apt (>= 1.0.1ubuntu2.13)' 未安装。
更新:
我修复了上面提到的问题,但仍然无法升级到 16.04。现在显示以下内容:
Error during update
A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/stable/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.161 80] , W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/stable/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.161 80] , E:Some index files failed to download. They have been ignored, or old ones used instead.
此外,Google Chrome 突然停止工作。当我尝试使用终端打开它时,它显示:
[8984:9017:0728/230608:ERROR:nss_util.cc(744)] Error initializing NSS with a persistent database (sql:/home/maldini/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[8984:9017:0728/230608:ERROR:nss_util.cc(212)] Error initializing NSS without a persistent database: NSS error code: -5925
[8984:9017:0728/230608:FATAL:nss_util.cc(214)] nss_error=-5925, os_error=0
已中止(核心转储)
我删除并“清除”了该程序,然后重新安装。我尝试删除所有缓存和配置文件。但都不起作用。
有什么建议么?
答案1
当我从终端运行 google-chrome 时,我遇到了同样的问题,
我发现它需要新版本的 NSS:Chrome 62 需要 NSS>=3.26。所以我安装了 libnss3。
$google-chrome
[6999:7036:1113/200616.549496:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.
Aborted (core dumped)
#sudo apt-get install --reinstall libnss3
它对我有用