Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56618 - tomcat-5.0.18 will not unmerge
Summary: tomcat-5.0.18 will not unmerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 10:10 UTC by Eric Brown
Modified: 2004-07-12 15:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Brown 2004-07-10 10:10:31 UTC
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 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-07-11 10:09:58 UTC
comment out the pkg_postrm in tomcat and then try unmerging. 

This happens due to a transition we had amongst tomcat versions.
Comment 2 Eric Brown 2004-07-12 15:51:41 UTC
that fixed it.  though it's a horrid bug to have since there's no way around it except by hacking the ebuild.