Trying to Upgarde but PC says I have little Space

Nils Kassube kassube at gmx.net
Mon Mar 28 06:21:22 UTC 2016


Richard Barmann wrote:
> ick at dick-desktop:~$ df -h
> Filesystem      Size  Used Avail Use% Mounted on
> udev            992M     0  992M   0% /dev
> tmpfs           202M  5.3M  197M   3% /run
> /dev/sda2        21G   20G  146M 100% /
> tmpfs          1008M  152K 1007M   1% /dev/shm
> tmpfs           5.0M  4.0K  5.0M   1% /run/lock
> tmpfs          1008M     0 1008M   0% /sys/fs/cgroup
> tmpfs           202M   20K  202M   1% /run/user/1000
> dick at dick-desktop:~$
> 
> I have the Kubuntu back and working. Thank you.
> Now I would like to know how to change the target to the other unused
> root or can I delete everything in the archives?

So this is the 15.10 system you want to upgrade? There is even less 
space than I read from your first picture. So first you have to get rid 
of a lot of unneeded files. Like I wrote before, I would suggest to run

sudo apt-get clean

which removes all the obsolete files in "/var/cache/apt/archives". Also 
delete all kernels except the one you are using now. If you need 
assitance for that, please post the output of these commands:

uname -r
dpkg --get-selections | grep linux-image

Someone else also suggested to run

sudo apt-get autoremove

which may uninstall some more unneeded packages. Please let us know how 
much space you have after that - maybe it is already sufficient.


Nils





More information about the kubuntu-users mailing list