Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Dependency info is missing! Run /sbin/depscan.sh
Date: Mon, 10 Apr 2006 22:01:35
Message-Id: 200604102154.k3ALsJYo028946@robin.gentoo.org
In Reply to: Re: [gentoo-user] Dependency info is missing! Run /sbin/depscan.sh by Richard Fish
1 Richard, once again I thank you for your knowledge.
2
3 > Maybe a ~x86 system just isn't for you....
4
5 I didn't realize ~x86 was going to be such a headache. When I first
6 installed gentoo, I read a lot of debates on the list and most people said
7 that ~x86 was fairly "stable". Plus it seems there is such a LONG lag before
8 things are marked as stable. Plus for a while (again, this is going on two
9 years ago now I've had this notebook setup) many of the packages didn't have
10 "stable" ebuilds, or worse, they were marked stable, but a dependency
11 package was ~x86 so you had to edit package.keywords and add them...
12
13 Anyways, I think I'm committed at this point ;-)
14
15 > > * Dependancy info is missing! Please run
16 > > * #/sbin/depscan.sh
17 > > * to fix this.
18 >
19 > This message is generated by /lib/rcscripts/sh/rc-services.sh. It
20 > tries to read /var/lib/init.d/deptree, and looks for a specific
21 > variable to be set that indicates the dependacy information was read.
22 >
23 > Does /var/lib/init.d/deptree exist on your system?
24
25 locutus ~ # ll /var/lib/init.d/
26 total 84
27 drwxr-xr-x 6 root root 4096 Apr 10 14:48 .
28 drwxr-xr-x 35 root root 4096 Apr 7 02:59 ..
29 -rw-r--r-- 1 root root 46801 Apr 10 02:36 depcache
30 -rw------- 1 root root 4096 Nov 9 2004 depcache.Xm3aOuR
31 -rw-r--r-- 1 root root 0 Apr 10 02:36 deptree
32 -rw-r--r-- 1 root root 4328 Nov 9 2004 envcache
33 drwxr-xr-x 2 root root 4096 Apr 10 14:48 options
34 drwxr-xr-x 2 root root 4096 Apr 10 14:48 snapshot
35 drwxr-xr-x 2 root root 4096 Apr 10 14:48 softscripts
36 drwxr-xr-x 2 root root 4096 Apr 10 14:48 started
37
38 My file is empty?! :(
39
40 How did this happen? I didn't even know this file/directory existed till
41 now. *I* certainly didn't do anything to wipe it out. And this is a single
42 user notebook -- just me.
43
44 Is there a way to rebuild this file?
45
46 > It should have several hundred lines in the form of:
47 > RC_DEPEND_TREE[0]=69
48 > RC_DEPEND_TREE[10]="consolefont"
49 > RC_DEPEND_TREE[10+2]="keymaps localmount"
50 > RC_DEPEND_TREE[10+3]=
51 > RC_DEPEND_TREE[10+4]=
52 > RC_DEPEND_TREE[10+5]=
53 > RC_DEPEND_TREE[10+6]="local"
54 >
55 > You can also try running depscan.sh with the --debug option to see
56 > what, exactly, it does.
57
58 locutus ~ # /sbin/depscan.sh --debug
59 + shift
60 + [[ -n '' ]]
61 + [[ ! -d /var/lib/init.d ]]
62 + for x in softscripts snapshot options started
63 + [[ ! -d /var/lib/init.d/softscripts ]]
64 + for x in softscripts snapshot options started
65 + [[ ! -d /var/lib/init.d/snapshot ]]
66 + for x in softscripts snapshot options started
67 + [[ ! -d /var/lib/init.d/options ]]
68 + for x in softscripts snapshot options started
69 + [[ ! -d /var/lib/init.d/started ]]
70 + false
71 + for config in /etc/conf.d /etc/init.d /etc/rc.conf
72 + [[ /etc/conf.d -nt /var/lib/init.d/depcache ]]
73 + for config in /etc/conf.d /etc/init.d /etc/rc.conf
74 + [[ /etc/init.d -nt /var/lib/init.d/depcache ]]
75 + for config in /etc/conf.d /etc/init.d /etc/rc.conf
76 + [[ /etc/rc.conf -nt /var/lib/init.d/depcache ]]
77 + false
78 + exit 0
79
80 I do "ghost" my partition every few months, so I probably have an old
81 version of this file in a .gho archive somewhere. If I put it there to
82 replace the 0 length one, what will be the fall-out?
83
84
85 --
86 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Dependency info is missing! Run /sbin/depscan.sh Richard Fish <bigfish@××××××××××.org>