Page 1 of 1

[SOLVED] ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 02:21
by RoyD
I tried to install ClamAv through MCC but I get this error below. So does this mean by root is full? I looked under dolphin and it says root is 0 free. The root partition is 12gb. Where do I start to find out where all my gbs went to? I only use this for PC for normal desktop stuff, all installed through MCC. Thanks Roy

Code: Select all
1 installation transactions failed
There was a problem during the installation:
installing package libtommath0-0.42.0-4.mga3.i586 needs 100KB on the / filesystem
installing package libclamav6-0.97.8-1.mga3.i586 needs 12MB on the / filesystem
installing package clamav-db-0.97.8-1.mga3.noarch needs 66MB on the / filesystem
installing package clamav-0.97.8-1.mga3.i586 needs 82MB on the / filesystem

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 03:07
by jkerr82508
Code: Select all
du -akx / | sort -nr | head -n 25

run as root will display the sizes of the 25 largest directories in /. This may give you a hint as to what the problem is.
ncdu (in the core repo) is a useful utility for this sort of troubleshooting.

Jim

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 04:01
by RoyD
Hi I changed it to look at 250 dir. It comes to a total 31,000,580(31gb) and I have a 12,000,000 (12gb) / partition. I am confused.

Code: Select all
[root@localhost roy]# du -akx / | sort -nr | head -n 250
6460004 /
5641860 /usr
2576720 /usr/lib
2482600 /usr/share
588660  /usr/share/stellarium
550640  /usr/share/stellarium/stars
550636  /usr/share/stellarium/stars/default
546920  /var
442944  /usr/bin
384820  /usr/share/icons
340108  /usr/share/stellarium/stars/default/stars_7_2v0_0.cat
322240  /var/tmp
307368  /usr/lib/modules
268128  /usr/lib/libreoffice
254192  /usr/share/doc
242192  /usr/lib/python2.7
228864  /usr/share/icons/oxygen
226348  /var/tmp/kdecache-roy
192584  /usr/lib/libreoffice/program
182444  /usr/share/icons/oxygen/icon-theme.cache
170156  /usr/lib/python2.7/site-packages
167936  /usr/share/apps
158432  /usr/share/foomatic
158380  /usr/share/foomatic/db
158348  /usr/share/foomatic/db/source
156276  /usr/share/stellarium/stars/default/stars_6_2v0_0.cat
136992  /var/lib
132776  /usr/lib/jvm
122256  /usr/share/foomatic/db/source/opt
115984  /boot
115284  /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19
115280  /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre
115104  /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/lib
97884   /usr/lib/virtualbox
95320   /var/tmp/kdecache-root
92688   /var/lib/rpm
92384   /usr/lib/kde4
89440   /usr/share/PySolFC
82248   /var/tmp/kdecache-roy/plasma_theme_default.kcache
82244   /var/tmp/kdecache-roy/plasma_theme_internal-system-colors.kcache
82244   /var/tmp/kdecache-root/plasma_theme_default.kcache
81692   /usr/share/icons/gnome
77808   /usr/lib/perl5
73928   /var/lib/rpm/Packages
69220   /usr/share/doc/HTML
68196   /usr/share/doc/HTML/en
65676   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/lib/rt.jar
62564   /root
61964   /var/cache
60852   /usr/share/icons/gnome/icon-theme.cache
60728   /var/cache/urpmi
60604   /var/cache/urpmi/rpms
59424   /usr/lib/python2.7/site-packages/openshot
59260   /usr/share/fonts
59008   /opt
58980   /opt/teamviewer8
58068   /usr/sbin
57416   /opt/teamviewer8/tv_bin
53164   /usr/share/man
52916   /var/cache/urpmi/rpms/clamav-db-0.97.8-1.mga3.noarch.rpm
52088   /usr/share/icons/hicolor
51448   /opt/teamviewer8/tv_bin/wine
50356   /usr/src
50352   /usr/src/linux-3.3.6-desktop-2.mga2
49252   /usr/share/doc/scribus
48380   /usr/lib/libreoffice/program/libmergedlo.so
46356   /usr/share/locale
45664   /usr/lib/modules/3.8.13-desktop-1.mga3
45016   /usr/share/stellarium/stars/default/stars_5_2v0_0.cat
44652   /usr/lib/firefox-17.0.6
43944   /usr/lib/perl5/vendor_perl
43816   /usr/lib/modules/3.4.45-desktop-1.mga2
43796   /usr/lib/modules/3.4.34-desktop-1.mga2
43796   /usr/lib/modules/3.4.32-desktop-2.mga2
43788   /usr/lib/modules/3.4.24-desktop-3.mga2
43664   /usr/lib/libreoffice/share
43624   /usr/lib/thunderbird-17.0.6
43256   /usr/lib/modules/3.3.8-desktop-2.mga2
43248   /usr/lib/modules/3.3.6-desktop-2.mga2
42040   /usr/lib/modules/3.8.13-desktop-1.mga3/kernel
40376   /usr/lib/modules/3.4.45-desktop-1.mga2/kernel
40372   /usr/lib/modules/3.4.34-desktop-1.mga2/kernel
40372   /usr/lib/modules/3.4.32-desktop-2.mga2/kernel
40368   /usr/lib/modules/3.4.24-desktop-3.mga2/kernel
39904   /usr/lib/modules/3.3.8-desktop-2.mga2/kernel
39896   /usr/lib/modules/3.3.6-desktop-2.mga2/kernel
39264   /usr/share/inkscape
38668   /usr/share/scribus
38056   /usr/lib/python3.3
37376   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/lib/i386
36436   /usr/share/skype
35432   /usr/lib/firefox-17.0.6/libxul.so
35424   /usr/share/java
34532   /usr/lib/libgcj.so.13.0.0
33816   /usr/lib/perl5/5.16.3
32828   /usr/share/apps/carddecks
32780   /usr/lib/libQtWebKit.so.4.10.0
32660   /usr/lib/thunderbird-17.0.6/libxul.so
32200   /etc
31180   /usr/share/foomatic/db/source/PPD
30816   /usr/lib/dri
30724   /usr/lib/modules/3.8.13-desktop-1.mga3/kernel/drivers
30720   /var/tmp/kdecache-roy/bookmarkrunnerfirefoxdbfile.sqlite
30600   /usr/src/linux-3.3.6-desktop-2.mga2/include
29936   /usr/share/inkscape/tutorials
29724   /usr/share/doc/dvdisaster
29464   /usr/lib/gcc
29460   /usr/lib/gcc/i586-mageia-linux-gnu
29452   /usr/lib/gcc/i586-mageia-linux-gnu/4.7.2
29084   /usr/lib/modules/3.4.45-desktop-1.mga2/kernel/drivers
29076   /usr/lib/modules/3.4.32-desktop-2.mga2/kernel/drivers
29076   /usr/lib/modules/3.4.24-desktop-3.mga2/kernel/drivers
29072   /usr/lib/modules/3.4.34-desktop-1.mga2/kernel/drivers
28868   /usr/lib/python2.7/site-packages/PyKDE4
28620   /usr/lib/modules/3.3.8-desktop-2.mga2/kernel/drivers
28620   /usr/lib/modules/3.3.6-desktop-2.mga2/kernel/drivers
28076   /usr/lib/virtualbox/ExtensionPacks
28072   /usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack
28016   /usr/share/skype/skype
27188   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/lib/i386/server
26536   /usr/lib/perl5/vendor_perl/5.16.2
26392   /usr/lib/python2.7/test
26136   /usr/share/sgml
25980   /usr/lib/qt4
25864   /usr/share/sgml/docbook
25620   /usr/lib/libwebkitgtk-1.0.so.0.17.5
25596   /usr/lib/libwebkitgtk-3.0.so.0.17.5
25108   /opt/teamviewer8/tv_bin/wine/lib
24936   /opt/teamviewer8/tv_bin/wine/drive_c
24920   /opt/teamviewer8/tv_bin/wine/drive_c/TeamViewer
24576   /usr/share/dasher
24440   /usr/share/icons/hicolor/icon-theme.cache
24016   /usr/share/mga
23976   /usr/lib/qt4/plugins
23952   /usr/lib/kompozer
23908   /opt/teamviewer8/tv_bin/wine/lib/wine
23296   /root/.kde4
23288   /root/.kde4/share
22896   /root/.kde4/share/apps
22692   /usr/lib/qt4/plugins/script
22560   /root/.kde4/share/apps/nepomuk
22548   /root/.kde4/share/apps/nepomuk/repository
22544   /root/.kde4/share/apps/nepomuk/repository/main
21200   /usr/lib/libreoffice/help
21196   /usr/share/mythes
21152   /usr/lib/libreoffice/help/en
20840   /usr/share/sgml/docbook/xsl-stylesheets-1.78.0
20604   /usr/libexec
20556   /usr/share/man/man3
20304   /usr/share/icu
20300   /usr/share/icu/50.1.2
20296   /usr/share/icu/50.1.2/icudt50l.dat
20244   /usr/share/foomatic/db/source/opt/gutenprint-ijs.5.2-pagesize.xml
19996   /var/log
19904   /root/.mozilla
19896   /root/.mozilla/firefox
19888   /root/.mozilla/firefox/3poy4qcg.default
19840   /usr/share/apps/marble
19824   /usr/share/apps/marble/data
19768   /var/lib/urpmi
19352   /usr/lib/python2.7/site-packages/openshot/blender
18960   /usr/share/fonts/TTF
18772   /var/lib/mlocate
18768   /var/lib/mlocate/mlocate.db
18468   /usr/share/scribus/translations
18432   /usr/share/doc/HTML/en/digikam
18212   /usr/share/mythes/th_en_US_v2.dat
17852   /usr/lib/libicudata.so.48.1.1
17620   /usr/share/icons/hicolor/scalable
17416   /usr/share/doc/scribus/en
17288   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6
17284   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre
17280   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib
17276   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386
17276   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19/jre/lib/i386/server/classes.jsa
17272   /usr/lib/perl5/vendor_perl/5.16.3
17272   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386/server
17268   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386/server/classes.jsa
17236   /usr/lib/kompozer/components
17152   /usr/lib/libreoffice/share/config
17056   /usr/lib/flash-plugin
17004   /usr/lib/flash-plugin/libflashplayer.so
16816   /usr/share/mga/backgrounds
16800   /var/lib/urpmi/Core Release (distrib1)
16624   /usr/share/doc/scribus/de
16388   /usr/share/locale/en_GB
16164   /usr/share/hugin
16116   /usr/share/doc/scribus/en/images
16028   /usr/share/ghostscript
16024   /usr/share/ghostscript/9.06
15936   /usr/lib/libLLVM-3.2.so
15904   /usr/share/locale/en_GB/LC_MESSAGES
15816   /usr/share/aqbanking
15652   /usr/share/doc/scribus/de/images
15372   /usr/lib/virtualbox/sdk
15368   /usr/lib/virtualbox/sdk/bindings
15092   /usr/lib/python2.7/site-packages/openshot/transitions
15084   /usr/share/aqbanking/bankinfo
14764   /usr/lib/qt4/plugins/script/libqtscript_gui.so.1.0.0
14744   /usr/lib/python2.7/site-packages/openshot/locale
14732   /usr/share/doc/scribus/it
14636   /usr/share/gnucash
14504   /usr/lib/libLLVM-3.0.so
14488   /usr/lib/perl5/vendor_perl/5.16.3/Date
14464   /usr/lib/perl5/vendor_perl/5.16.3/Date/Manip
14448   /usr/src/linux-3.3.6-desktop-2.mga2/include/linux
14436   /usr/bin/clementine
14320   /usr/lib/virtualbox/vboxwebsrv
14284   /usr/share/fonts/75dpi
14196   /usr/share/cups
14112   /usr/share/gnome
14084   /usr/share/gnome/help
13596   /usr/share/stellarium/landscapes
13548   /usr/share/gimp
13548   /usr/lib/atlas-sse3
13544   /usr/share/gimp/2.0
13432   /usr/share/hplip
13404   /usr/share/doc/scribus/it/images
13352   /var/lib/urpmi/Core Release (distrib1)/files.xml.lzma
13256   /usr/lib/libreoffice/program/libswlo.so
13232   /usr/share/nmap
13216   /usr/lib/python2.7/site-packages/PyQt4
13168   /usr/share/doc/HTML/en/amarok
13116   /usr/share/icons/oxygen/256x256
13096   /usr/lib/libexiv2.so.12.0.0
13084   /usr/lib/libexiv2.so.11.0.0
13072   /boot/initrd-3.8.13-desktop-1.mga3.img
13052   /usr/share/vim
12988   /usr/share/ghostscript/9.06/Resource
12856   /usr/share/kde4
12852   /usr/lib/python2.7/site-packages/openshot/blender/blend
12656   /usr/lib/gstreamer-0.10
12588   /etc/gconf
12484   /usr/share/virtualbox
12456   /usr/share/virtualbox/nls
12296   /root/.kde4/share/apps/nepomuk/repository/main/data
12292   /root/.kde4/share/apps/nepomuk/repository/main/data/virtuosobackend
12236   /usr/share/kde4/services
12208   /usr/bin/scribus
12184   /usr/share/poppler
12128   /usr/lib/perl5/5.16.3/i386-linux-thread-multi
11984   /usr/share/apps/libkface
11980   /usr/share/apps/libkface/haarcascades
11888   /usr/lib/libmysqld.so.0.0.1
11872   /usr/bin/inkscape
11844   /usr/bin/inkview
11628   /usr/sbin/mysqld
11548   /usr/lib/gallium-pipe
11432   /usr/share/gnome/help/gnucash
11428   /usr/share/gnome/help/gnucash/C

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 04:28
by Ken-Bergen
RoyD wrote:Hi I changed it to look at 250 dir. It comes to a total 31,000,580(31gb) and I have a 12,000,000 (12gb) / partition. I am confused.

Code: Select all
[root@localhost roy]# du -akx / | sort -nr | head -n 250
6460004 /
6460004 / Is the total size of all the data on the / partition, every thing after that is just a break down of that 6460004.
Please post the output of
Code: Select all
df

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 04:36
by RoyD
So I guess I need to remove or increase the size of the partition. 1 program I see is stellarium that is using a lot of space. I would have thought these would be under the user. Maybe I can uninstall it and try reinstalling again? I always feel adjusting partitions now is subject of screwing the system.

Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
rootfs           12G   12G   14M 100% /
devtmpfs       1005M     0 1005M   0% /dev
tmpfs          1011M  1.4M 1010M   1% /dev/shm
tmpfs          1011M  2.7M 1009M   1% /run
/dev/sdd1        12G   12G   14M 100% /
tmpfs          1011M     0 1011M   0% /sys/fs/cgroup
tmpfs          1011M   24K 1011M   1% /tmp
/dev/sdc1       459G  356G   80G  82% /backup
/dev/sda1        74G   39G   32G  56% /vmm
/dev/sdd6       902G  266G  636G  30% /home

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 07:25
by Ken-Bergen
Hum, df shows 12GB used while du only shows 6.5GB used.
Someone/anyone with more knowledge than me will have to step in. :oops:

Re: ClamAV install failed - root full?

PostPosted: Jun 16th, '13, 08:47
by jkerr82508
This thread may help explain the difference:
https://www.linuxquestions.org/question ... ng-539185/

For more information, Google for "du df difference"

Jim

[SOLVED] ClamAV install failed - root full?

PostPosted: Jun 17th, '13, 07:05
by RoyD
Hi Thanks for all the help. I have uninstalled some programs so it has solved this problem but I will start another post on what is the best way to increase the size of root as 12gb is too small, I think 25gb will be better for me. Cheers Roy