PINE64
Glacially slow system updates on Mobian - waiting on boot 20m - 1h - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Glacially slow system updates on Mobian - waiting on boot 20m - 1h (/showthread.php?tid=16141)



Glacially slow system updates on Mobian - waiting on boot 20m - 1h - bujiraso - 02-22-2022

Hello!

I have Mobian installed to the embedded SD in my PinePhone PmOS edition.

Any time I do a System Update with a reboot, it takes very long. I haven't timed it, but I wager the better part of an hour was spent updating once, then when I loaded in it asked for another (it's been a while, so that's fine), but then that took ~20m.

What are the average system update times for anyone else here?
Is there a way to speed this up? Is it affected by system encryption?


RE: Glacially slow system updates on Mobian - waiting on boot 20m - 1h - arno_nuehm - 02-23-2022

Hello there,

the cause of lenghty updates might be the update of initramfs, which takes quite a while in my case with full disc encryption.

I'm always updating via terminal so I can see, what is taking so long.

Hopefully, that helped you.

Cheers


RE: Glacially slow system updates on Mobian - waiting on boot 20m - 1h - Anna - 02-23-2022

(02-22-2022, 10:34 AM)bujiraso Wrote: What are the average system update times for anyone else here?
Is there a way to speed this up? Is it affected by system encryption?

It used to be discouraged to use "Software" and the Graphical User Interface for updates because it was known to cause problems (not sure if that's still the case). It was recommended to to use the terminal instead:

Code:
sudo apt update && sudo apt upgrade -y -y

That's how I've always done it without ever experiencing any problems or delays of glacial proportions. Never takes more than five minutes to upgrade (which I do on a daily basis though).


RE: Glacially slow system updates on Mobian - waiting on boot 20m - 1h - wibble - 02-24-2022

I've seen very slow initramfs creation with full disc encryption too. I update from the terminal not the gui.


RE: Glacially slow system updates on Mobian - waiting on boot 20m - 1h - mthwbrwn - 02-24-2022

(02-23-2022, 11:45 AM)Anna Wrote:
(02-22-2022, 10:34 AM)bujiraso Wrote: What are the average system update times for anyone else here?
Is there a way to speed this up? Is it affected by system encryption?

It used to be discouraged to use "Software" and the Graphical User Interface for updates because it was known to cause problems (not sure if that's still the case). It was recommended to to use the terminal instead:

Code:
sudo apt update && sudo apt upgrade -y -y

That's how I've always done it without ever experiencing any problems or delays of glacial proportions. Never takes more than five minutes to upgrade (which I do on a daily basis though).

It's also quite worth the time to alias Anna's tip to ~/.bash_aliases (or .bashrc )
Code:
alias sup='sudo apt update && sudo apt upgrade -y'
 that way all you need to do is run `sup` in your terminal if you find yourself unable to ssh in and have a tendency to fat finger the tiny popup keyboard.


RE: Glacially slow system updates on Mobian - waiting on boot 20m - 1h - bujiraso - 03-01-2022

Thanks, all, for the feedback!
I'll update via terminal, as suggested