Richard, once again I thank you for your knowledge.

> Maybe a ~x86 system just isn't for you....

I didn't realize ~x86 was going to be such a headache. When I first
installed gentoo, I read a lot of debates on the list and most people said
that ~x86 was fairly "stable". Plus it seems there is such a LONG lag before
things are marked as stable. Plus for a while (again, this is going on two
years ago now I've had this notebook setup) many of the packages didn't have
"stable" ebuilds, or worse, they were marked stable, but a dependency
package was ~x86 so you had to edit package.keywords and add them...

Anyways, I think I'm committed at this point ;-)

> > * Dependancy info is missing! Please run
> > *   #/sbin/depscan.sh
> > * to fix this.
> 
> This message is generated by /lib/rcscripts/sh/rc-services.sh.  It
> tries to read /var/lib/init.d/deptree, and looks for a specific
> variable to be set that indicates the dependacy information was read.
> 
> Does /var/lib/init.d/deptree exist on your system?  

locutus ~ # ll /var/lib/init.d/
total 84
drwxr-xr-x   6 root root  4096 Apr 10 14:48 .
drwxr-xr-x  35 root root  4096 Apr  7 02:59 ..
-rw-r--r--   1 root root 46801 Apr 10 02:36 depcache
-rw-------   1 root root  4096 Nov  9  2004 depcache.Xm3aOuR
-rw-r--r--   1 root root     0 Apr 10 02:36 deptree
-rw-r--r--   1 root root  4328 Nov  9  2004 envcache
drwxr-xr-x   2 root root  4096 Apr 10 14:48 options
drwxr-xr-x   2 root root  4096 Apr 10 14:48 snapshot
drwxr-xr-x   2 root root  4096 Apr 10 14:48 softscripts
drwxr-xr-x   2 root root  4096 Apr 10 14:48 started

My file is empty?! :(

How did this happen? I didn't even know this file/directory existed till
now. *I* certainly didn't do anything to wipe it out. And this is a single
user notebook -- just me.

Is there a way to rebuild this file?

> It should have several hundred lines in the form of:
> RC_DEPEND_TREE[0]=69
> RC_DEPEND_TREE[10]="consolefont"
> RC_DEPEND_TREE[10+2]="keymaps localmount"
> RC_DEPEND_TREE[10+3]=
> RC_DEPEND_TREE[10+4]=
> RC_DEPEND_TREE[10+5]=
> RC_DEPEND_TREE[10+6]="local"
> 
> You can also try running depscan.sh with the --debug option to see
> what, exactly, it does.

locutus ~ # /sbin/depscan.sh --debug
+ shift
+ [[ -n '' ]]
+ [[ ! -d /var/lib/init.d ]]
+ for x in softscripts snapshot options started
+ [[ ! -d /var/lib/init.d/softscripts ]]
+ for x in softscripts snapshot options started
+ [[ ! -d /var/lib/init.d/snapshot ]]
+ for x in softscripts snapshot options started
+ [[ ! -d /var/lib/init.d/options ]]
+ for x in softscripts snapshot options started
+ [[ ! -d /var/lib/init.d/started ]]
+ false
+ for config in /etc/conf.d /etc/init.d /etc/rc.conf
+ [[ /etc/conf.d -nt /var/lib/init.d/depcache ]]
+ for config in /etc/conf.d /etc/init.d /etc/rc.conf
+ [[ /etc/init.d -nt /var/lib/init.d/depcache ]]
+ for config in /etc/conf.d /etc/init.d /etc/rc.conf
+ [[ /etc/rc.conf -nt /var/lib/init.d/depcache ]]
+ false
+ exit 0

I do "ghost" my partition every few months, so I probably have an old
version of this file in a .gho archive somewhere. If I put it there to
replace the 0 length one, what will be the fall-out?


-- 
[email protected] mailing list

Reply via email to