apt install error

Sarunas Burdulis sarunas at math.dartmouth.edu
Fri Feb 9 19:50:44 UTC 2024


On 2/9/24 13:56, Jerry Geis wrote:
> 
> 
> 
> On Fri, Feb 9, 2024 at 1:50 PM Sarunas Burdulis 
> <sarunas at math.dartmouth.edu <mailto:sarunas at math.dartmouth.edu>> wrote:
> 
>     On 2/9/24 13:15, Jerry Geis wrote:
>      > apt update
>      >   Hit:1 http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>
>      > <http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>> focal InRelease
>      > Hit:2 http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>
>      > <http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>> focal-updates InRelease
>      > Hit:3 http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>
>      > <http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>> focal-backports InRelease
>      > Hit:4 http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>
>      > <http://us.archive.ubuntu.com/ubuntu
>     <http://us.archive.ubuntu.com/ubuntu>> focal-security InRelease
>      > Reading package lists...
>      > Building dependency tree...
>      > Reading state information...
>      > 217 packages can be upgraded. Run 'apt list --upgradable' to see
>     them.
>      >
>      > all normal
> 
>     Unless there are reasons not to, I would upgrade (`apt full-upgrade`).

`apt full-upgrade` would NOT change the OS version. But will bring the 
existing one up-to-date. If that is not desirable either, then you need 
to download and install the same outdated version of net-tools, matching 
other outdated packages.

> Correct there are reasons to be on 20.04.3, I need to visit a machine 
> like this that has "no internet"
> So I am trying to do an "apt update --download-only" (this is what I 
> started with) and failed.
> I then tried "apt update" this works, I then tried "apt install 
> net-tools" and this was the error I got.
> 
> Actual GOAL is to download everything needed and offline - no internet 
> update.
> 
> Jerry
> 

-- 
Sarunas Burdulis
Dartmouth Mathematics
math.dartmouth.edu/~sarunas

· https://useplaintext.email ·

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240209/9cacb0eb/attachment.sig>


More information about the ubuntu-users mailing list