Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Cruft - a bit disheartened

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
aethyr
Veteran
Veteran
User avatar
Posts: 1085
Joined: Sun Apr 06, 2003 5:16 pm
Location: NYC

Cruft - a bit disheartened

  • Quote

Post by aethyr » Tue Apr 29, 2003 11:38 pm

I've had gentoo installed now for about 6 months, and so far the experience has been positive.

I consider myself a cautious user. I run x86 stable, I never use "emerge -u world" (instead, I upgrade packages individually), and I generally like to maintain a clean system (i.e. packages installed outside of portage go into /usr/local). I also keep my world file neatly trimmed & organized (only keeping packages I know I need), and make use of depclean to keep the riffraff packages out.

I was happy to get the chance recently to try out this cruft script as featured in GWN, March 10, 2003:
http://article.gmane.org/gmane.linux.gentoo.devel/7243

Basically, as far as I can tell, it compiles a list of all the files on your system, then a list of all the files that should be in your system (according to the packages you have installed), and then diffs the two.

Well, I'm fairly pleased with the results, but there's still some things I'm not quite sure of.

First, /etc/ seems to have many files without owners, especially in /etc/X11/, /etc/gconf/, and /etc/init.d/

Secondly, it seems that packages which install things to the /etc/ directory, do not have their files cleaned out when unmerged. For example, I installed apmd and ettercap awhile ago. Over time, they have both been subsequently uninstalled. However, much to my surprised, both still retained directories in /etc/. I'm not sure why these configuration files are kept around (You don't ask to keep artwork around, if someone wants to backup config files that should be their responsibility, portage should fully unmerge software).

Thirdly, there seems to be a bunch of stuff left scattered around /usr/share/doc/. GCC-3.2-r1 left its entire documentation on my system, even though I unmerged it awhile ago to install GCC-3.2-r4, same with NVIDIA-GLX.

I'm mostly disappointed with the mess left in /etc and the fact that some directories (like documentation) are left behind after I uninstall packages.

I hate the idea of lost files drifting around my computer, and I think portage is advantageous in that it allows us to account for file ownership. However, if cruft is just left lying around through normal system administration tasks, then I know the situation can be improved.

Debian has maintained a version of Cruft since 1998
http://lists.debian.org/debian-devel/19 ... 00434.html
http://packages.qa.debian.org/c/cruft.html

I think it would be useful for Gentoo to have an official tool that we can see if all our files are spoken and accounted for, or what's hiding in the darkest recesses of our harddrive.
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Sun Mar 28, 2004 3:46 pm

I'm working on a Debian-style cruft script - you can see the results in this thread:
http://forums.gentoo.org/viewtopic.php?t=152618

It still needs work to be taught about more packages but it's already fully usable on my system.

Hopefully by posting here I can attract mindshare :D
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic