PDA

View Full Version : [ubuntu] 13.04 Upgrade Files



Silencecm
June 26th, 2013, 07:46 PM
I was recently using 12.10 with no problems. The update manager prompted me to upgrade to 13.10. I experienced a problem during the automatic upgrade.

Some background information:
I am using an ultrabook with a 24gb SSD and 500gb HDD for web development purposes.
I partitioned the filesystem to live on the SSD for best performance, while using the HDD for storage.

244196

I had no idea the files downloaded for the upgrade would exceed my disk size.
Somehow the upgrade process finished (with the exception of an unreadable error):


me :~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring

My problem:
My filesystem is now warning my it is full! Is it possible the upgrade did not remove the files it downloaded?
I've looked at the disk and can't identify any obvious locations where these files might be living.
Any help is appreciated!

snowpine
June 26th, 2013, 09:46 PM
It is quite possible the upgrade has failed, hope your system can be recovered.

To analyze your disk space:


df -h

I bet you can reclaim some space by cleaning cached .deb files with:


sudo apt-get clean

With such a tiny drive, I would have done a fresh reinstall, personally. (Hintsight is 20/20.)

grahammechanical
June 27th, 2013, 12:48 AM
A 24GB SSD would seem sufficient but how was the SSD partitoned? Please tells us the partition sizes. Do you have a separate boot partition?

To get space back you can empty the rubbish bin. At the Grub menu you can select Advanced options>Recovery Mode>clean. I have never run that option. I cannot say how well it works from personal experience.

You can also use Disks and Disk Usage Analyser.

Regards.

Silencecm
June 27th, 2013, 02:30 PM
Just a note, my system is still running fine, the disk is just reporting full.

apt-get clean and
autoremove did not reclaim much space as I ran them before posting this.

Here are my partition details:
2.0gb ext4 /boot
8.0gb ext4 / 83% full
8.0gb ext4 /home
6.0gb swap

Please give me some feedback on this layout, I am still learning! I made the swap 6gb to match the ram on my machine.
I am going to run
boot-repair and try running clean.

Thanks for the replies!

snowpine
June 27th, 2013, 02:38 PM
I used to have a netbook with a small 8gb SSD. My partition scheme was one 8gb ext4 partition, mounted as /.

Personally, in your situation, I would put swap on the 500gb drive and not bother with a separate /boot (and in any case, 2gb is unnecessarily large for /boot).

Silencecm
July 8th, 2013, 03:34 PM
Thanks for the assistance.
I managed to remove some unnecessary files from the SSD.
This thread can be closed now.