I am trying to install a deb from an official webpage (in this case Klayout), and when running sudo apt install ./path-to-the-executable.deb
, I get an error for specific library versions being not installable (although newer versions are available).
Note that I would like a general answer. The klayout example is only an example. This question might get marked as a duplicate, but all answers I found elsewhere were specific solutions that did not explain why the fix worked.
Example output when trying to install:
klayout
└── Depends:
├── libruby2.7 (>= 2.7.0) but it isn't in the cache
└── libpython3.8 (>= 3.8.2) but it isn't in the cache
Thanks!