PINE64
Software Updater errors - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Linux on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=79)
+--- Thread: Software Updater errors (/showthread.php?tid=4611)



Software Updater errors - pfeerick - 06-21-2017

This post is here to document a known issue which most likely stems from an odd requirement of the graphical Software Updater tool used in Ubuntu. It's not new, nor is it unique to the pinebook/pine64. It has plagued other SBC communities, even the mighty Raspberry Pi has suffered from it! Wink So, the Software Updater tool runs contently in the background, checking for updates. Or you decide to run it manually... you remember where it is, don't you... it's here:

   

So, either you run it manually, or it suddenly tells you there are updates ready to install. So you dutifully click the 'Update' button, only to be greeted with this nasty error screen. 

   

What did you do wrong? Absolutely nothing. For some bizzare reason, it expects that /boot has at least 48.2M free (this may not always be the case, but it is the typical number). And since the boot partition is 50M in size, with 23M used on my own system at the time of writing... the 28M of free space just doesn't satisfy it. 

So what do you do? Instead, run a terminal, for example, Applications -> System Tools -> MATE Terminal, 

   

and run "sudo apt update && sudo apt upgrade" (without the quotes). That's it. This will update your system, and you won't get any nasty unnecessary warnings about /boot not having enough free space!

Addendum (Jul 17): Just as a follow up, I tried resizing the /boot partition on a microSD build to 100MB, and had no issues with letting the GUI Software Updater do it's thing. It did not touch /boot during the update, and didn't change anything, so it appears to simply be an unnecessary free space check since kernel updates, etc are not done through it on the pinebook. There is also this report by another user who was able to both use it to do updates, and also upgrade from 16.04 to 17.04, which I would only recommend if you accept that this is NOT supported, as 17.04 is NOT a LTS ubuntu version.


RE: Software Updater errors - Nierika - 06-26-2017

Thanks for the write up.  I couldn't figure out how to update!


Software Updater errors - soupbowl - 07-10-2017

If you want a GUI, I recommend installing synaptic.

Sudo apt install synaptic

This is the old favorite package manager before Ubuntu rolled their own. Basically a visual apt, and will handle updates and dependencies like apt does for you in a GUI environment.

You can also take software updater off the startup list, so it won't pester you for Updates.


Sent from my ONEPLUS A3003 using Tapatalk


RE: Software Updater errors - pfeerick - 07-10-2017

I second that Wink Synaptic is the best for a DE Wink And at the console, I also like the aptitude ncurses frontend...


RE: Software Updater errors - Siliconserf - 08-17-2017

(06-21-2017, 06:43 AM)pfeerick Wrote: This post is here to document a known issue which most likely stems from an odd requirement of the graphical Software Updater tool used in Ubuntu. It's not new, nor is it unique to the pinebook/pine64. It has plagued other SBC communities, even the mighty Raspberry Pi has suffered from it! Wink So, the Software Updater tool runs contently in the background, checking for updates. Or you decide to run it manually... you remember where it is, don't you... it's here:



So, either you run it manually, or it suddenly tells you there are updates ready to install. So you dutifully click the 'Update' button, only to be greeted with this nasty error screen. 



What did you do wrong? Absolutely nothing. For some bizzare reason, it expects that /boot has at least 48.2M free (this may not always be the case, but it is the typical number). And since the boot partition is 50M in size, with 23M used on my own system at the time of writing... the 28M of free space just doesn't satisfy it. 

So what do you do? Instead, run a terminal, for example, Applications -> System Tools -> MATE Terminal, 



and run "sudo apt update && sudo apt upgrade" (without the quotes). That's it. This will update your system, and you won't get any nasty unnecessary warnings about /boot not having enough free space!

Addendum (Jul 17): Just as a follow up, I tried resizing the /boot partition on a microSD build to 100MB, and had no issues with letting the GUI Software Updater do it's thing. It did not touch /boot during the update, and didn't change anything, so it appears to simply be an unnecessary free space check since kernel updates, etc are not done through it on the pinebook. There is also this report by another user who was able to both use it to do updates, and also upgrade from 16.04 to 17.04, which I would only recommend if you accept that this is NOT supported, as 17.04 is NOT a LTS ubuntu version.
The response to entering the command line is to ask for a password, but the keyboard is ignored. I did this as an adminstrator user. Obviously I'm a nubie, so what magic incantation did I miss?


RE: Software Updater errors - Luke - 08-17-2017

(08-17-2017, 11:02 AM)Siliconserf Wrote:
(06-21-2017, 06:43 AM)pfeerick Wrote: This post is here to document a known issue which most likely stems from an odd requirement of the graphical Software Updater tool used in Ubuntu. It's not new, nor is it unique to the pinebook/pine64. It has plagued other SBC communities, even the mighty Raspberry Pi has suffered from it! Wink So, the Software Updater tool runs contently in the background, checking for updates. Or you decide to run it manually... you remember where it is, don't you... it's here:



So, either you run it manually, or it suddenly tells you there are updates ready to install. So you dutifully click the 'Update' button, only to be greeted with this nasty error screen. 



What did you do wrong? Absolutely nothing. For some bizzare reason, it expects that /boot has at least 48.2M free (this may not always be the case, but it is the typical number). And since the boot partition is 50M in size, with 23M used on my own system at the time of writing... the 28M of free space just doesn't satisfy it. 

So what do you do? Instead, run a terminal, for example, Applications -> System Tools -> MATE Terminal, 



and run "sudo apt update && sudo apt upgrade" (without the quotes). That's it. This will update your system, and you won't get any nasty unnecessary warnings about /boot not having enough free space!

Addendum (Jul 17): Just as a follow up, I tried resizing the /boot partition on a microSD build to 100MB, and had no issues with letting the GUI Software Updater do it's thing. It did not touch /boot during the update, and didn't change anything, so it appears to simply be an unnecessary free space check since kernel updates, etc are not done through it on the pinebook. There is also this report by another user who was able to both use it to do updates, and also upgrade from 16.04 to 17.04, which I would only recommend if you accept that this is NOT supported, as 17.04 is NOT a LTS ubuntu version.
The response to entering the command line is to ask for a password, but the keyboard is ignored. I did this as an adminstrator user. Obviously I'm a nubie, so what magic incantation did I miss?

Because acra cadabra ... the password is invisible (really, you cant see it).
Type in the password - you will not see the input - and press enter.


RE: Software Updater errors - Siliconserf - 08-17-2017

Aha! Invisible magic. Love it. So, I tried again without expecting any keyboard echo. The software got very busy and after a brief pause in the middle somewhere, it proceeded until a last message about libllvm3.8 no longer needed and I should enter 'sudo apt autoremove' to remove it. I take it at this point I erase and remove the sd micro card until the next major update? Will that make the remove message moot?


RE: Software Updater errors - tlaswell - 08-24-2017

Fixed it for me.  In searching somewhere I saw I could get command prompt by pressing Ctrl-Alt-F1 (or some pair of modifier keys close to that).  I did the sudo apt update/sudo apt upgrade without any problems.  Hoping this fixes the flickering without having to run the update scripts from the other thread.

My only question is how do I get back to the GUI without rebooting?  I'm assuming this is a MATE thing, not general linux or specific to PineBook.


RE: Software Updater errors - combs - 08-25-2017

It's under ctrl+alt+F7