fresh install (yesterday) on x86, no unstable packages, emerge -u world... everything up to date. ran "emerge apache mysql php mod_php mod_ssl" and everything went fine. tried to startup the server and: liet root # /etc/init.d/apache start * Could not get dependency info for "apache"! * Could not get dependency info for "apache"! * Starting apache... [ ok ] liet root # the top of the file in question: #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/apache/files/apache.rc6,v 1.11 2003/02/25 21:56:56 woodchip Exp $ opts="${opts} reload" depend() { need net use mysql dns logger netmount } Reproducible: Always Steps to Reproduce: 1. emerge apache 2. `/etc/init.d/apache start` Actual Results: errors, but the server starts okay. Expected Results: no errors? i don't know why it's erroring, perhaps there's a dependency problem somewhere? liet root # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.21 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.linux.no/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/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 arts avi crypt cups encode gif imlib jpeg kde libg++ mikmod mmx motif mpeg ncurses oggvorbis pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline mysql gpm tcpd pam libwww ssl perl python -X -gtk -gnome -alsa -svga -java -opengl -qt -nls" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
run `depscan.sh` and try again ... or reboot MS style :D
any news on this ?
liet tmp # depscan.sh * Caching service dependencies... [ ok ] liet tmp # /etc/init.d/apache stop * Stopping apache... [ ok ] liet tmp # /etc/init.d/apache start * Starting apache... [ ok ] liet tmp # seems to have fixed it. doesn't it do that after every emerge? why would it break like that all of a sudden? -j
it didnt break, it just printed some warnings depscan isnt run everytime now because it is a lot slower if you do ...
*** Bug 23755 has been marked as a duplicate of this bug. ***
*** Bug 23759 has been marked as a duplicate of this bug. ***
*** Bug 25228 has been marked as a duplicate of this bug. ***
*** Bug 25340 has been marked as a duplicate of this bug. ***
To me depscan.sh seems really quick. Is it really that much a problem to automate it? Any other possible current or future solutions?
performed: depscan.sh this fixed duplicate bug symptoms of dependency squawk for: /etc/init.d/dnsmasq start This is probably a dumb question, but where is this script documented?
it may seem quick on newer boxes but just try to run it on an 486 :) i have, it griiiiiiiiiiiiiinds and this script isnt documented anywhere (afaik) because there is no reason for it to be ... it is an internal script, not something the user should utilize
It is here: http://www.gentoo.org/doc/en/rc-scripts.xml If you rebooted, or used rc-update, it would have been ok.
az: you shouldnt have to reboot or run rc-update everytime you emerge a package and want to utilize a script in init.d in this case, the user emerged apache for the first time, ran `/etc/init.d/apache start`, and then saw those warnings
*** Bug 25679 has been marked as a duplicate of this bug. ***
ok, latest version displays a msg 'please run depscan.sh'