You are not logged in.

#1 2011-03-19 18:52:54

breaksand30
Member
Registered: 2011-01-13
Posts: 39

No more space left on device?

I'm currently doing a sudo pacman -Syu to update my system. I'm downloading about 5000mb of files and I'm getting an error on pacman during the upgrade.

error: error writing to file '/var/cache/pacman/pkg/python-gtop-2.32.0-4-i686.pkg.tar.xz.part': No space left on device-----]   0%

That's just one of the errors. That happens with just about every package. Here is the output of fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90909090

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      208844      104391   83  Linux
/dev/sda2          208845      738989      265072+  82  Linux swap / Solaris
/dev/sda3          738990    16113194     7687102+  83  Linux
/dev/sda4        16113195   488392064   236139435   83  Linux

And here is the output of df -h

Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  224K  9.8M   3% /dev
/dev/disk/by-uuid/068c20b8-64cf-4dc2-ae73-4415f94f6eca
                      7.3G  7.3G     0 100% /
shm                   1.5G     0  1.5G   0% /dev/shm
/dev/sda4             222G  9.3G  202G   5% /home
/dev/sda1              99M   14M   80M  15% /boot

Any idea why?

Offline

#2 2011-03-19 19:00:24

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: No more space left on device?

Your root partition is full.  Remove some files and try again.

Offline

#3 2011-03-19 19:00:27

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: No more space left on device?

Since you don't have a separate /var I would suggest the package cache is taking up a lot of space. What is the output of

du -sh /var/cache/pacman/pkg

Also you might want to consider transferring some space from /home to /


Rauchen verboten

Offline

#4 2011-03-19 19:02:20

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: No more space left on device?

SS4 wrote:

Since you don't have a separate /var I would suggest the package cache is taking up a lot of space. What is the output of

du -sh /var/cache/pacman/pkg

Also you might want to consider transferring some space from /home to /

2.0G    /var/cache/pacman/pkg

How can I do this? I'm new to arch.

Offline

#5 2011-03-19 19:18:19

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: No more space left on device?

If you're new I wouldn't recommend messing about with partitions on a current install.

Your package cache is taking up 2GB of space. You can clear it by running (as root or via sudo)

pacman -Scc

Other than the package cache I'm not sure what could be using all your space in root


Rauchen verboten

Offline

#6 2011-03-19 19:36:52

breaksand30
Member
Registered: 2011-01-13
Posts: 39

Re: No more space left on device?

SS4 wrote:

If you're new I wouldn't recommend messing about with partitions on a current install.

Your package cache is taking up 2GB of space. You can clear it by running (as root or via sudo)

pacman -Scc

Other than the package cache I'm not sure what could be using all your space in root

Is there a way I could give some of the space from /dev/sda4 to my root?

Offline

#7 2011-03-19 19:56:29

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: No more space left on device?

Yes, use a live cd (the arch one works but it's better to use gparted live cd or ubuntu) although it will be tough since the partitions are not next to each other. Plus it might require changing fstab.

If it's a new install it might be worth reinstalling


Rauchen verboten

Offline

Board footer

Powered by FluxBB