View previous topic :: View next topic |
Author |
Message |
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Sun Mar 25, 2007 7:29 am Post subject: depscan.sh problems |
|
|
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 |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sun Mar 25, 2007 8:32 am Post subject: |
|
|
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 |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Mon Mar 26, 2007 10:19 am Post subject: |
|
|
[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 |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Mon Mar 26, 2007 10:57 am Post subject: |
|
|
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 |
|
|
remix l33t
Joined: 28 Apr 2004 Posts: 797 Location: hawaii
|
Posted: Tue Mar 27, 2007 7:13 pm Post subject: |
|
|
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 |
|
|
kasperl n00b
Joined: 15 Sep 2007 Posts: 18
|
Posted: Fri Apr 25, 2008 11:48 pm Post subject: |
|
|
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 |
|
|
kasperl n00b
Joined: 15 Sep 2007 Posts: 18
|
Posted: Sat Apr 26, 2008 12:05 am Post subject: |
|
|
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 |
|
|
|