public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ncurses is gone
@ 2009-07-06 20:21 Alan E. Davis
  2009-07-06 20:37 ` Alan McKinnon
  2009-07-06 22:43 ` [gentoo-user] " walt
  0 siblings, 2 replies; 13+ messages in thread
From: Alan E. Davis @ 2009-07-06 20:21 UTC (permalink / raw
  To: gentoo-user

Ncurses has disappeared, and the system is dead.  I think it is
unrecoverable.  I had hoped to use a binary package, but for now,
since I shut the machine down, it will not boot.

Is this hopeless?  It happened during an emerge -uDvNa world

Alan



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

* Re: [gentoo-user] ncurses is gone
  2009-07-06 20:21 [gentoo-user] ncurses is gone Alan E. Davis
@ 2009-07-06 20:37 ` Alan McKinnon
  2009-07-06 22:43 ` [gentoo-user] " walt
  1 sibling, 0 replies; 13+ messages in thread
From: Alan McKinnon @ 2009-07-06 20:37 UTC (permalink / raw
  To: gentoo-user; +Cc: Alan E. Davis

On Monday 06 July 2009 22:21:39 Alan E. Davis wrote:
> Ncurses has disappeared, and the system is dead.  I think it is
> unrecoverable.  I had hoped to use a binary package, but for now,
> since I shut the machine down, it will not boot.
>
> Is this hopeless?  It happened during an emerge -uDvNa world

What are the errors or other relevant output to the console?

-- 
alan dot mckinnon at gmail dot com



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

* [gentoo-user]  Re: ncurses is gone
  2009-07-06 20:21 [gentoo-user] ncurses is gone Alan E. Davis
  2009-07-06 20:37 ` Alan McKinnon
@ 2009-07-06 22:43 ` walt
  2009-07-07  3:54   ` Alan E. Davis
  1 sibling, 1 reply; 13+ messages in thread
From: walt @ 2009-07-06 22:43 UTC (permalink / raw
  To: gentoo-user

On 07/06/2009 01:21 PM, Alan E. Davis wrote:
> Ncurses has disappeared, and the system is dead.  I think it is
> unrecoverable.  I had hoped to use a binary package, but for now,
> since I shut the machine down, it will not boot.
>
> Is this hopeless?  It happened during an emerge -uDvNa world

It's never hopeless unless the hard disk is damaged, e.g. from a
head crash or similar catastrophe.  The important thing is to avoid
trying random things without knowing what you're doing. You can
turn a simple recovery into a hopeless mess that way.

I find that I can usually get myself out of a 'hopeless' mess just
by downloading a live gentoo boot CD and using that to install a
recent gentoo snapshot.  You need a second (working) computer to
do that, of course.  (Everyone should have as many computers as
possible for exactly that reason :o)

Meanwhile, more info would help, as the others have already said.




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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-06 22:43 ` [gentoo-user] " walt
@ 2009-07-07  3:54   ` Alan E. Davis
  2009-07-07  6:37     ` Sebastian Beßler
  2009-07-07 11:13     ` David Relson
  0 siblings, 2 replies; 13+ messages in thread
From: Alan E. Davis @ 2009-07-07  3:54 UTC (permalink / raw
  To: gentoo-user

thank you.  And your comment was duly noted about trying random things.

When I boot the system, the following message follows (after one other
line) after INIT: version 2.86 booting

/sbin/rc: error while loading shared libraries: libncurses.so.5:
cannot open shared object file: No such file or directory.

Alan

 "...can the human soul be glimpsed through a microscope? Maybe, but
you'd definitely need one of those very good ones with two eyepieces."

    -- Woody Allen, quoted by B. A. Palevitz



On Tue, Jul 7, 2009 at 8:43 AM, walt<w41ter@gmail.com> wrote:
> On 07/06/2009 01:21 PM, Alan E. Davis wrote:
>>
>> Ncurses has disappeared, and the system is dead.  I think it is
>> unrecoverable.  I had hoped to use a binary package, but for now,
>> since I shut the machine down, it will not boot.
>>
>> Is this hopeless?  It happened during an emerge -uDvNa world
>
> It's never hopeless unless the hard disk is damaged, e.g. from a
> head crash or similar catastrophe.  The important thing is to avoid
> trying random things without knowing what you're doing. You can
> turn a simple recovery into a hopeless mess that way.
>
> I find that I can usually get myself out of a 'hopeless' mess just
> by downloading a live gentoo boot CD and using that to install a
> recent gentoo snapshot.  You need a second (working) computer to
> do that, of course.  (Everyone should have as many computers as
> possible for exactly that reason :o)
>
> Meanwhile, more info would help, as the others have already said.
>
>
>



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07  3:54   ` Alan E. Davis
@ 2009-07-07  6:37     ` Sebastian Beßler
  2009-07-07  7:08       ` Alan E. Davis
  2009-07-07 11:13     ` David Relson
  1 sibling, 1 reply; 13+ messages in thread
From: Sebastian Beßler @ 2009-07-07  6:37 UTC (permalink / raw
  To: gentoo-user

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

Alan E. Davis schrieb:
> thank you.  And your comment was duly noted about trying random things.
> 
> When I boot the system, the following message follows (after one other
> line) after INIT: version 2.86 booting
> 
> /sbin/rc: error while loading shared libraries: libncurses.so.5:
> cannot open shared object file: No such file or directory.

Use a live-linux from usb-stick or CD, mount your root, chroot into it
and give revdep-rebuild a try. That should help.

Greetings

Sebastian


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

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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07  6:37     ` Sebastian Beßler
@ 2009-07-07  7:08       ` Alan E. Davis
  2009-07-07 10:15         ` Neil Bothwick
  0 siblings, 1 reply; 13+ messages in thread
From: Alan E. Davis @ 2009-07-07  7:08 UTC (permalink / raw
  To: gentoo-user

Thank you for your response, Sebastian:

On Tue, Jul 7, 2009 at 4:37 PM, Sebastian
Beßler<webmaster@darkmetatron.de> wrote:

> Use a live-linux from usb-stick or CD, mount your root, chroot into it
> and give revdep-rebuild a try. That should help.

I think you are telling me to use Gentoo Live CD specifically, and
mount my installed "/" (on /mnt/gentoo?), chroot into it (as described
in the install docs) and run revdeb-rebuild.

Is revdep-rebuild part of the live cd?

I'll try it.  Thank you VERY much.  I have installed Ubuntu, but these
steps will save my having to deal with that.

Alan



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07  7:08       ` Alan E. Davis
@ 2009-07-07 10:15         ` Neil Bothwick
  2009-07-07 10:24           ` Alan E. Davis
  0 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2009-07-07 10:15 UTC (permalink / raw
  To: gentoo-user

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

On Tue, 7 Jul 2009 17:08:01 +1000, Alan E. Davis wrote:

> I think you are telling me to use Gentoo Live CD specifically, and
> mount my installed "/" (on /mnt/gentoo?), chroot into it (as described
> in the install docs) and run revdeb-rebuild.
> 
> Is revdep-rebuild part of the live cd?

It doesn't matter. Once you have chrooted you are using software
installed in the chroot. 

However, it may not be possible to use revdep-rebuild without ncurses, in
which case you need some kind soul with a similar setup to provide you
with a binary package of ncurses, which you can unpack into your root
directory.


-- 
Neil Bothwick

Locutous for Pontiac: Excitment is irrelivent.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07 10:15         ` Neil Bothwick
@ 2009-07-07 10:24           ` Alan E. Davis
  2009-07-07 11:02             ` John covici
  2009-07-07 11:10             ` Alan E. Davis
  0 siblings, 2 replies; 13+ messages in thread
From: Alan E. Davis @ 2009-07-07 10:24 UTC (permalink / raw
  To: gentoo-user

On Tue, Jul 7, 2009 at 8:15 PM, Neil Bothwick<neil@digimed.co.uk> wrote:
>
> It doesn't matter. Once you have chrooted you are using software
> installed in the chroot.
>
> However, it may not be possible to use revdep-rebuild without ncurses, in
> which case you need some kind soul with a similar setup to provide you
> with a binary package of ncurses, which you can unpack into your root
> directory.
>

This is exactly what happened.  I used the systemrescuecd, chrooted,
and, lo and behold, the same error message was coming up.  What I
might be able to do is symlink to libncursesw ?  Don't know whether
it's even on the system.

On the other hand, with a binary ncurses, I could see that might work.
 Is there a binary repo?  (Back to sabayon?).  I suppose I need to
know the exact version.  Does it matter which use flags it was
compiled with?

Thank you!

Alan



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07 10:24           ` Alan E. Davis
@ 2009-07-07 11:02             ` John covici
  2009-07-07 11:10             ` Alan E. Davis
  1 sibling, 0 replies; 13+ messages in thread
From: John covici @ 2009-07-07 11:02 UTC (permalink / raw
  To: gentoo-user

on Tuesday 07/07/2009 Alan E. Davis(lngndvs@gmail.com) wrote
 > On Tue, Jul 7, 2009 at 8:15 PM, Neil Bothwick<neil@digimed.co.uk> wrote:
 > >
 > > It doesn't matter. Once you have chrooted you are using software
 > > installed in the chroot.
 > >
 > > However, it may not be possible to use revdep-rebuild without ncurses, in
 > > which case you need some kind soul with a similar setup to provide you
 > > with a binary package of ncurses, which you can unpack into your root
 > > directory.
 > >
 > 
 > This is exactly what happened.  I used the systemrescuecd, chrooted,
 > and, lo and behold, the same error message was coming up.  What I
 > might be able to do is symlink to libncursesw ?  Don't know whether
 > it's even on the system.
 > 
 > On the other hand, with a binary ncurses, I could see that might work.
 >  Is there a binary repo?  (Back to sabayon?).  I suppose I need to
 > know the exact version.  Does it matter which use flags it was
 > compiled with?

I wonder if you say  -C and -P would it still use ncurses since you
are turning off color and progress indications?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07 10:24           ` Alan E. Davis
  2009-07-07 11:02             ` John covici
@ 2009-07-07 11:10             ` Alan E. Davis
  2009-07-07 12:07               ` Neil Bothwick
  1 sibling, 1 reply; 13+ messages in thread
From: Alan E. Davis @ 2009-07-07 11:10 UTC (permalink / raw
  To: gentoo-user

As I type, the system is booting, after untarring a Sabayon package of
ncurses into the / partition, mounted in a parallel ubuntu setup.

The system has booted, and I am typing this message from it.

Thank you everyone.

Alan



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07  3:54   ` Alan E. Davis
  2009-07-07  6:37     ` Sebastian Beßler
@ 2009-07-07 11:13     ` David Relson
  1 sibling, 0 replies; 13+ messages in thread
From: David Relson @ 2009-07-07 11:13 UTC (permalink / raw
  To: gentoo-user; +Cc: lngndvs

On Tue, 7 Jul 2009 13:54:52 +1000
Alan E. Davis wrote:

> thank you.  And your comment was duly noted about trying random
> things.
> 
> When I boot the system, the following message follows (after one other
> line) after INIT: version 2.86 booting
> 
> /sbin/rc: error while loading shared libraries: libncurses.so.5:
> cannot open shared object file: No such file or directory.
> 
> Alan

Might you just be missing a symlink?  I have the following on my system:

lrwxrwxrwx ... /lib/libncurses.so -> libncurses.so.5  
lrwxrwxrwx ... /lib/libncurses.so.5 -> libncurses.so.5.6   
-rwxr-xr-x ... /lib/libncurses.so.5.6

HTH,

David



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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07 11:10             ` Alan E. Davis
@ 2009-07-07 12:07               ` Neil Bothwick
  2009-07-07 13:06                 ` Alan E. Davis
  0 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2009-07-07 12:07 UTC (permalink / raw
  To: gentoo-user

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

On Tue, 7 Jul 2009 21:10:23 +1000, Alan E. Davis wrote:

> As I type, the system is booting, after untarring a Sabayon package of
> ncurses into the / partition, mounted in a parallel ubuntu setup.

Now you need to emerge the proper Gentoo package to get your database
consistent with what is installed.


-- 
Neil Bothwick

MS-DOS: if you believe in a flat Earth, this is the OS for you.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Re: ncurses is gone
  2009-07-07 12:07               ` Neil Bothwick
@ 2009-07-07 13:06                 ` Alan E. Davis
  0 siblings, 0 replies; 13+ messages in thread
From: Alan E. Davis @ 2009-07-07 13:06 UTC (permalink / raw
  To: gentoo-user

Yes.  It's working.  It emerged without complaint.

Thank you for the useful advice.  I am very pleased that this system
is working now.


Alan Davis

 "...can the human soul be glimpsed through a microscope? Maybe, but
you'd definitely need one of those very good ones with two eyepieces."

    -- Woody Allen, quoted by B. A. Palevitz



On Tue, Jul 7, 2009 at 10:07 PM, Neil Bothwick<neil@digimed.co.uk> wrote:
> On Tue, 7 Jul 2009 21:10:23 +1000, Alan E. Davis wrote:
>
>> As I type, the system is booting, after untarring a Sabayon package of
>> ncurses into the / partition, mounted in a parallel ubuntu setup.
>
> Now you need to emerge the proper Gentoo package to get your database
> consistent with what is installed.
>
>
> --
> Neil Bothwick
>
> MS-DOS: if you believe in a flat Earth, this is the OS for you.
>



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

end of thread, other threads:[~2009-07-07 13:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 20:21 [gentoo-user] ncurses is gone Alan E. Davis
2009-07-06 20:37 ` Alan McKinnon
2009-07-06 22:43 ` [gentoo-user] " walt
2009-07-07  3:54   ` Alan E. Davis
2009-07-07  6:37     ` Sebastian Beßler
2009-07-07  7:08       ` Alan E. Davis
2009-07-07 10:15         ` Neil Bothwick
2009-07-07 10:24           ` Alan E. Davis
2009-07-07 11:02             ` John covici
2009-07-07 11:10             ` Alan E. Davis
2009-07-07 12:07               ` Neil Bothwick
2009-07-07 13:06                 ` Alan E. Davis
2009-07-07 11:13     ` David Relson

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