Losing ssh connection during apt upgrade
Robbi Nespu
robbinespu at gmail.com
Sat Jan 30 05:53:21 UTC 2021
On 29/1/2021 1:25 pm, Colin Law wrote:
> On Fri, 29 Jan 2021 at 12:31, Karl Auer <kauer at biplane.com.au> wrote:
>>
>> On Fri, 2021-01-29 at 12:21 +0000, Colin Law wrote:
>>> I have a remote system which is connected via wifi. To upgrade
>>> packages I use ssh and
>>> sudo apt upgrade && sudo apt full-upgrade
>>> If the wifi drops out in the middle of the upgrade is there a danger
>>> that the system will be trashed?
>>
>> Not much, but you can reduce it to zero by using the "screen" utility.
>
> Yes, thanks, I know about screen. What I am interested in knowing,
> though, is whether there is any significant likelihood of catastrophe
> if I am not using it.
>
> Colin
>
Does it out of normal.. and we should expecting less than 100% your
command will work, since "apt upgrade" and "apt full-upgrade" may ask
you something to confirm yes/no/abort something during the process.
I have experience do this thing and it broke my remote system. As I
learning from experience, I use "screen" as suggested by Karl Auer
previously. So I can continue my session if unexpected loses connection
happen or I going to leave my work and plan to resume later.
--
Email: Robbi Nespu <robbinespu AT SPAMFREE gmail DOT com>
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key : https://keybase.io/robbinespu/pgp_keys.asc
More information about the ubuntu-users
mailing list