Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39809 - Portage removes "dead links" on clean, which are still needed
Summary: Portage removes "dead links" on clean, which are still needed
Status: RESOLVED DUPLICATE of bug 16162
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 15:12 UTC by Rubberneck
Modified: 2005-10-07 08:55 UTC (History)
1 user (show)

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 Rubberneck 2004-01-29 15:12:18 UTC
After emerging ltsp-core v4 i had to mainly go and make some directories in /opt/ltsp/i386/
namely
/proc
/dev
/oldroot


Reproducible: Always
Steps to Reproduce:
1. emerge ltsp-core v4
2. 
3.

Actual Results:  
There was some missing directories.
/proc
/dev
/oldroot


Expected Results:  
The directories should have been created when emerging ltsp-core

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi berkdb crypt encode gdbm gif gtk gtk2 imlib jpeg libwww mad
mikmod mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-31 12:00:05 UTC
This happens when you upgrade ltsp. The dirs are empty and therefor portage removes them when cleaning out the older version (keepdir would help here).

Furthermore it removes some "dead links" that are required to run ltsp. This links are only dead on the server, not on the workstation. That's a portage bug so reassigning.

I'll add a notice that you have to delete your old version before upgrading for now.
Comment 2 SpanKY gentoo-dev 2004-01-31 12:11:39 UTC
the removal of empty dirs is Bug 16162 ... although i think if we fix that bug we'll also fix this bug if the implementation is done properly
Comment 3 Rubberneck 2004-01-31 15:39:10 UTC
The links are not there even on a clean install.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-31 15:55:27 UTC
hm strange, on a clean install they are created here
Comment 5 Rubberneck 2004-02-03 23:26:51 UTC
Sorry you were correct. The directories where there on a clean install.
I got confused on the dir i moved from my clean install.
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-10-07 08:55:49 UTC
If this comment shows up on the other bug, this bug is about dangling symlinks 
also being incorrectly removed. 

*** This bug has been marked as a duplicate of 16162 ***