Skip to main content

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

Best way to solve the problem of

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?

Solution from https://itsfoss.com/could-not-get-lock-error/
ps aux | grep -i apt
sudo kill -9 <process id>
sudo killall apt apt-get
lsof /var/lib/dpkg/lock
lsof /var/lib/apt/lists/lock
lsof /var/cache/apt/archives/lock
sudo kill -9 PID
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
lsof /var/lib/dpkg/lock-frontend
sudo kill -9 PID
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a

Comments

Popular posts from this blog

Unrestricted Upload File Vulnerability bWAPP

We present a step by step guide for testing the Unrestricted Upload File Vulnerability in bWAPP, we did perform the lab ourselves  based on widely available literature on the net, 1. Introduction 2. Step 1 : php backdoor creation 3. Step 2 : meterpreter exploit configuration 4. Step 3 : connection to bWAPP server 5. Step 4 : php backdoor upload to the bWAPP server 6. Step 5 : php backdoor activation 7. Meterpreter session exploitation
 Pyramids again to not disturb innocents

PHP Shells PentesterLab & DVWA

WE RECALL THAT ALL THE TECHNIQUES SHOWN HEREBY ARE WELL DESCRIBED ON THE NET, YET WE PERFORMED BY OURSELVES STEP BY STEP ALL THE LABS DEMONSTRATED IN THIS BLOG, MTIBAA Riadh PHP Web Shells in Forensic Analysis Backdoor scripts, Uploaded on web servers, Illegitimate access (read/write/edit/delete). 1. Simple Backdoor Shell John Troon, Remote code execution. 2. qsd-php Backdoor Shell Daniel Berliner, Platform to execute system command. 3. PHP-reverse shell Pentestmonkey, Outbounds TCP connection from server to host, Attaches shell to TCP connection, Runs interactive programs (telnet/ssh). 4. MSFvenom based PHP Backdoor Shell  5. Weevely Shell Simulates Telnet. ...