Tag: 软件源

运行apt-get update时会发生“无法获取”错误。 我该如何解决?

与上面的说明相反,我没有找到问题的答案。 我已经阅读了几十个apt-get更新问题,大多数来自askubuntu.com,“未能获取”错误并尝试了解决方案。 不幸的是,没有人奏效 我刚刚在我的笔记本电脑上安装了Ubuntu 12.04,双启动它与Windows 7一起。当我尝试时 sudo apt-get update 在终端上,以下不断发生: Err http://ph.archive.ubuntu.com precise InRelease Err http://ph.archive.ubuntu.com precise-updates InRelease Err http://ph.archive.ubuntu.com precise-backports InRelease Err http://ph.archive.ubuntu.com precise Release.gpg Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err http://ph.archive.ubuntu.com precise-updates Release.gpg Unable to connect to ph.archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err http://ph.archive.ubuntu.com precise-backports Release.gpg Unable to connect to ph.archive.ubuntu.com:http: […]

如何启用“backports”存储库?

如何启用backports存储库以便我可以获得更新版本的软件?

apt-get仅针对特定存储库进行更新

当我添加PPA并且我想安装它的一些内容时,使用apt-get update重新更新我的所有apt列表是非常烦人的。 是否可以仅同步给定存储库的内容?

我可以在Ubuntu上安装Kali工具吗?

我想知道是否有任何方法可以在Ubuntu 12.04上安装像sqlmap , nikto , john , nikto aircrack-ng等Kali工具? 如果是,那我该怎么办?

如何更改从哪个镜像获取更新和软件?

如何选择Ubuntu将从哪个服务器获取软件和更新? 我知道如何在网上找到镜像列表 ,但不知道如何使用它们。

如何启用“合作伙伴”存储库?

我一直看到地方引用“合作伙伴”存储库作为我可以获得软件的地方,我该如何启用此存储库? 请通过命令行以图形方式指定如何执行此操作。

如何删除存储库?

请告诉我如何删除Ubuntu 11.04中的某些存储库。 我在更新时遇到以下错误。 sudo apt-get update Err http://ppa.launchpad.net natty/main Sources 404 Not Found Err http://ppa.launchpad.net natty/main i386 Packages 404 Not Found …… E: Some index files failed to download. They have been ignored, or old ones used instead.

更新时“某些索引文件无法下载”

运行sudo apt-get update出现以下错误: Err archive.ubuntu.com quantal InRelease Err archive.ubuntu.com quantal-updates InRelease Err archive.ubuntu.com quantal-backports InRelease Err archive.ubuntu.com quantal-security InRelease Err archive.ubuntu.com quantal Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err archive.ubuntu.com quantal-updates Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.177 80] Err archive.ubuntu.com quantal-backports Release.gpg Unable to connect to archive.ubuntu.com:http: [IP: 91.189.92.177 80] […]

Ubuntu 16.04中的新软件中心未显示任何应用程序数据

这是我打开软件中心时遇到的错误。 我尝试重新启动并运行sudo apt-get update但我看不到任何改进。 它工作得更早,但我不知道从那时起出了什么问题。 我在戴尔Inspiron 15R上使用Ubuntu 16.04最终版本。 任何建议将被认真考虑。 提前致谢。 编辑:问题神奇地解决了自己,没有我做任何特别的事情(或者可能无意中做了一些事情,我不知道)。 所以我仍然想要了解这一点。

如何恢复默认存储库?

更新时出现错误,由于损坏,我无法安装大多数软件 /etc/apt/sources.list 文件。 有没有我可以下载的副本来替换它? 该文件适用于美国的Ubuntu 12.04(最终测试版)。