E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: U

cloudfl@cloudflpc:~$ sudo apt install ptpd
[sudo] password for cloudfl: 
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
cloudfl@cloudflpc:~$ sudo rm /var/cache/apt/archives/lock
cloudfl@cloudflpc:~$ sudo rm /var/lib/dpkg/lock
cloudfl@cloudflpc:~$ sudo dpkg --configure -a
dpkg: error: dpkg frontend is locked by another process
cloudfl@cloudflpc:~$ sudo rm /var/lib/dpkg/lock-frontend
cloudfl@cloudflpc:~$ sudo apt-get update
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease                                        
Hit:3 http://dl.google.com/linux/chrome/deb stable Release                                          
Get:5 http://mirror.t-home.mk/ubuntu bionic InRelease [242 kB]              
Hit:6 http://mirror.t-home.mk/ubuntu bionic-updates InRelease                                                                                      
Hit:7 http://mirror.t-home.mk/ubuntu bionic-backports InRelease                                                                                    
Hit:8 http://mirror.t-home.mk/ubuntu bionic-security InRelease                                                                                     
Fetched 242 kB in 10s (23.9 kB/s)                                                                                                                  
Reading package lists... Done
cloudfl@cloudflpc:~$ sudo apt install ptpd
Reading package lists... Done
Building dependency tree  

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值