20.10: Installing a .deb with dependencies -- HowTo?

Ralf Mardorf kde.lists at yahoo.com
Fri Apr 23 19:56:16 UTC 2021


On Fri, 23 Apr 2021 15:01:42 -0400 (EDT), Robert Heller wrote:
>With 18.04, doing 'sudo apt install whatever.deb' works (it
>automagically handles the deps), but this fails with 20.10.

What output do you get?

Perhaps it's caused by a race condition?

Maybe you run "apt update" and perhaps just a second later,
when you run "apt install /path/foo.deb", the mirror got updated, so
your index files were out of sync again?

Did you try running "apt update && apt install /path/foo.deb" a second
time?

Sometimes the most unlikely issue happens. A few days back I tried to
build a package in tmpfs. I got "No space left on device", but actually
more than 2 GiB were available and the RAM wasn't broken. As it turned
out, I run out of inodes. I didn't think of this unlikely pitfall,
another user recommended to check the inodes.




More information about the ubuntu-users mailing list