Tag: 适当的

无法从存储库下载

无论我尝试在终端中运行apt update它都不起作用,我只是得到这个消息。 sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB] Hit:2 http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic InRelease Ign:3 http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu bionic InRelease Err:4 http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] Err:5 http://ba.archive.ubuntu.com/ubuntu bionic InRelease Could not connect to ba.archive.ubuntu.com:80 (80.65.85.94), connection timed out Err:6 http://ba.archive.ubuntu.com/ubuntu bionic-updates InRelease Could not connect to ba.archive.ubuntu.com:80 (80.65.85.94), connection timed out […]

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

Ubuntu 10.04。 更新后,我在系统托盘中收到一个红色警告图标,警告error: broken count >0 打开更新管理器,我看到破坏的包是linux-headers-2.6.32-38 (new install) 尝试使用更新管理器,我收到进一步的错误消息: You have 1 broken package on your system! Use the “Broken” filter to locate it. You have 1 broken package on your system! Use the “Broken” filter to locate it. 然后: E: /var/cache/apt/archives/linux-headers-2.6.32-38_2.6.32-38.83_all.deb: unable to create `/usr/src/linux-headers-2.6.32-38/arch/arm/mach-netx/include/mach/vmalloc.h.dpkg-new’ (while processing `./usr/src/linux-headers-2.6.32-38/arch/arm/mach-netx/include/mach/vmalloc.h’) 我按照本网站上的另一个问题的建议尝试了apt-get clean ,并尝试在Synaptic中重新安装该软件包。 我没有尝试的一个选项只是重启,但我不敢以防万一我不能重新启动回Ubuntu。 我也试过apt-get […]

apt-get update不断发出错误

最近我跑的时候 sudo apt-get update 它在’读取数据库’步骤后给出了以下错误 W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages) W: You may want to run apt-get update to correct these problems 好吧,我一遍又一遍地运行apt-get update,没有任何改变。 我也试过了选项 sudo apt-get update –fix-missing 和 sudo apt-get update -f 这与我所知的事情完全相同,但似乎没有任何帮助。

Apt-get更新失败ubuntu 14.04

我想尽力而为 sudo apt-get update 但我收到以下错误: W: Failed to fetch http://ftp.udc.es/ubuntu/dists/trusty/Release Unable to find expected entry ‘main/binary-x8-64/Packages’ in Release file (Wrong sources.list entry or malformed file) 我已经尝试重置/etc/apt/sources.list,如下所示: 如何恢复默认存储库? 并尝试选择下载更新的另一台服务器: Ubuntu 12.04上的“sudo apt-get update”错误 但我一直得到同样的错误信息。 有任何想法吗? 正如评论中所说,做: $ grep -R ftp.udc.es /etc/apt/sources.list* /etc/apt/sources.list:deb http://ftp.udc.es/ubuntu/ trusty main universe /etc/apt/sources.list.save:deb http://ftp.udc.es/ubuntu/ trusty main $ cat sources.list ## See sources.list(5) […]

apt-get update无法正常工作,我无法添加任何存储库

伙计们请帮助Sudo apt-get update无效,我无法添加任何存储库,谢谢。 hashik@Hashik:~$ sudo apt-get update [sudo] password for hashik: Err:1 http://in.archive.ubuntu.com/ubuntu yakkety InRelease Could not resolve ‘in.archive.ubuntu.com’ Err:2 http://security.ubuntu.com/ubuntu yakkety-security InRelease Could not resolve ‘security.ubuntu.com’ Err:3 http://ppa.launchpad.net/noobslab/apps/ubuntu yakkety InRelease Could not resolve ‘ppa.launchpad.net’ Err:4 http://in.archive.ubuntu.com/ubuntu yakkety-updates InRelease Could not resolve ‘in.archive.ub hashik@Hashik:~$ sudo apt-get update [sudo] password for hashik: Err:1 http://in.archive.ubuntu.com/ubuntu yakkety InRelease […]

sudo apt-get update无法正常工作

Err http://ppa.launchpad.net utopic/main amd64 Packages 404 Not Found Get:63 http://in.archive.ubuntu.com utopic/universe Sources [6,736 kB] Err http://ppa.launchpad.net utopic/main i386 Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. 在这种情况下该怎么办?

特定存储库的apt-get更新

考虑这样的情况: 我将在UEFI系统上安装Ubuntu(使用Windows进行双启动),我需要安装boot-repair 。 当我运行sudo apt-get update ,它将更新所有repos的缓存。 我只需要更新一个特定的ppa ( yannubuntu/boot- repair boot-repair )来安装boot-repair 。 很多时候,当我认为更新单个ppa就足够了时,我必须更新所有的回购。 问题 如果我只更新一个回购,是否有任何问题/伤害? 它能以任何方式影响软件安装吗? 如果答案是否,那么我该如何更新特定的回购?

我应该多久使用apt-get update进行更新?

有人告诉我使用命令“apt-get update”经常更新我的软件和硬件更新。 究竟是什么更新以及我应该多久更新一次。

Vivid apt-get update / var / lib / apt / lists / partial中的大包文件

ls -Ssh /var/lib/apt/lists/partial | head total 88G 46G security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-amd64_Packages.bz2 42G us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_binary-i386_Packages.bz2 我尝试了bunzipping并得到了垃圾: bunzip2: us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_binary-i386_Packages.bz2: trailing garbage after EOF ignored 看起来解压缩的文件只有88K: du -hs us.archive.ubuntu.com_ubuntu_dists_vivid-updates_main_binary-i386_Packages 88K 执行文件末尾的hex转储似乎显示附加的目录列表: tail -c 200 security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-amd64_Packages.bz2 | hexdump -C 00000000 30 38 64 66 37 20 20 20 20 20 20 20 20 20 20 20 |08df7 | 00000010 20 20 34 […]

更新Ubuntu 16.04 LTS错误

当我使用sudo apt-get update ,出现错误: $ sudo apt-get update E: Malformed entry 56 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read. 我发现该行抛出错误: deb http;//archive.canonical.com/ xenial partner 任何帮助将不胜感激。