Comment 3 for bug 1796081

Revision history for this message
Julian Andres Klode (juliank) wrote :

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.