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

Ralf Mardorf kde.lists at yahoo.com
Mon Apr 26 07:34:25 UTC 2021


On Mon, 26 Apr 2021 09:06:38 +0200, Oliver Grawert wrote:
>hi,
>Am Sonntag, den 25.04.2021, 20:19 -0400 schrieb Robert Heller:
>> dpkg -i packagename.deb
>> (fails, but list deps)  
>
>at which point you should "apt -f install" (-f -> "--fix-broken") to
>fix the missing dependencies automatically ;)
>
>though as others said, since 16.04 you should be able to simply: 
>
>apt install ./packagename.deb
>
>without jumping through that extra dpkg hoop ...

The OP couldn't install the package using "dpkg -i packagename.deb",
hence there's nothing to fix by using the apt -f option after deb
already failed. It's probably the same issue that happens with "apt",
the missing path.

Maybe

dpkg -i /path/packagename.deb

IOW

dpkg -i ./packagename.deb

does work.




More information about the ubuntu-users mailing list