Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25844 - emerge -C openoffice does not remove /usr/bin/ooffice & links
Summary: emerge -C openoffice does not remove /usr/bin/ooffice & links
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-03 18:34 UTC by Collins Richey
Modified: 2003-10-03 04:47 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 Collins Richey 2003-08-03 18:34:22 UTC
I had installed openoffice-1.1_beta2, but I needed to remove it to install
openoffice-bin-1.1_rc2.  I did so and successfully installed the binary.  No I
notice that /usr/bin still has the ooffice executable and the oocalc, etc.,
links from the prior install.  Had to remove them by hand.

Reproducible: Always
Steps to Reproduce:
1. emerge openoffice-1.1_beta2
2. emerge -C openoffice-1.1_beta2
3. USE="~86" emerge openoffice-bin-1.1_rc2

Actual Results:  
Success, but stale executable and links remain in /usr/bin.
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oocalc -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oodraw -> ooffice
-rwxr-xr-x    1 root     root         8431 Aug  3 19:11 ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 ooimpress -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oomath -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oopadmin -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oosetup -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 ooweb -> ooffice
lrwxrwxrwx    1 root     root            7 Aug  3 19:11 oowriter -> ooffice

Currently installed pakcage is in /opt.


Expected Results:  
The stale executable and links should have been removed.

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test2 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/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=""
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikm
od mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gt
khtml alsa gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile my
sql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome
 gtk qt kde motif opengl mozilla cdr scanner"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 SpanKY gentoo-dev 2003-09-12 08:33:56 UTC
this would only happen if the file is touched/modified in someway

the symlinks remain because they're still valid
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-03 04:47:50 UTC
openoffice-bin also installs the ooffice start script. So the links should
be there