Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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?

ps aux | grep -i apt

sudo kill <process_id>
# Check if the process was killed by running the ‘ps aux | grep -i apt’ command. If it is still running, force kill it with SIGKILL signal:

sudo kill -9 <process_id>
# Another, easier way would be to use the killall command. This will kill all the instances of a running program:

sudo killall apt apt-get
Comment

waiting for cache lock, Could not get lock /var/lib/dpkg/lock-frontend.

sudo lsof /var/lib/dpkg/lock
or 
sudo lsof /var/lib/apt/lists/lock
or
sudo lsof /var/lib/dpkg/lock-frontend
Comment

why upgrade ubuntu then frequently shows this message "It iwating for cache lock: Could not get lock /var/lib/dpkg/lock.frontend.

It iwating for cache lock: Could not get lock /var/lib/dpkg/lock.frontend.
Comment

Ubuntu Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 15551 (apt)

Ubuntu: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 15551 (apt)
Comment

PREVIOUS NEXT
Code Example
Shell :: auto git script 
Shell :: yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh 93684c35 
Shell :: another command in awk field 
Shell :: masking 
Shell :: mark raid drive as faulty linux 
Shell :: xargs echo 
Shell :: homebrew install nasm 
Shell :: sudo install awk 
Shell :: cmake macos disable code signing 
Shell :: remove telegraf from dembian 
Shell :: How do I fix issue "E: some index files fail to download.They have been ignored or old ones are used instead" while apt-get update 
Shell :: prepend xml to svg sed 
Shell :: centos locale pg_config path 
Shell :: install psalm laravel 
Shell :: connect db to odoo from command 
Shell :: source script locatin 
Shell :: remove last command from history 
Shell :: ffmpeg add cover art 
Shell :: Auto-open DevTools on every new tab For cmd on Windows 
Shell :: kill process in win by pid 
Shell :: bash print one line until match 
Shell :: install dlib on windows 
Shell :: powershell datetime to string 
Shell :: react navigation 5 install 
Shell :: ssh ubuntu version check 
Shell :: rails run server 
Shell :: apache uninstall ubuntu ssh 
Shell :: restart command windows server 2008 
Shell :: install sketchjs 
Shell :: fzf rpm 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =