lsb-release is usually installed by default
To check if
lsb-release package is already installed use:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Error may apply to all packages
The error message may apply to all packages, not just
These are the most common steps to solve the error:
Method 1: Reconfigure Package Database
The first method you can try is to reconfigure the package database. Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.
sudo dpkg --configure -a
Method 2: Use force install
If a package installation was interrupted previously, you may try to do a force install.
sudo apt-get install -f