Losing ssh connection during apt upgrade
Colin Law
clanlaw at gmail.com
Fri Jan 29 14:08:05 UTC 2021
On Fri, 29 Jan 2021 at 13:47, Karl Auer <kauer at biplane.com.au> wrote:
>
> On Fri, 2021-01-29 at 13:25 +0000, 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.
>
> And I answered you - "not much". However, since you can make it zero
> (or at least, zero for the reasons you mentioned), why would you not?
"not much" is meaningless. As to why not, the answer is convenience
and remembering to do it. If the chance of failure is not significant
then there is no point. Perhaps apt is well enough designed that the
likelihood is already effectively zero, in which case why bother?
Colin
More information about the ubuntu-users
mailing list