Summary: | failure to calculate deps during init process | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | merwan kashouty <mkashouty> |
Component: | Current packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
depcache
deptree |
Description
merwan kashouty
2003-11-26 16:36:26 UTC
just some -v info and a comment... i emerged -e system with no luck ... emerge finishes but the problem still remains . the new baselayout released yesterday didnt help... did find a thread in the forums that suggests similar troubles happening to others... http://forums.gentoo.org/viewtopic.php?t=72778&highlight=depscan my system information Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-gss) ================================================================= System uname: 2.4.23-gss i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ALSA_CARDS="intel8x0" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CCACHE_SIZE="4G" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:." CLEAN_DELAY="5" COLORTERM="gnome-terminal" 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" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer" DESKTOP_STARTUP_ID="" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" FEATURES="autoaddcvs buildpkg ccache sandbox" FETCHCOMMAND="/usr/bin/proz --no-getch -s ${URI} -P ${DISTDIR}" GDK_USE_XFT="1" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" GNOME_DESKTOP_SESSION_ID="Default" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" GTK_RC_FILES="/etc/gtk/gtkrc:/home/rommel/.gtkrc-1.2-gnome2" G_BROKEN_FILENAMES="1" HOME="/home/rommel" HOSTNAME="JaiBaba" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.1" JDK_HOME="/opt/blackdown-jdk-1.4.1" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="rommel" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:" MAIL="/var/mail/rommel" MAKEOPTS="-j1" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man" MOZILLA_FIVE_HOME="/usr/lib/mozilla" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/games/bin" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="12598" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/home/rommel" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SESSION_MANAGER="local/JaiBaba:/tmp/.ICE-unix/1814" SHELL="/bin/bash" SHLVL="4" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="X alsa apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib" USER="rommel" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" USE_ORDER="env:conf:auto:defaults" WINDOWID="31462020" XARGS="xargs -r" XAUTHORITY="/home/rommel/.Xauthority" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" please try this: file /etc/init.d/* you should only see: a /sbin/runscript script text executable ASCII English text symbolic link to `../../sbin/<SOME FILE>' if you see anything else (like binary files) please post the filenames of those files and the package that owns them (`qpkg -v -f /etc/init.d/FILE`) well i think from what you stated that this would be normal output...but here it is anyway. JaiBaba root # file /etc/init.d/* /etc/init.d/alsasound: a /sbin/runscript script text executable /etc/init.d/apmd: a /sbin/runscript script text executable /etc/init.d/aumix: a /sbin/runscript script text executable /etc/init.d/bootmisc: a /sbin/runscript script text executable /etc/init.d/bootsplash: a /sbin/runscript script text executable /etc/init.d/checkfs: a /sbin/runscript script text executable /etc/init.d/checkroot: a /sbin/runscript script text executable /etc/init.d/clock: a /sbin/runscript script text executable /etc/init.d/consolefont: a /sbin/runscript script text executable /etc/init.d/crypto-loop: a /sbin/runscript script text executable /etc/init.d/cupsd: a /sbin/runscript script text executable /etc/init.d/cupsd.merged: a /sbin/runscript script text executable /etc/init.d/depscan.sh: symbolic link to `../../sbin/depscan.sh' /etc/init.d/domainname: a /sbin/runscript script text executable /etc/init.d/esound: a /sbin/runscript script text executable /etc/init.d/fam: a /sbin/runscript script text executable /etc/init.d/functions.sh: symbolic link to `../../sbin/functions.sh' /etc/init.d/gpm: a /sbin/runscript script text executable /etc/init.d/halt.sh: ASCII English text /etc/init.d/halt.sh.new: ASCII English text /etc/init.d/halt.sh.old: ASCII English text /etc/init.d/hdparm: a /sbin/runscript script text executable /etc/init.d/hostname: a /sbin/runscript script text executable /etc/init.d/iptables: a /sbin/runscript script text executable /etc/init.d/keymaps: a /sbin/runscript script text executable /etc/init.d/local: a /sbin/runscript script text executable /etc/init.d/localmount: a /sbin/runscript script text executable /etc/init.d/modules: a /sbin/runscript script text executable /etc/init.d/net.eth0: a /sbin/runscript script text executable /etc/init.d/net.lo: a /sbin/runscript script text executable /etc/init.d/net.ppp0: a /sbin/runscript script text executable /etc/init.d/netmount: a /sbin/runscript script text executable /etc/init.d/nscd: a /sbin/runscript script text executable /etc/init.d/ntp-client: a /sbin/runscript script text executable /etc/init.d/ntpd: a /sbin/runscript script text executable /etc/init.d/numlock: a /sbin/runscript script text executable /etc/init.d/portmap: a /sbin/runscript script text executable /etc/init.d/reboot.sh: ASCII English text /etc/init.d/rmnologin: a /sbin/runscript script text executable /etc/init.d/rsyncd: a /sbin/runscript script text executable /etc/init.d/runscript.sh: symbolic link to `../../sbin/runscript.sh' /etc/init.d/serial: a /sbin/runscript script text executable /etc/init.d/shutdown.sh: ASCII English text /etc/init.d/slapd: a /sbin/runscript script text executable /etc/init.d/slurpd: a /sbin/runscript script text executable /etc/init.d/sshd: a /sbin/runscript script text executable /etc/init.d/switch: a /sbin/runscript script text executable /etc/init.d/synclient: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped /etc/init.d/syslog-ng: a /sbin/runscript script text executable /etc/init.d/urandom: a /sbin/runscript script text executable /etc/init.d/xdm: a /sbin/runscript script text executable /etc/init.d/xfs: a /sbin/runscript script text executable it is mostly normal, but like i said there is one that is wrong: /etc/init.d/synclient: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped what does `qpkg -v -f /etc/init.d/synclient` show ? mmm qpkg -v -f /etc/init.d/synclient doesnt return anything well then do you have any idea how it got there ? ;) cause it shouldnt be there well i have no idea... something in portage i would guess since i never added any files to init.d myself... have you seen that file before? nope :) just rm that file and the bug will go away if you happen to find out what package put that there could you please post ? :) well that did take care of half the problem.... but i still recieve an error at boot from every item in /etc/init.d ... cant get dependency info on <whatever>! run /sbin/depscan.sh to fix this.... and if i emerge a pkg i get this as it finishes >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... bash: line 3455: syntax error: unexpected end of file * Can't find service 'checkroot' needed by 'crypto-loop'; continuing... * Can't find service 'modules' needed by 'crypto-loop'; continuing... [ ok ]>>> Auto-cleaning packages ... >>> No outdated packages were found on your system. well that part we'll let az take a stab at well that part we'll let az take a stab at ok .... i appreciate all the help... this post is similar though i didnt experience a power failure. http://forums.gentoo.org/viewtopic.php?t=103042&highlight=depscan Please attach /var/lib/init.d/deptree and /var/lib/init.d/depcache. Created attachment 21503 [details]
depcache
Created attachment 21504 [details]
deptree
az not to be a pest and i know you're very busy but might there be a fix for this or should i just reinstall? ciao thanks to seemant this is fixed... it was a cupsd.merged file in /etc/init.d that created all that output.. sorry for the trouble. |