emerge -C tomcat: ...--- !targe sym /opt/tomcat/common/endorsed * >>> Removing user for Tomcat userdel: user tomcat does not exist !!! ERROR: net-www/tomcat-4.1.24-r1 failed. !!! Function pkg_postrm, Line 139, Exitcode 6 !!! Error removing Tomcat user !!! FAILED postrm: 1 Reproducible: Always Steps to Reproduce: 1. emerge -C tomcat 2. 3. Actual Results: it should unmerge. Expected Results: it doesn't unmerge I also tried to add the user tomcat before, but that doesn't work.. i think the capital T is wrong or something. Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow aalib alsa berkdb cjk crypt divx4linux doc expat gif gtk2 mad mmx mpeg nls oggvorbis opengl pam perl png postgres python readline sdl spell ssl tcpd tiff truetype x86 xvid zlib"
comment out the pkg_postrm in tomcat and then try unmerging. This happens due to a transition we had amongst tomcat versions.
that fixed it. though it's a horrid bug to have since there's no way around it except by hacking the ebuild.