View: 8325|Reply: 5

not enough free disk space for update

[Copy link]

4

threads

21

posts

114

credits

Registered member

Rank: 2

credits
114
Published in 2017-2-26 19:18:50 | Show all floors |Read mode
When I start my orangepi PC2, I receive the message that there are update available for Ubuntu.
After accepting the installation of the updates, I receive the message
' Not enough free disk space . Update needs 48 M free space on disk /boot. Please fee at least an additional 9298 k ..........'

When I see in the properties, :
usage 9,6 of 15,2 GB free ( 36% used)



1

threads

5

posts

41

credits

Novice

Rank: 1

credits
41
Published in 2017-2-27 01:03:08 | Show all floors
Can you post the output from:
df -h

4

threads

21

posts

114

credits

Registered member

Rank: 2

credits
114
 Author| Published in 2017-2-27 03:49:30 | Show all floors
filesystem                 Size        used         Avail       Use%    Mounted on

/dev/mmcblkOp2      15G         4,7G        8,9G        35%        /
devtmpfs                    482M           0         482M       0%         /dev
tmpfs                           490M         84K      490M       1%         /dev/shm
tmpfs                           490M        7,1M      483M       2%        /run
tmpfs                            5,0M        4,0K          5M       1%         /run/lock
tmpfs                           490M            0         490M       0%        /sys/fs/cgroup
/dev/mmcblkOp1         50M         13M        38M      26%      /boot
tmpfs                             98M         12K         98M        1%      /run/user/1000

1

threads

5

posts

41

credits

Novice

Rank: 1

credits
41
Published in 2017-2-27 06:50:39 | Show all floors
Strange, I have no idea why an update would need that much space in /boot.
Your /boot is only 50M so you can try to move (BUT KEEP!) your files from /boot and do the update.
From what I see you've installed Ubuntu on the internal memory, so if you decide to move everything out of /boot, be sure to have ready SD card in case anything go wrong. In this case - boot from and SD card and move back the files to /boot

4

threads

21

posts

114

credits

Registered member

Rank: 2

credits
114
 Author| Published in 2017-3-2 23:32:59 | Show all floors
Many thanks, but I don't understand. As far as I know, the orangepi boots from the SD card. With no SDcard, nothing happens. Even no green and red led.

4

threads

21

posts

114

credits

Registered member

Rank: 2

credits
114
 Author| Published in 2017-3-3 00:51:38 | Show all floors
this worked for one time

sudo apt-get purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") )

Afterward I received again the message that there was an update available of 227 kB, when I accepted the update, I receive the same message that the system needed 92 MB to do the update and stopped.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list