Question
Today, the following problems occur when using dpkg – I *. DEB:
root@zabbix-server:~# dpkg -i zabbix-release_4.0-3+bionic_all.deb
dpkg: error: dpkg frontend is locked by another process
reason
This is because the package manager did not close properly
solve
1. Find out the process of saving the lock file
lsof /var/lib/dpkg/lock-frontend
sudo kill -9 PID
2. Remove the lock and reconfigure the dpkg
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
3. Then don’t report mistakes
Read More:
- dpkg:error: dpkg frontend is locked by another process
- [How to Fix] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia
- E: Sub process / usr / bin / dpkg returned an error code (1) solution
- Solution of dpkg interrupted problem
- Dpkg: error processing package XXX solution
- flAbsPath on /var/lib/dpkg/status failed – realpath
- Dpkg: error processing package XXX (- – configure) solution (red warning in the upper right corner of Ubuntu)
- Ubuntu error: flAbsPath on /var/lib/dpkg/status failed – realpath (2: No such file or directory)
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (–u
- MySQL installation failed: dpkg: error processing package MySQL server (- – configure): dependency problem
- JIRA start error: the jira.home directory ‘/opt/jira_ home’ is already locked. JIRA startup failed, JIRA has been locked.
- Process of checking the error of connection reset by peer reported by reactor netty
- Plug in loaded: fastmirror, langpacks / var / run/ yum.pid Locked, another program with PID 2323 is running
- Parse error: syntax error, unexpected T_OBJECT_OPERATOR in E:\WWW\blog\hyii2\frontend\web\index.php
- Git prompts another git process sees to be running in this repository, e.g. an editor opened by
- JIRA startup failed, JIRA has been locked.
- Caused by: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\….\0.jar