'Unable to install mongodb-compass on ubuntu

While installing mongodb-compass on my ubuntu I got following error:-

Selecting previously unselected package mongodb-compass.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'thunderbird-locale-en-us' is missing final 
newline

thunderbird-locale-en-us

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
thunderbird-locale-en-us is already the newest version 
(1:91.7.0+build2-0ubuntu0.21.10.1).
0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source