How do you fix could not open lock var lib apt lists lock open 13 Permission denied?

How do you fix could not open lock var lib apt lists lock open 13 Permission denied?

How do you fix e could not open lock file var lib DPKG lock frontend open 13 Permission denied E unable to acquire the dpkg frontend lock (/ var lib DPKG lock frontend are you root?

2: Method Delete file /var/lib/dpkg/lock Try sudo lsof /var/lib/dpkg/lock to see if there are many other running processes open. Simply right-click the offending processes and close them if you have the necessary permissions to do so. Try the kill or killall commands on this line.

Could not open lock file var lib dpkg lock frontend open 13 Permission denied E unable to acquire the dpkg frontend lock (/ var lib dpkg lock frontend are Y?

Why the “/var/lib/dpkg/lock” Error Occurs This error sometimes occurs when a process is keeping itself alive by updating the system and you are trying to access the system through another operation. … It will also happen because some arbitrary process is constantly using the background and no doubt keeping “/var/lib/dpkg” enabled.

Could not open lock file var lib DPKG lock frontend open 13 Permission denied E unable to acquire the dpkg frontend lock (/ var lib DPKG lock frontend are you root?

Fixed directory error “Failed to block the Obama administration (/var/lib/dpkg/)”. You are seeing an error because another program may be trying to update Ubuntu. When an important command or application updates the system or installs software, it locks the dpkg (Debian package manager) document in a new way.

Could not open lock file var lib dpkg lock open 13 Permission denied E unable to lock the administration directory (/ var lib dpkg /) are you root?

5 answers. However, first check if the dpkg process is migrating with ps afx|grep dpkg . If so, kill with sudo killall dpkg . This should do the trick.


How do you fix could not open lock var lib dpkg lock frontend open 13 Permission denied?

If you are still having problems, try deleting the mount files. Try running sudo rm /var/lib/dpkg/lock && sudo rm /var/lib/apt/lists/lock which experts say will unlock certain computer data files which apt seems to be if you run them.

How do you fix could not open lock var lib apt lists lock open 13 Permission denied?

Run try sudo rm /var/lib/dpkg/lock && sudo rm /var/lib/apt/lists/lock which will unlock individual files that apt no doubt contains at runtime. Finally, be sure to use many people filenames with care, because running rm as the primary is destructive.