[LINUX] How to deal with the inability to open the lock file / var / lib / dpkg / lock-frontend

By the way, this is Qiita's first post. Please take a good look.

When installing some app, try to run it with a command

apt install ●●●

Just

*****:~$ apt install ●●● E: Unable to open lock file / var / lib / dpkg / lock-frontend --open (13: No permission) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? *****:~$

Such a wording comes out. for that reason

sudo apt install ●●●

You need sudo before apt like. You can't install something without administrator privileges. If you think that this command is for the administrator to recognize it, Yoshi

Above,

Recommended Posts

How to deal with the inability to open the lock file / var / lib / dpkg / lock-frontend
A story about how to deal with the CORS problem
How to deal with imbalanced data
How to deal with imbalanced data
How to deal with DistributionNotFound errors
Open the file with the default app
How to make a command to read the configuration file with pyramid
How to deal with enum compatibility errors
[Python] How to deal with module errors
[AWS] Wordpress How to deal with "The response is not a correct JSON response"
How to deal with memory leaks in matplotlib.pyplot
How to read a CSV file with Python 2/3
How to use GCP trace with open Telemetry
How to deal with errors when hitting pip ②
How to specify the NIC to scan with amazon-dash
[Python] How to read excel file with pandas
can't pickle annoy. How to deal with Annoy objects
How to try the friends-of-friends algorithm with pyfof
How to deal with run-time errors in subprocess.call
How to deal with module'tensorflow' has no attribute'〇〇'
How to deal with SessionNotCreatedException when using Selenium
Save the object to a file with pickle
How to Learn Kaldi with the JUST Corpus
[systemd] How to deal with the problem that fancontrol does not work after suspending
How to delete the specified string with the sed command! !! !!
[Introduction to Python] How to iterate with the range function?
How to create a submenu with the [Blender] plugin
I tried to touch the CSV file with Python
How to deal with Django's Template Does Not Exist
How to deal with pyenv initialization failure in fish 3.1.0
[Python] How to specify the download location with youtube-dl
How to measure mp3 file playback time with python
How to convert JSON file to CSV file with Python Pandas
[Python] How to deal with pandas read_html read error
[Python] How to rewrite the table style with python-pptx [python-pptx]
How to deal with Executing transaction: failed in Anaconda
How to deal with the phenomenon that Python (Jupyter notebook) executed on WSL becomes Aborted
How to deal with the problem that pandas 1.1.0 or later build fails on Alpine Linux
How to deal with the error that Docker's MySQL container fails to start on Docker Toolbox
How to deal with the terminal getting into the pipenv environment without permission when using pipenv with vscode
[VLC] How to deal with the problem that it is not in the foreground during playback
File operations with open — "../"
I tried to simulate how the infection spreads with Python
How to put a hyperlink to "file: // hogehoge" with sphinx-> pdf
How to return to the previous directory with the Bash cd command
How to switch the configuration file to be read by Python
How to check ORM behavior in one file with django
How to manipulate the DOM in an iframe with Selenium
[Linux] How to deal with garbled characters when viewing files
[AWS] How to deal with "Invalid codepoint" error in CloudSearch
How to see the contents of the Jupyter notebook ipynb file
For beginners, how to deal with common errors in keras
How to get into the python development environment with Vagrant
[Python Kivy] How to create an exe file with pyinstaller
How to read an Excel file (.xlsx) with Pandas [Python]
I tried to divide the file into folders with Python
How to deal with UnicodeDecodeError when executing google image download
Try to decipher the garbled attachment file name with Python
[Introduction to Python] How to get data with the listdir function
How to deal with the problem that the current directory moves when Python is executed from Atom
How to deal with the error "Failed to load module" canberra-gtk-module "that appears when you run OpenCV