Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
depscan.sh problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Sun Mar 25, 2007 7:29 am    Post subject: depscan.sh problems Reply with quote

i did an emerge -u world and etc-update on my girlfriend's system...

on bootup, i get errors about not being able to start services.
and errors tell me that "Dependency info is missing, please run /sbin/depscan.sh to fix this"

but that does nothing.

so i run depscan.sh -u

Code:

*Caching service dependencies
sh: \bin\mktemp: no such file or directory
*Failed to create temporary cache!
bash: \var\lib\init.d\depcache:no such file or directory
sh: \bin\mktemp: no such file or directory
*Failed to create temporary cache!
gawk: \lib\rcscripts\awk\gendepends.awk:506 fatal: expression for '>>' redirection has null string value
*Failed to cache service dependencies


how can i fix this?
_________________
help the needy
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Mar 25, 2007 8:32 am    Post subject: Reply with quote

Does portage think that sys-apps/mktemp is installed? If so, something screwed that package up. Try re-emerging it, then run the depscan.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Mon Mar 26, 2007 10:19 am    Post subject: Reply with quote

[quote=didymos]Does portage think that sys-apps/mktemp is installed? If so, something screwed that package up. Try re-emerging it, then run the depscan.[/quote]

yes emerging mktemp fixed it... now all the services run well on bootup thanks.


but i have run into a new problem, X does not start correctly, i'm stuck on the checkered screen, and no errors are reported as to why it's not starting xdm/gdm/xorg correctly.

any ideas on this?
_________________
help the needy
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Mar 26, 2007 10:57 am    Post subject: Reply with quote

What do you get in /var/log/Xorg.0.log? Also, how are you starting up X? With the initscripts? Or manually? If it's being done during startup, try disabling that service and manually starting the login manager as root.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Tue Mar 27, 2007 7:13 pm    Post subject: Reply with quote

didymos wrote:
What do you get in /var/log/Xorg.0.log? Also, how are you starting up X? With the initscripts? Or manually? If it's being done during startup, try disabling that service and manually starting the login manager as root.


i stopped /etc/init.d/xdm and tried to run X manually

startx; showed the X cursor on a black desktop, then crashed back to vt1 with no errors

gdm; showed the X cursor on the checkered screen, and i had to manually kill it


cat /var/log/Xorg.0.log | grep 'EE' showed nothing at all.

Code:
$ cat /var/log/Xorg.0.log | grep 'WW'
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)

_________________
help the needy
Back to top
View user's profile Send private message
kasperl
n00b
n00b


Joined: 15 Sep 2007
Posts: 18

PostPosted: Fri Apr 25, 2008 11:48 pm    Post subject: Reply with quote

I am dealing with this problem at present
re-emerge mktemp tried
but emerge says it is blocked by coreutils
how can i solve it?
i don't think i can just unemerge coreutils...
thanks
didymos wrote:
What do you get in /var/log/Xorg.0.log? Also, how are you starting up X? With the initscripts? Or manually? If it's being done during startup, try disabling that service and manually starting the login manager as root.
Back to top
View user's profile Send private message
kasperl
n00b
n00b


Joined: 15 Sep 2007
Posts: 18

PostPosted: Sat Apr 26, 2008 12:05 am    Post subject: Reply with quote

after googled this problem,i have found the answer
just run revdep-rebuild
sorry for bothering u all
kasperl wrote:
I am dealing with this problem at present
re-emerge mktemp tried
but emerge says it is blocked by coreutils
how can i solve it?
i don't think i can just unemerge coreutils...
thanks
didymos wrote:
What do you get in /var/log/Xorg.0.log? Also, how are you starting up X? With the initscripts? Or manually? If it's being done during startup, try disabling that service and manually starting the login manager as root.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum