Tag: 适当的

更新我的包列表时如何修复错误?

当我尝试更新我的Ubuntu 16.04时出现此错误。 错误: W: The repository ‘http://ppa.launchpad.net/upubuntu-com/network/ubuntu xenial Release’ does not have a Release file. N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/network/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found E: Some index files failed […]

无法下载存储库信息(错误的sources.list条目或格式错误的文件)

尝试更新包列表时,我收到以下错误日志: Failed to download repository information Check your Internet connection. W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-updates/InRelease Unable to find expected entry ‘main/binary-aarch64/Packages’ in Release file (Wrong sources.list entry or malformed file) W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-backports/InRelease Unable to find expected entry ‘main/binary-aarch64/Packages’ in Release file (Wrong sources.list entry or malformed file) W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-security/InRelease Unable to find […]

apt-get update因404而失败

我最近开始在apt-get更新上获得404,之后没有特别有趣的改变,我知道。 dh@ubuntu:/etc/apt$ sudo apt-get update Ign file: InRelease Ign file: InRelease Ign file: InRelease Get:1 file: Release.gpg [198 B] Get:2 file: Release.gpg [181 B] Get:3 file: Release.gpg [181 B] Get:4 file: Release [196 B] Get:5 file: Release [191 B] Get:6 file: Release [195 B] Ign file: Translation-en_US Ign file: Translation-en Ign file: Translation-en_US Ign file: […]

更新锁定在终端

这是我在尝试更新时不断获得的终端消息: sudo apt-get update $ sudo apt-get update [sudo] password for petros: Reading package lists… Done E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ 我该如何解决?

以下密钥ID没有公钥可用1397BC53640DB551

当我运行命令时: sudo apt-get update 我得到以下警告: There is no public key available for the following key IDs: 1397BC53640DB551 这是我收到的唯一警告,我没有得到任何错误。 我如何解决它以及1397BC53640DB551的关键是什么?

更新信息已过时,“无法获取光盘”

我的屏幕顶部有一个警告三角形。 当我点击它时,它表示我的更新信息已过时。 当我输入sudo apt-get update && sudo apt-get upgrade到终端时,我收到以下消息: W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ – Release i386 (20140417)/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ – Release i386 (20140417)/dists/trusty/restricted/binary-i386/Packages Please […]

由于哈希和不匹配导致sudo apt-get更新失败

当我运行sudo apt-get update我得到四个Hash Sum不匹配错误: W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages Hash Sum mismatch 我试着解决这个问题 sudo rm /var/lib/apt/lists/* -vf sudo apt-get update 但这没有用,也没有用 sudo apt-get clean sudo apt-get update 要么 sudo apt-get dist-upgrade […]

如何减少存储库更新的等待时间

在进行aptitude update / apt-get update或使用Update Manager进行更新时,我会进入需要太长时间的存储库链接。 百分比没有结束,它需要很长时间才能忽略它。 如何降低时间,以便如果特定存储库连接或完成它需要10秒以上,则应忽略它并移动以下存储库。 这是一个解释问题的图像: 它正在尝试连接到archive.ubuntu.com,但由于它耗时太长,它只是在那里坐了至少3到5分钟(没有测量时间),然后它显示为忽略并移动到以下。 我希望将其改为秒而不是分钟。

16.04 apt-get update挂起

apt-get更新和升级都挂起: sudo apt-get update [sudo] password for xxx: 0% [Connecting to archive.ubuntu.com (2001:67c:1360:8001::17)] 我可以ping archive.ubuntu.com: ping archive.ubuntu.com PING archive.ubuntu.com (91.189.88.162) 56(84) bytes of data. 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=1 ttl=50 time=42.2 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=2 ttl=50 time=42.1 ms 64 bytes from yukinko.canonical.com (91.189.88.162): icmp_seq=3 ttl=50 time=42.1 ms ^C — archive.ubuntu.com ping […]

更新后损坏的包:linux-headers,错误:BrokenCount> 0

Ubuntu 12.04。 更新后,我在系统托盘中收到一个红色警告图标,警告错误:已损坏计数> 0 打开更新管理器,我看到破坏的软件包是linux-headers-3.2.0-33-generic-pae (new install) 具体而言,我的AsbuireOne上有我的ubuntu,内存为8GB。 我按照本网站上的另一个问题的建议尝试了apt-get clean ,并尝试在Synaptic中重新安装该软件包。 我试图重新启动但无济于事。 我也试过apt-get install –fix-broken ,我得到以下内容: sudo apt-get install –fix-broken [sudo] password for elina: Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following extra packages will be installed: linux-headers-3.2.0-33-generic-pae The following NEW packages will be installed: linux-headers-3.2.0-33-generic-pae 0 […]