Upgrade not "seeing" the free disk space

7 risposte [Ultimo contenuto]
forest
Offline
Iscritto: 10/19/2012

I am trying to upgrade from 5.5 to 6.0. My home folder says that it has 8.7 GB of free space. But then during the upgrade I get this message:
============================================
Not enough free disk space

The upgrade has aborted. The upgrade needs a total of 1060 M free
space on disk '/'. Please free at least an additional 80.9 M of disk
space on '/'. Empty your trash and remove temporary packages of
former installations using 'sudo apt-get clean'.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
=== Command detached from window (Wed May 8 10:41:09 2013) ===
=== Command terminated with exit status 1 (Wed May 8 10:41:09 2013) ===
====================================

So it needs about 1GB of disk space and I have almost 9. Any advice on how to get it to see the free space will be appreciated.

(Btw, I did run the apt-get clean and I don't have files to delete)

quiliro@congresolibre.org
Offline
Iscritto: 10/28/2010

El 08/05/13 10:48, name at domain escribió:
> I am trying to upgrade from 5.5 to 6.0. My home folder says that it
> has 8.7 GB of free space. But then during the upgrade I get this message:
> ============================================
> Not enough free disk space
>
> The upgrade has aborted. The upgrade needs a total of 1060 M free
> space on disk '/'. Please free at least an additional 80.9 M of disk
> space on '/'. Empty your trash and remove temporary packages of
> former installations using 'sudo apt-get clean'.

You have 8.7 GB on /home
The upgrader camplains about you only having 80.9 MB on /.
The upgrader needs 1 GB to upgrade.

You need more space on your root (/) partition, not on your home (/home)
partition.

I suggest you do as you are told:
sudo apt-get clean
You can see the free space you have on each partition with:
df -h |grep sd

--
Saludos libres,

Quiliro Ordóñez
Presidente (en conjunto con el resto de socios)
Asociación de Software Libre del Ecuador - ASLE
Av de la Prensa N58-219 y Cristóbal Vaca de Castro
Quito, Ecuador
(02)-600 8579
IRC: http://webchat.freenode.net?channels=asle&uio=OT10cnVlJjEwPXRydWU3a

Todo correo que reciba será tratado como información pública, de libre copia y modificación, sin importar cualquier nota de confidencialidad.

forest
Offline
Iscritto: 10/19/2012

Thank you Quiliro. I cleaned it, but still have only 999MB available on "/". Is there an easy way for me to "give" the "/" some of the disk space that is now available in the /home?

lembas
Offline
Iscritto: 05/13/2010

> Is there an easy way for me to "give" the "/" some of the disk space that is now available in the /home?

Unfortunately no. At least I don't know how.

Maybe open the synaptic package manager, select installed packages and sort them by installed size. (You might need to make the installed size column visible in synaptic settings) Then simply uninstall a large enough package for the time of the upgrade.

Or perhaps you have some useless packages installed that you could get rid of permanently.

Andresm

I am a member!

Offline
Iscritto: 11/21/2010

use synaptic to uninstal libre office suite. make sure you use remove completly.
after install you might have space to reinstall.

careful.

Andresm

I am a member!

Offline
Iscritto: 11/21/2010

after your upgrade to 6.0 i mean

but better uninstall programs you do not need.
you might be better off reinstalling giving plenty extra to /.

forest
Offline
Iscritto: 10/19/2012

Uninstalling a few packages that I will reinstall later did the trick. Thank you for the creative suggestions. I was about to try gparted, but I am glad I didn't, it would have taken longer and I may have messed up.

Andresm

I am a member!

Offline
Iscritto: 11/21/2010

maybe changing from libre office to abiword and gnumeric will let you have some extra space.
as far as i recall you will not be able to redice the home partition if it is xps. you will have to backup and delete it completely in order to shrink it.