Problem with Upgrade!

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Problem with Upgrade!

Postby vfafou » Fri Mar 08, 2013 19:26

Hello!
Having system notifying me for 369 updates available (due to KDE 4.10 release), I try to upgrade my system but I take the following message:
"Disk full, cannot download nor unpack Applications"
"System Upgrade Error: please check the upgrade log".

I did an equo cleanup but nothing new happened.
Sabayon is the only OS I have installed and I have 2 partitions:
/ 20GB
/home ~340GB

I have noticed that 20GB of disk space is not enough for root partition, so what is the best action I have to do?

Is there any cleanup tip, or is it better to resize my partitions to give 10 more GB to the root?
Notice that I'm relatively new to Sabayon and I'm still learning!
Below, you will see the results of df -h and df -i:

df -h gives:
Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
rootfs           20G   17G  1.8G  91% /
udev             10M  4.0K   10M   1% /dev
/dev/sda1        20G   17G  1.8G  91% /
tmpfs           3.8G  1.2M  3.8G   1% /run
tmpfs           3.8G  212K  3.8G   1% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
/dev/sda2       342G   66G  259G  21% /home
/dev/sda3        97G   80G   12G  87% /vm
tmp             3.8G   52K  3.8G   1% /tmp
vartmp          3.8G  197M  3.6G   6% /var/tmp


and df -i gives:

Code: Select all
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
rootfs          1281120 444389   836731   35% /
udev             968610    550   968060    1% /dev
/dev/sda1       1281120 444389   836731   35% /
tmpfs            971008    562   970446    1% /run
tmpfs            971008      7   971001    1% /dev/shm
cgroup_root      971008     11   970997    1% /sys/fs/cgroup
/dev/sda2      22716416  92111 22624305    1% /home
/dev/sda3       6406144  33633  6372511    1% /vm
tmp              971008     30   970978    1% /tmp
vartmp           971008     38   970970    1% /var/tmp


Thank you in advance.
vfafou
Young Hen
 
Posts: 32
Joined: Mon May 14, 2012 22:40

Re: Problem with Upgrade!

Postby sabayonino » Fri Mar 08, 2013 19:38

partition is too small for this upgrade

packages will be downlowded to /var/lib/entropy/client/packages

remove this directory :
Code: Select all
# rm -rf /var/lib/entropy/client/packages


Create a new directory in your $Home (or where you want) with big free space
Example
Code: Select all
# mkdir /home/<your_user>/packages


create a symlink :
Code: Select all
# ln -s /home/<your_user>/packages /var/lib/entropy/client/packages


now you can download and upgrade your system
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Problem with Upgrade!

Postby vfafou » Fri Mar 08, 2013 19:53

Hello sabayonino!
Thank you for your reply.
I tried your suggestion but I still have the same issue. I rebooted and I have the same behaviour!
If there is no other way to give space to the upgrade, is it recommended to use PartedMagic to make my home 10GB smaller and give this space to root partition, or I will break the system? :cry:
vfafou
Young Hen
 
Posts: 32
Joined: Mon May 14, 2012 22:40

Re: Problem with Upgrade!

Postby sabayonino » Fri Mar 08, 2013 19:56

vfafou wrote:Hello sabayonino!
Thank you for your reply.
I tried your suggestion but I still have the same issue. I rebooted and I have the same behaviour!
If there is no other way to give space to the upgrade, is it recommended to use PartedMagic to make my home 10GB smaller and give this space to root partition, or I will break the system? :cry:



Gparted Live should be good.

but I think you must have a lot of free space to move/increase/decrease space. (1MB is ok)
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Problem with Upgrade!

Postby vfafou » Fri Mar 08, 2013 20:01

My /home has 259GB free, so I have enough free space. The only thing I'm afraid of, is the resizing of /home that is a primary partition. The filesystem is ext4 so I don't think that I will face problems, but I have never tried resizing linux partitions.
vfafou
Young Hen
 
Posts: 32
Joined: Mon May 14, 2012 22:40

Re: Problem with Upgrade!

Postby sabayonino » Fri Mar 08, 2013 20:11

vfafou wrote:My /home has 259GB free, so I have enough free space. The only thing I'm afraid of, is the resizing of /home that is a primary partition. The filesystem is ext4 so I don't think that I will face problems, but I have never tried resizing linux partitions.


My SL Xfce has 5.5 Gb used.
SL KDE has 24 Gb (with downloaded packages 9GB + Home 15GB)

check your tmp files/directories
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Problem with Upgrade!

Postby manifesto » Fri Mar 08, 2013 22:15

just one advice, if you resize or touch filesystem make sure to have backup for important files.
I use fsarchiver (advise from SL forum member) it is efficient and I am happy to have used it when I broke my system ;-)
@sabayonimo, I really wish to understand how you can keep that 9Gb.
Mine for SL KDE is 18GB but it is installed since 3 years, I hace probably old dependancies and packages.
manifesto
Growing Hen
 
Posts: 145
Joined: Mon Jul 19, 2010 22:21

Re: Problem with Upgrade!

Postby sabayonino » Fri Mar 08, 2013 22:48

manifesto wrote:just one advice, if you resize or touch filesystem make sure to have backup for important files.
I use fsarchiver (advise from SL forum member) it is efficient and I am happy to have used it when I broke my system ;-)
@sabayonimo, I really wish to understand how you can keep that 9Gb.
Mine for SL KDE is 18GB but it is installed since 3 years, I hace probably old dependancies and packages.



9Gb fresh install and some pkgs installed after + portage tree :mrgreen:
User avatar
sabayonino
Sagely Hen
 
Posts: 1574
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Problem with Upgrade!

Postby manifesto » Fri Mar 08, 2013 23:33

which DE ? Do you have firefox ?
BTW which versoin of GCC do you have installed ?
I have :
Code: Select all
>> # 25119 [289.3MB] [5]  sys-devel/gcc-4.4.7
>> # 29282 [811.7MB] [5]  sys-devel/gcc-4.5.4
>> # 29283 [906.0MB] [5]  sys-devel/gcc-4.6.3
manifesto
Growing Hen
 
Posts: 145
Joined: Mon Jul 19, 2010 22:21

Re: Problem with Upgrade!

Postby vfafou » Sat Mar 09, 2013 12:41

Hi! I've finally found that I have to increase the size of /var/tmp.
How can I do this?
vfafou
Young Hen
 
Posts: 32
Joined: Mon May 14, 2012 22:40

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest