WebJust like the message says over and over, Synaptic has a lock. Either use the Synaptic that's open to do it, or close that and run the command again. Web30 jul. 2024 · Use the command line to kill any running process. For that use the following commands sudo killall apt apt-get If that doesn't work follow the below commands. ps aux grep -i apt This will return id of the processes running apt sudo kill process_id Replace the process_id with the number you got in the output of previous command.
How to: Fix "Waiting for cache lock: Could not get lock …
Web17 jan. 2011 · 在ubuntu apt-get upgrade的时候,遇到: E: Could not get lock /var/cache/ apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory 解决办法如下: sudo rm -rf /var/cache/apt/archives/lock sudo apt-get update 然后apt-get就恢复正常了。 好文要顶 关注我 收藏该文 飞林沙 粉丝 - 494 关注 - … eyms 105
ubuntu 提示 Could not get lock /var/lib/dpkg/lock-frontend.的处 …
Web1 nov. 2024 · Closed 2 months ago. I tried this: moncef@moncef-Latitude-E7270:~$ sudo apt install tor Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It … Web7 apr. 2024 · There might be some other lock files that are left that need to be deleted. @agnostic-apollo No need, if they are not acquired by already running process. @manya7777777 You have multiple instances of apt/dpkg running, perhaps on … WebIf the locking process is not the system updater process, then you can run the command sudo kill or sudo kill -9 to kill the locking process and then … eyms 128 bus timetable