On Wed, Oct 6, 2021, 8:28 PM Jane Wang <suzie...@gmail.com> wrote:

> Hello,
>
> I am trying to install screen on a remote Linode server that has the
> following:
>
> root@localhost:/# cat /etc/issue
> Debian GNU/Linux 10 \n \l
>
> Here's a dump of the Terminal session when I tried to install screen:
>
> root@localhost:/# sudo apt install screen
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   libutempter0
> Suggested packages:
>   byobu | screenie | iselect
> The following NEW packages will be installed:
>   libutempter0 screen
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 611 kB of archives.
> After this operation, 1,061 kB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Get:1 http://mirrors.linode.com/debian buster/main amd64 libutempter0
> amd64 1.1.6-3 [7,812 B]
> Err:2 http://mirrors.linode.com/debian buster/main amd64 screen amd64
> 4.6.2-3
>   404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> Fetched 7,812 B in 0s (0 B/s)
> E: Failed to fetch
> http://mirrors.linode.com/debian/pool/main/s/screen/screen_4.6.2-3_amd64.deb
>  404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> root@localhost:/# sudo apt-get update
> Get:1 http://mirrors.linode.com/debian buster InRelease [122 kB]
> Get:2 http://mirrors.linode.com/debian-security buster/updates InRelease
> [65.4 kB]
> Get:3 http://mirrors.linode.com/debian buster-updates InRelease [51.9 kB]
> Reading package lists... Done
> N: Repository 'http://mirrors.linode.com/debian buster InRelease' changed
> its 'Version' value from '10.8' to '10.10'
> E: Repository 'http://mirrors.linode.com/debian buster InRelease' changed
> its 'Suite' value from 'stable' to 'oldstable'
> N: This must be accepted explicitly before updates for this repository can
> be applied. See apt-secure(8) manpage for details.
> E: Repository 'http://mirrors.linode.com/debian-security buster/updates
> InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
> N: This must be accepted explicitly before updates for this repository can
> be applied. See apt-secure(8) manpage for details.
> E: Repository 'http://mirrors.linode.com/debian buster-updates InRelease'
> changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
> N: This must be accepted explicitly before updates for this repository can
> be applied. See apt-secure(8) manpage for details.
> root@localhost:/# sudo apt install screen
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   libutempter0
> Suggested packages:
>   byobu | screenie | iselect
> The following NEW packages will be installed:
>   libutempter0 screen
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 603 kB/611 kB of archives.
> After this operation, 1,061 kB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Err:1 http://mirrors.linode.com/debian buster/main amd64 screen amd64
> 4.6.2-3
>   404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> E: Failed to fetch
> http://mirrors.linode.com/debian/pool/main/s/screen/screen_4.6.2-3_amd64.deb
>  404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> root@localhost:/# sudo apt install screen --fix-missing
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
>   libutempter0
> Suggested packages:
>   byobu | screenie | iselect
> The following NEW packages will be installed:
>   libutempter0 screen
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 603 kB/611 kB of archives.
> After this operation, 1,061 kB of additional disk space will be used.
> Do you want to continue? [Y/n] Y
> Err:1 http://mirrors.linode.com/debian buster/main amd64 screen amd64
> 4.6.2-3
>   404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> Selecting previously unselected package libutempter0:amd64.
> (Reading database ... 48034 files and directories currently installed.)
> Preparing to unpack .../libutempter0_1.1.6-3_amd64.deb ...
> Unpacking libutempter0:amd64 (1.1.6-3) ...
> Setting up libutempter0:amd64 (1.1.6-3) ...
> Processing triggers for libc-bin (2.28-10) ...
> E: Failed to fetch
> http://mirrors.linode.com/debian/pool/main/s/screen/screen_4.6.2-3_amd64.deb
>  404  Not Found [IP: 2600:3c01:1::607e:6379 80]
> root@localhost:/#
>
> Any ideas on how to install it on the remote server?
>
> Thanks in advance,
> Jane W.
>

Did you update the apt cache?

sudo apt update

Then

sudo apt install screen

If you're root though you don't need sudo. However if you're logging in as
root remotely you should disable that for security and log in as a regular
user then use sudo or su to root. Hopefully you're logging in with keys and
have disabled password logins.

>

Reply via email to