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

Robert Heller heller at deepsoft.com
Mon Apr 26 00:19:34 UTC 2021


At Mon, 26 Apr 2021 00:34:10 +0200 "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:

> 
> On Fri, 23 Apr 2021 at 21:03, Robert Heller <heller at deepsoft.com> wrote:
> >
> > How does one install a local .deb file that has dependencies under 20.10?
> 
> Literally answering, not trying to solve the issue...
> 
> Me?
> 
> dpkg -i packagename.deb
> apt install -f

With 20.10 this does not work.  dpkg -i packagename.deb complains about unmet 
deps.  I ended up like this:

dpkg -i packagename.deb
(fails, but list deps)
apt install <deps listed above>
dpkg -i packagename.deb

Appearently, the "local install magic" with apt is that you need to include 
the directory (even when it is .):

apt install ./packagename.deb

This is not actually documented anywhere.

> 
> 
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                          




More information about the ubuntu-users mailing list