小编chr*_*ris的帖子

sudo apt-get update 中途取消,现在无法运行 sudo apt-get update

我是 ubuntu 的新用户。到目前为止,它运行得相当好。今天我尝试过“sudo apt-get update”,但在获取数据后它冻结了。这是输出:

sudo apt-get update 
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]    
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]
Fetched 187 kB in 0s (225 kB/s)  
Run Code Online (Sandbox Code Playgroud)

使用sudo apt-get clean然后sudo apt-get update,我得到以下问题:

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Run Code Online (Sandbox Code Playgroud)

使用sudo rm -rf /var/lib/apt/lists/lock然后sudo apt-get update我得到一个新问题: …

updates apt repository

5
推荐指数
2
解决办法
2547
查看次数

标签 统计

apt ×1

repository ×1

updates ×1