How to install a pacjage I compiled
Colin Watson
cjwatson at ubuntu.com
Sun Apr 5 18:21:50 UTC 2020
On Sun, Apr 05, 2020 at 01:22:59PM -0400, stan wrote:
> apt-get install --reinstall openssl_1.1.1d-0+deb10u2_amd64.deb
>
> I get:
>
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package openssl_1.1.1d-0+deb10u2_amd64.deb
> E: Couldn't find any package by glob 'openssl_1.1.1d-0+deb10u2_amd64.deb'
> E: Couldn't find any package by regex 'openssl_1.1.1d-0+deb10u2_amd64.deb'
>
> I had been trying to install it with dpkg as I thought that was the right
> way to do it for a local package, whereas I thought at-get wanted to
> download from the repositories.
apt was taught how to deal with local packages some years back, and it's
often useful to use it for that in order to take advantage of its
dependency handling (consider the case where you're installing a local
packages not all of whose dependencies are satisfied; dpkg would fail,
while apt knows how to acquire the dependencies as well).
However, you need to prefix "./" to the file name in order to clue apt
into the fact that it's meant to be a local file name and not the name
of a package.
--
Colin Watson [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list