Re: Fedora14 is filling up my HDD without a reason

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(Not to be a spelling nazi, but, ...)

On Tue, May 10, 2011 at 8:52 AM, Patrick O'Callaghan
<pocallaghan@xxxxxxxxx> wrote:
> [...]
> Since you (wisely) use yum for package installation/removal, you
> shouldn't touch /var or /user directly but check which package owns it

/usr

> and consider removing the package, e.g.
>
[Aradnix:
> $ rpm -qf /var/huge-file

So,

cd /var
sudo du -hs * | more

# and you see that /var/lib , /var/spool , /var/tmp , and /var/log
# (among others?) have a lot of stuff in them.

sudo du hs lib/* spool/* | more

# texmf may show up as a big package

rpm -qf /var/lib/texmf
rpm -qf /var/lib/texmf
yum info texlive-texmf
yum info texlive

# And maybe you decide you don't need texlive

> bigpackage-2.4.3-fc14.x86_64
> $ sudo yum erase bigpackage

sudo rpm erase texlive

# and so forth, for various packages tha you decide you don't need.
# yum will tell you the dependencies, so you're not flying entirely blind.

# rpm -q also works in the /usr subdirectories

# You may want to take note of the size of the mail and abrt spools.
# Both the abrt notifier and the mail agent should allow you to delete old
# messaegs you no longer need.]

>> Genes told me that I need to scrub my cache, that's right, but how?
>
> You already did that using "yum clean all". Note that "yum clean
> packages" would probably have freed almost as much space without
> removing yum metadata, which is why I suggested it earlier.

Good point.

I personally like to avoid stale metadata, so I tend not to think
beyond the "all" option, but the metadata will be necessary as soon as
Aradnix needs to do even a yum info, so it's space that's not really
freed even if it's freed.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux