public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
@ 2007-01-24 21:19 Jan Stępień
  2007-01-24 22:04 ` Randy Barlow
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Stępień @ 2007-01-24 21:19 UTC (permalink / raw
  To: gentoo-user

Hi folks,

I've been updating my system recently (emerge -u world). I've stopped
the update process with ctrl-c in order to turn the PC off. After
relaunching in the middle of the runlevel 1, right after "configuring
kernel parameters, updating environment , cleaning /var/lock, /var/run
and /tmp", I've been informed that:

Dependency info is missing! Please run
  # /sbin/depscan.sh
to fix this.

To make the impression even bigger each line has got a red star in
front of it. This error is displayed twice, than system is entering
runlevel 3, displays the same message once more and allows me to log
in:

This is (none).unknown_domain (Linux i686 kernel version, etc.)
(none) login:

I logged in as the root and gave depscan.sh a try. No output has been
shown. I checked the output of '/sbin/depscan.sh --help' and
accordingly to information given I tried:

# /sbin/depscan.sh -u
 * Caching service dependencies ...
sh: /bin/mktemp: No such file or dir
 * Failed to create temporary cache!
bash: /var/lib/init.d/depcache: No such file or dir
sh: /bin/mktemp: No such file or dir
 * Failed to create temporary cache!
gawk: /lib/rcscripts/awk/gendepends.awk:506: fatal error: expression
for redirection ">>" has a 0 lenght string
 * Failed to cache service dependencies

The one but last line is displayed in Polish so what you can see above
is my hope-it-is-verbatim translation into English. I've tried to
'emerge mktemp' but I realised soon that I'm offline and I cannot
'/etc/init.d/net.eth0 restart' because I get the same error -
"Dependency info is missing!".

I've tried to google around and find a solution to this problem, but
despite finding few quite similar problems I haven't found anything
which would help me with this particular difficulty.

I would be very glad if you could support me'

Best regards,
Jan Stepien

-- 
Mail 	jano at stepien com pl
Jabber 	jano at jabber aster pl
GG 	1894343
Web	http://stepien.com.pl
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
  2007-01-24 21:19 [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful Jan Stępień
@ 2007-01-24 22:04 ` Randy Barlow
       [not found]   ` <d9a083460701241421w6085d6b3ica141c23c3ad99aa@mail.gmail.com>
  2007-01-25 17:30   ` Jan Stępień
  0 siblings, 2 replies; 4+ messages in thread
From: Randy Barlow @ 2007-01-24 22:04 UTC (permalink / raw
  To: gentoo-user

Jan Stępień wrote:
> I would be very glad if you could support me'
What exactly were you in the middle up updating when you rebooted the 
system?  What had been updated already before that?  It sounds like 
something crucial to the system.  I would recommend booting using the 
livecd and then chrooting into your environment and trying to fix the 
system from there.

-- 
Randy Barlow
http://www.electronsweatshop.com
"Oh me of little faith..."

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
       [not found]   ` <d9a083460701241421w6085d6b3ica141c23c3ad99aa@mail.gmail.com>
@ 2007-01-24 22:23     ` Jan Stępień
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Stępień @ 2007-01-24 22:23 UTC (permalink / raw
  To: gentoo-user

2007/1/24, Randy Barlow <randy@electronsweatshop.com>:
> What exactly were you in the middle up updating when you rebooted the
> system?  What had been updated already before that?

I can't remember what was it exactly. I'll try to skim the logs, I
hope I'll find something over there. Besides, I'm quite sure I had got
a segmentation fault errors while trying to emerge glibc, so I skipped
it with --skipfirst option. Do you think that those problems may be
related somehow?

> something crucial to the system.  I would recommend booting using the
> livecd and then chrooting into your environment and trying to fix the
> system from there.

Thanks, I've already thought about it. I'm planning to do it tomorrow,
as it is almost midnight over here. I will do what I can and report
the results.

Thank you for your feedback.

Regards,
Jan Stepien

--
Mail    jano at stepien com pl
Jabber  jano at jabber aster pl
GG      1894343
Web     http://stepien.com.pl
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful
  2007-01-24 22:04 ` Randy Barlow
       [not found]   ` <d9a083460701241421w6085d6b3ica141c23c3ad99aa@mail.gmail.com>
@ 2007-01-25 17:30   ` Jan Stępień
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Stępień @ 2007-01-25 17:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Problem solved. All I had to do was booting with a live Linux, chrooting
to my Gentoo installation and

# emerge mktemp
# /sbin/depscan.sh --update

Regards,
Jan Stępień

-- 
Mail 	jan at stepien com pl
Jabber 	jano at jabber aster pl
GG 	1894343
Web	http://stepien.com.pl


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-25 18:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 21:19 [gentoo-user] Dependency info is missing and /sbin/depscan.sh is not helpful Jan Stępień
2007-01-24 22:04 ` Randy Barlow
     [not found]   ` <d9a083460701241421w6085d6b3ica141c23c3ad99aa@mail.gmail.com>
2007-01-24 22:23     ` Jan Stępień
2007-01-25 17:30   ` Jan Stępień

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox