When i unmerged older ebuilds of samba and man i noticed that their related directories in /usr/share/doc weren't removed, despite the fact that both newer ebuilds installed their own documentation in /usr/share/doc. Perhaps an rm -Rf /usr/share/doc/$package-$version should be included in these ebuilds? Reproducible: Always Steps to Reproduce: 1.install samba-2.2.8_pre2 or man-1.5 2.remove samba-2.2.8_pre2 or man-1.5, by means of emerge -C 3.check /usr/share/doc it should contain still a directory for samba-2.2.8_pre2 or man-1.5 Actual Results: Already described in the details section, so no need for it here. Expected Results: See the details section. Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0) ================================================================= System uname: 2.4.20-xfs_pre6 i686 Celeron (Mendocino) GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/linux/gentoo ftp://ftp.student.utwe nte.nl/pub/os/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://gen too.linux.no/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/co nfig/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss avi crypt gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qu icktime spell truetype xml2 xmms zlib gdbm berkdb slang readline tetex svga ggi tcltk sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis motif opengl mozil la X oav -gtk -gnome -alsa -java -kde -qt -3dnow -apm -arts cdr -cups dvd -encod e ipv6 mailbox -motif-qtmt sasl samba xv" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=pentium -O3 -pipe" CXXFLAGS="-march=pentium -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="no" SYNC="rsync://ftp.snt.utwente.nl/gentoo-portage" FEATURES="sandbox ccache distcc"
just tried man and zip both doc dirs were cleaned out