包管理器的软件安装问题

包管理器的软件安装问题

我的操作系统是 Ubuntu 13.04

最近,包管理器出现了一些问题,当我尝试安装某些软件时出现了问题。

如果我尝试从 Ubuntu 软件中心安装,它会说

需要安装不受信任的软件包

这需要从未经认证的来源安装软件包。

如果尝试从控制台安装,它会显示:

apt-get install ipython
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares-dev libev-dev libev4 libjs-node-uuid libssl-dev libssl-doc libv8-3.8.9.20 libv8-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python-decorator python-simplegeneric
Suggested packages:
  ipython-doc ipython-notebook ipython-qtconsole python-matplotlib python-numpy python-zmq
The following NEW packages will be installed:
  ipython python-decorator python-simplegeneric
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 698 kB of archives.
After this operation, 3,064 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  python-decorator python-simplegeneric ipython
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ raring/main python-decorator all 3.3.3-1
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com/ubuntu/ raring/universe python-simplegeneric all 0.8.1-1
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com/ubuntu/ raring/universe ipython all 0.13.2-1
  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-decorator/python-decorator_3.3.3-1_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/s/simplegeneric/python-simplegeneric_0.8.1-1_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/i/ipython/ipython_0.13.2-1_all.deb  404  Not Found [IP: 91.189.91.13 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我遵循了接受的答案需要安装不受信任的软件包吗?现在的情况比以前更糟糕:(

现在,如果尝试从控制台安装某些东西,它会显示:

apt-get install ipython
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ipython

请提出解决方案。

答案1

您是否按照消息中的建议进行了操作?

也许运行 apt-get update 或者尝试使用 --fix-missing

相关内容