The deb format is suitable for operating systems such as Ubuntu, deepin, and UOS, and for servers with various architectures such as mips64el, amd64, and X86. Ubuntu uses dpkg to make the qt executable program into a deb installation package1. Use the linuxdeployqt tool to package the executable program This step can package the dynamic […]
Tag: dpkg
[Solved] Ubuntu system software installation error: Could not get lock /var/lib/dpkg/lock-frontend – open solution
? Questions Installing the software on an Ubuntu system using the apt-get install command reported the following error: 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 First use the following command to check whether the process […]
[Solved] Solve Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend error
When using apt or apt-get install kali-linux reported an error: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend This kind of error is generally caused by the last installation task being in progress/unexpectedly interrupted, and the current installation cannot be executed/completed normally, and the resources are locked. It can be solved by deleting the […]
[Solved] The solution to /var/lib/dpkg/lock-frontend when Ubuntu executes apt-get update
sudo apt-get update Sometimes the following error will be reported when Ubuntu executes the above statement 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? Reason: It is because some other program is trying to update Ubuntu. When […]
[Solved] E Sub-process usrbindpkg returned an error code (1)
1. The question is as follows: Error while installing software dlz@ubuntu:~$ sudo apt install wireshark-qt 2. Solutions The code is as follows (example): root@ubuntu:~# sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old root@ubuntu:~# sudo mkdir /var/lib/dpkg/info root@ubuntu:~# sudo apt-get update Hit:1 http://mirrors.ustc.edu.cn/ubuntu focal InRelease Hit:2 http://mirrors.ustc.edu.cn/ubuntu focal-updates InRelease Hit:3 http://mirrors.ustc.edu.cn/ubuntu focal-backports InRelease Hit:4 http://mirrors.ustc.edu.cn/ubuntu focal-security InRelease Hit:5 http://ppa.launchpad.net/linrunner/tlp/ubuntu focal […]
[Solved] dpkg: error: cannot new file ‘/var/lib/dpkg/info/format-new’: No such file or directory
Step 1: Delete the file directly rm -rf /var/lib/dpkg/info/format-new Step 2: Install ssh or putty-tools The article knowledge points match the official knowledge files, and you can further learn related knowledge CS introductory skill tree Linux entry First acquaintance with Linux15569 people are learning the system
[Solved] Error in ubundu pip: Could not get lock /var/lib/dpkg/lock
Error when installing git on ubundu: 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? Methods sudo killall apt apt-get If these are displayed user@ubuntu:~$ sudo killall apt apt-get [sudo] password for user: apt: no process found apt-get: […]
[Solved] The solution to the problem of E: Could not get lock /var/lib/dpkg/lock-frontend – open when ubuntu executes the installation command
Question: When executing the installation command sudo apt install xxx or sudo apt-get install xxx in the terminal of ubuntu, the following error occurs: 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, just four steps: first […]
[Solved] [The solution to Could not get lock /var/lib/dpkg/lock-frontend. It is held by process XXXX. appears in ubuntu]
The problem is reproduced: liyang@ubuntu:~$ sudo apt install git Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held Waiting for cache lock : Could not get lock /var/lib/dpkg/lock-frontend. It is held Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. […]
[Solved] Ubuntu installation package error E: Sub-process /usr/bin/dpkg returned an error code (1)
The Ubuntu installation package reported an error E: Sub-process /usr/bin/dpkg returned an error code (1) 1. Scenario reproduction: 2. It is found that libreoffice-core depends on libreoffice-common, so install libreoffice-common: 3. Solve the problem by reporting an error E: Sub-process /usr/bin/dpkg returned an error code (1) Problem: 4. There is no problem after installing at […]