Ubuntu无法更新软件包

发布网友 发布时间:2022-04-21 22:58

我来回答

5个回答

热心网友 时间:2023-07-24 21:58

首先,更新源,是需要管理员权限的,所以命令行下,应该用sudo命令,加在apt-get命令之前。

其次,看你给出的提示,报错应该是VBox的代理没有设对。关闭VBox中开设的这个虚拟机,看一下虚拟机的网络设定,一般VBox缺省的网络设置,就支持虚拟机与Host共享网络。不用再在Host上再加载代理软件。

第三,换一个比较快的国内的源吧。比如下面这个网易的,我一直在用,速度不错。

deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

热心网友 时间:2023-07-24 21:58

Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

代理设置还是有问题的啊,这个提示看看,需要认证嘛。

热心网友 时间:2023-07-24 21:59

改一下更新源。

热心网友 时间:2023-07-24 21:59

赋根用户权限
sudo apt-get update
要是还不行的话,就更新一下源,在ubuntu的官网上有ubuntu版本对应的源

热心网友 时间:2023-07-24 22:00

Ubuntu什么版本?版本太老的话官方不支持的,原来的源不存在了,所以更新不了。

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com