All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Um... WTF?
@ 2003-01-24 23:37 Sir Ace
  2003-01-25  1:53 ` Grant Grundler
  0 siblings, 1 reply; 6+ messages in thread
From: Sir Ace @ 2003-01-24 23:37 UTC (permalink / raw)
  To: parisc-linux

  I have no idea who to direct this to, and everyone keeps directing me to
this liste, so here goes.

Who was the CRACK HEAD that built the debian 3.0 dist for hppa?
I am trying to build everyday things on the system to at least make it
useable.  I just built ncurses {current} on my box, but to install the
ncurses, I had to remove the current debian package.

Herein lies the problem, some how EVERY DAMN THING on the system seems to
be built against ncurses, I can't open a login shell, I can't run apt* I
can't even run half the system commands without getting an error
complaining that ncurses is not on the system.

I am kinda peaved since I put the files on the system to add ncurses back,
then went home for the weekend to fix it.  Well, since I can't log in
anymore.  Unfortunatly now I no longer have any shells open, and I am
either reduced to working off the cd for a repair if possible.
Or stuck re-installing the system. Which took a day between the slowness
of the machine and the slowness of the internet connection. Not to mention
4 days of software builds...

Does anyone have an explination for this? Or better yet a way that isn't
going to involve a massive amount of work to get the machine in order
again?

-------------------------------------------------------------------------
chandler@jordan:~$ telnet 172.16.100.148
Trying 172.16.100.148...
Connected to 172.16.100.148.
Escape character is '^]'.
Debian GNU/Linux 3.0 HPTux
HPTux login: root
Password:
Last login: Fri Jan 24 23:13:14 2003 from asok.eng.nateng.com on pts/2
Linux HPTux 2.4.17-32 #1 Sat Mar 16 17:09:00 MST 2002 parisc unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-bash: error while loading shared libraries: libncurses.so.5: cannot open
shared
 object file: No such file or directory
Connection closed by foreign host.
-------------------------------------------------------------------------
chandler@jordan:~$ ssh -l root 172.16.100.148
root@172.16.100.148's password:
Last login: Fri Jan 24 23:25:12 2003 from jordan.eng.nateng.com on pts/2
Linux HPTux 2.4.17-32 #1 Sat Mar 16 17:09:00 MST 2002 parisc unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jan 24 23:25:12 2003 from jordan.eng.nateng.com
-bash: error while loading shared libraries: libncurses.so.5: cannot open
shared
 object file: No such file or directory
Connection to 172.16.100.148 closed.

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

* Re: [parisc-linux] Um... WTF?
  2003-01-24 23:37 [parisc-linux] Um... WTF? Sir Ace
@ 2003-01-25  1:53 ` Grant Grundler
  2003-01-25  9:17   ` Andrew Shugg
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Grundler @ 2003-01-25  1:53 UTC (permalink / raw)
  To: Sir Ace; +Cc: parisc-linux

On Fri, Jan 24, 2003 at 03:37:28PM -0800, Sir Ace wrote:
> 
>   I have no idea who to direct this to, and everyone keeps directing me to
> this liste, so here goes.

parisc-linux mailing list is really intended for kernel stuff.
lists.debian.org has lots of mailing lists to post rants.

> Who was the CRACK HEAD that built the debian 3.0 dist for hppa?

yeah, debian-hppa list would have been better.  Or debian-devel.
Your problem is not hppa specific.

/me sits back to watch the late New Years fireworks...

> I am trying to build everyday things on the system to at least make it
> useable.  I just built ncurses {current} on my box, but to install the
> ncurses, I had to remove the current debian package.

Why remove the existing package?
I overwrite existing files when I need to.


> Herein lies the problem, some how EVERY DAMN THING on the system seems to
> be built against ncurses,

Right. *system* being the operative word here.

> I am either reduced to working off the cd for a repair if possible.

yes. The CD has a shell which will let you fix *most* things.

You might also try booting with "init=/bin/bash" or if you are lucky,
"init=/bin/sash". Then by hand re-install the libncurses.


> Not to mention 4 days of software builds...

uhm...what are you building that takes 4 days?
Not even glibc or xfree86 takes that long.


grant

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

* Re: [parisc-linux] Um... WTF?
  2003-01-25  1:53 ` Grant Grundler
@ 2003-01-25  9:17   ` Andrew Shugg
  2003-01-25 13:11     ` Thibaut VARENE
  2003-01-25 21:12     ` Grant Grundler
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Shugg @ 2003-01-25  9:17 UTC (permalink / raw)
  To: parisc-linux

Grant Grundler said:
> On Fri, Jan 24, 2003 at 03:37:28PM -0800, Sir Ace wrote:
> >   I have no idea who to direct this to, and everyone keeps directing me to
> > this liste, so here goes.
> 
> parisc-linux mailing list is really intended for kernel stuff.

And glibc, gcc, binutils, & documentation ... everything hppa but not
Debian.  =)

> lists.debian.org has lots of mailing lists to post rants.

Not that they're any more welcome there.

> > Herein lies the problem, some how EVERY DAMN THING on the system seems to
> > be built against ncurses,
> 
> Right. *system* being the operative word here.

Poor Sir Ace must be confused.  A Debian GNU/Linux 3.0 install on hppa
should work fine.  Look at all these happy people who are running it!

Possibly the ncurses package was not installed properly, or some of the
files owned by it had become damaged or corrupted.  You could manually
reinstall the package with 'dpkg -i /path/to/package.deb' and then make
sure that all packages are ready with 'dpkg --configure -a'.  Then you
can run 'dpkg -l|grep -v ^ii' to see what (if any) packages on the
system are in a state other than fully installed (eg partially
installed, not configured, etc.)

If you've done all this and not gotten anywhere, the debian-hppa list
may be able to help you out if you ask nicely.

> You might also try booting with "init=/bin/bash" or if you are lucky,
> "init=/bin/sash". Then by hand re-install the libncurses.

Grant, do you mean "lucky" as in "if you've got sash installed"?  It
doesn't depend on ncurses.  Or am I just not understanding you?

Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."

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

* Re: [parisc-linux] Um... WTF?
  2003-01-25  9:17   ` Andrew Shugg
@ 2003-01-25 13:11     ` Thibaut VARENE
  2003-01-26  0:13       ` Bryan W. Headley
  2003-01-25 21:12     ` Grant Grundler
  1 sibling, 1 reply; 6+ messages in thread
From: Thibaut VARENE @ 2003-01-25 13:11 UTC (permalink / raw)
  To: Sir Ace; +Cc: parisc-linux

On Sat, 25 Jan 2003 17:17:51 +0800
"Andrew Shugg" <andrew@neep.com.au> wrote:

> Grant Grundler said:
> > On Fri, Jan 24, 2003 at 03:37:28PM -0800, Sir Ace wrote:
> > > Herein lies the problem, some how EVERY DAMN THING on the system
> > > seems to be built against ncurses,
> > 
> > Right. *system* being the operative word here.
> 
> Poor Sir Ace must be confused.  A Debian GNU/Linux 3.0 install on hppa
> should work fine.  Look at all these happy people who are running it!
http://pateam.esiee.fr/realisations.html

FWIW, when I encounter such diseases on _any_ platform, I first suspect
the hardware, not the "it-works-for-thousands-of-persons" software.

What's more, no need to use CAPS, exclamations and other insults to ask
questions or report problems. You won't get any result but upsetting
guys who did a _damn good work_ to make the stuff work.


Thibaut VARENE
The PA/Linux ESIEE Team
http://pateam.esiee.fr/

-- 
It's always easy to criticize one's work, but try to do it first...

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

* Re: [parisc-linux] Um... WTF?
  2003-01-25  9:17   ` Andrew Shugg
  2003-01-25 13:11     ` Thibaut VARENE
@ 2003-01-25 21:12     ` Grant Grundler
  1 sibling, 0 replies; 6+ messages in thread
From: Grant Grundler @ 2003-01-25 21:12 UTC (permalink / raw)
  To: parisc-linux

On Sat, Jan 25, 2003 at 05:17:51PM +0800, Andrew Shugg wrote:
> And glibc, gcc, binutils, & documentation ... everything hppa but not
> Debian.  =)

true.

> Grant, do you mean "lucky" as in "if you've got sash installed"?

yes. It's not installed by default...I'm thinking I should
install it on any machine running unstable though...
nearly all of my machines (parisc, x86, ia64) are running testing.

grant

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

* Re: [parisc-linux] Um... WTF?
  2003-01-25 13:11     ` Thibaut VARENE
@ 2003-01-26  0:13       ` Bryan W. Headley
  0 siblings, 0 replies; 6+ messages in thread
From: Bryan W. Headley @ 2003-01-26  0:13 UTC (permalink / raw)
  To: Sir Ace; +Cc: parisc-linux

Thibaut VARENE wrote:
> On Sat, 25 Jan 2003 17:17:51 +0800
> "Andrew Shugg" <andrew@neep.com.au> wrote:
> 
> 
>>Grant Grundler said:
>>
>>>On Fri, Jan 24, 2003 at 03:37:28PM -0800, Sir Ace wrote:
>>>
>>>>Herein lies the problem, some how EVERY DAMN THING on the system
>>>>seems to be built against ncurses,
>>>

Consider how many things are linked against libreadline, so you have 
intra-line editing on command lines. They all reference libncurses. Not 
a complaint against debian, pa-risc debian, any given linux dist. Maybe 
a complaint against certain GNU tools and life in general.

Let's back up: you originally had this problem running 'make menuconfig' 
in the kernel source tree, which seemingly got upset about curses, and 
yet as really referring to something in libsupc++.a. That's an integral 
part of your gcc/g++ installation, which leads me to believe you either 
had an unsuccessful install.

> /tmp/ccywfbmB.o(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status

Right now, you can't get into the system because of this issue. You 
could telnet or ssh in, if you can specify a statically-linked shell to 
run. /bin/sash and /bin/busybox are statically linked. Of the two, I 
prefer busybox, because it also has scaled-down common unix tools 
built-in. If this works, great, you can get and do some cleaning.

If this doesn't work, you could boot off of the CDROM, and instead of 
going through the Debian-fun-and-games install, choose 'execute a shell' 
from their menu. Then, you can manually mount the hard disk, cd over 
there, and do your scrubbing that way.

Lots of lots of fun. BTW, do you know how to install a .deb file without 
the benefit of a working dpkg/dselect/apt et al?

1. A deb file is really an archive built by ar. E.g.,

ar tv apt-listbugs_0.0.1hanzubon6_all.deb
rw-r--r-- 0/0      4 Dec 17 20:07 2002 debian-binary
rw-r--r-- 0/0   2002 Dec 17 20:07 2002 control.tar.gz
rw-r--r-- 0/0  13902 Dec 17 20:07 2002 data.tar.gz

2. Those .tar.gz file really are gzipped tarfiles.

Of these, control.tar.gz is a tar file with the pre-, post-install 
scripts. data.tar.gz is the tarfile of the binaries you are installing.

That is about enough to get you in and out of trouble several times. 
Good luck!






-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net

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

end of thread, other threads:[~2003-01-26  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-24 23:37 [parisc-linux] Um... WTF? Sir Ace
2003-01-25  1:53 ` Grant Grundler
2003-01-25  9:17   ` Andrew Shugg
2003-01-25 13:11     ` Thibaut VARENE
2003-01-26  0:13       ` Bryan W. Headley
2003-01-25 21:12     ` Grant Grundler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.