# Root partition is full, can't upgrade

**URL:** <https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087>\
**Category:** Rolling 2016.01\
**Created:** [March 23, 2015, 12:20pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087 "2015-03-23T12:20:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leherenn](https://support.blue-systems.com/letter_avatar/leherenn/32/6_449c533f586939b6e5f246632a46421f.png) [@Leherenn](https://support.blue-systems.com/u/Leherenn)\
**Post date:** [March 23, 2015, 12:20pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087/1 "2015-03-23T12:20:55Z")

</div>

Hello,

I can’t upgrade Netrunner anymore because my 20GB / partition (separated from /home) is full.  
While I have installed some new kinda big packages over a new install, it’s seems like a lot, especially since I think I remember having lots of space left not that long ago.

Is there some kind of cache or leftover files that could cause this?  
Or if it’s normal given what I have installed, is there a way to see what is consuming what?

My usage in case it helps.

```auto
$ sudo du -sh /* | sort -h -r
du: cannot access ‘/proc/21708/task/21708/fd/3’: No such file or directory
du: cannot access ‘/proc/21708/task/21708/fdinfo/3’: No such file or directory
du: cannot access ‘/proc/21708/fd/3’: No such file or directory
du: cannot access ‘/proc/21708/fdinfo/3’: No such file or directory
du: cannot access ‘/run/user/1000/gvfs’: Permission denied
13G /home
11G /usr
9.5G /var
246M /opt
76M /etc
59M /root
39M /boot
1016K /run
828K /dev
44K /tmp
20K /kde-image-pkgs.txt
16K /lost+found
12K /srv
8.0K /root-image-pkgs.txt
8.0K /mnt
8.0K /.config
4.0K /.wh..wh.plnk
4.0K /.wh..wh.orph
4.0K /media
0 /.wh..wh.aufs
0 /sys
0 /sbin
0 /proc
0 /lib64
0 /lib
0 /default
0 /bin
```

Thanks.

---

<div class="post-metadata">

**Author:** ![Platon91](https://support.blue-systems.com/letter_avatar/platon91/32/6_449c533f586939b6e5f246632a46421f.png) [@Platon91](https://support.blue-systems.com/u/Platon91)\
**Post date:** [March 23, 2015, 2:23pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087/2 "2015-03-23T14:23:15Z")

</div>

> [@Leherenn](#):
>
> Hello,
> 
> I can’t upgrade Netrunner anymore because my 20GB / partition (separated from /home) is full.  
> While I have installed some new kinda big packages over a new install, it’s seems like a lot, especially since I think I remember having lots of space left not that long ago.
> 
> Is there some kind of cache or leftover files that could cause this?  
> Or if it’s normal given what I have installed, is there a way to see what is consuming what?
> 
> My usage in case it helps.
> 
> ```auto
> $ sudo du -sh /* | sort -h -r
> du: cannot access ‘/proc/21708/task/21708/fd/3’: No such file or directory
> du: cannot access ‘/proc/21708/task/21708/fdinfo/3’: No such file or directory
> du: cannot access ‘/proc/21708/fd/3’: No such file or directory
> du: cannot access ‘/proc/21708/fdinfo/3’: No such file or directory
> du: cannot access ‘/run/user/1000/gvfs’: Permission denied
> 13G /home
> 11G /usr
> 9.5G /var
> 246M /opt
> 76M /etc
> 59M /root
> 39M /boot
> 1016K /run
> 828K /dev
> 44K /tmp
> 20K /kde-image-pkgs.txt
> 16K /lost+found
> 12K /srv
> 8.0K /root-image-pkgs.txt
> 8.0K /mnt
> 8.0K /.config
> 4.0K /.wh..wh.plnk
> 4.0K /.wh..wh.orph
> 4.0K /media
> 0 /.wh..wh.aufs
> 0 /sys
> 0 /sbin
> 0 /proc
> 0 /lib64
> 0 /lib
> 0 /default
> 0 /bin
> ```
> 
> Thanks.

You could have a look at the pacman cache in /var/cache/pacman/pkg/ which keeps around all the packages you have ever downloaded. It is good to clean it every now and then and from your list it seems /var is quite big.

```auto
pacman -Sc
```

However, it will remove all packages downloaded except that latest one that is installed, so be sure you don’t need to downgrade any package.

---

<div class="post-metadata">

**Author:** ![Leherenn](https://support.blue-systems.com/letter_avatar/leherenn/32/6_449c533f586939b6e5f246632a46421f.png) [@Leherenn](https://support.blue-systems.com/u/Leherenn)\
**Post date:** [March 23, 2015, 3:35pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087/3 "2015-03-23T15:35:27Z")

</div>

It was enough to upgrade at least, though I’m not really sure how I will deal with this in the future as my SSD is rather small and I can’t make it much bigger.

Thanks anyway!

---

<div class="post-metadata">

**Author:** ![Orbmiser](https://support.blue-systems.com/letter_avatar/orbmiser/32/6_449c533f586939b6e5f246632a46421f.png) [@Orbmiser](https://support.blue-systems.com/u/Orbmiser)\
**Post date:** [March 23, 2015, 6:54pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087/4 "2015-03-23T18:54:32Z")

</div>

Yep same here smaller / and separate /home. And always started to get down to less than 1gb. The secret for me was clean out and delete everything in root var/cache/pacman folder. That is where the download packages go. And fine to delete them once the upgrade is completed. As they are not automatically deleted after upgrades.

.

---

<div class="post-metadata">

**Author:** ![AJSlye](https://support.blue-systems.com/user_avatar/support.blue-systems.com/ajslye/32/263_2.png) [@AJSlye](https://support.blue-systems.com/u/AJSlye)\
**Post date:** [March 23, 2015, 6:56pm UTC](https://support.blue-systems.com/t/root-partition-is-full-cant-upgrade/3087/5 "2015-03-23T18:56:59Z")

</div>

You can Install the new octopi cache cleaner plugin for a GUI to this if you like, there is also a new repository editor plug in as well:

```auto
sudo pacman-S octopi-cachecleaner octopi-repoeditor
```

If you still have the live media, you can boot it up and re-size your partitions using gparted or partitionmanager to make more room on that partition.
