Before:

1. with /var/lib/dpkg/lock locked:
   dpkg: error: dpkg status database is locked by another process
2. with lock-frontend locked (not yet recognized):
   dpkg: error: --install needs at least one package archive file argument
3. same as 2

after upgrade to 1.18.4ubuntu1.5:

1.
root@xxx:~# dpkg -i /var/cache/apt/archives/dpkg_1.18.4ubuntu1.5_amd64.deb 
dpkg: error: dpkg status database is locked by another process

2.
root@xxx:~# dpkg -i /var/cache/apt/archives/dpkg_1.18.4ubuntu1.5_amd64.deb 
dpkg: error: dpkg frontend is locked by another process

3.
root@xxx:~# DPKG_FRONTEND_LOCKED=1 dpkg -i 
/var/cache/apt/archives/dpkg_1.18.4ubuntu1.5_amd64.deb 
(Reading database ... 25800 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.4ubuntu1.5_amd64.deb ...
Unpacking dpkg (1.18.4ubuntu1.5) over (1.18.4ubuntu1.5) ...
Setting up dpkg (1.18.4ubuntu1.5) ...
Processing triggers for man-db (2.7.5-1) ...

=> Verified.

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796081

Title:
  dpkg frontend locking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1796081/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to