Software Updater errors
#1
Information 
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.
#2
Thanks for the write up.  I couldn't figure out how to update!
#3
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
[ PHP Developer | Pinebook 1G | About me ]
#4
I second that Wink Synaptic is the best for a DE Wink And at the console, I also like the aptitude ncurses frontend...
#5
(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?
"Get your facts straight first, then distort them as you wish." -- Mark Twain
#6
(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.
You can find me on IRC, Discord and Twitter


#7
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?
"Get your facts straight first, then distort them as you wish." -- Mark Twain
#8
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.
#9
It's under ctrl+alt+F7


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing software cmh2010 5 6,377 05-30-2019, 02:54 AM
Last Post: markcuban56
  Ubuntu Mate 'Welcome' and Software Boutique. AndyK 4 6,045 06-29-2017, 12:55 AM
Last Post: Ajinkya
  Update software needs more space mspohr 3 5,769 05-09-2017, 07:04 PM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)