Broken Library : How to fix?

2001-07-08 Thread Erik de Castro Lopo
Hi all,

I'm having a little trouble installing the python-base package on a 
Potato system.

Here's where it gets up to:

(Reading database ... 30058 files and directories currently installed.)
Unpacking python-base (from .../python-base_1.5.2-10potato11_i386.deb) ...
Setting up python-base (1.5.2-10potato11) ...
python: error while loading shared libraries: libreadline.so.3: cannot open 
shared object file: No such file or directo y   

So it looks like libreadline is broken. How do I fix this? I can't
even figure out which package libreadline.so.3 is part of.

Any help appreciated.

Regards,
Erik
-- 
---------
Erik de Castro Lopo [EMAIL PROTECTED]  (Yes its valid)
-
J. Headley: "God, root, what is difference ?"
G. Haverland: "God can change the byte order on the CPU, root can't."



FIXED : Re: libtool broken (was Re: Gcc broken. How to fix?)

2001-01-04 Thread Erik de Castro Lopo
Hi all,

The only way I could get libtool working again, was to install it from
source (bypassing dpkg) and then with that working libtool reinstallation
went fine.

This suggests that libtool is recursively dependant on itself. This can
be proved as follows:

[EMAIL PROTECTED] > apt-get remove libtool
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  libtool 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 774kB will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 44369 files and directories currently installed.)
Removing libtool ...

[EMAIL PROTECTED] > apt-get install libtool
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  libtool 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/177kB of archives. After unpacking 774kB will be used.
Selecting previously deselected package libtool.
(Reading database ... 44340 files and directories currently installed.)
Unpacking libtool (from .../libtool_1.3.3-9.1_all.deb) ...
Setting up libtool (1.3.3-9.1) ...
Configuring libtool...
Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or ./config.sub ALIAS
where ALIAS is a recognized configuration type.
dpkg: error processing libtool (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libtool
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've submitted a bug report requesting that libtool needs to fixed so 
that it can be removed and re-installed safely.

Erik
-- 
+------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+--+
"If dolphins are so smart, why do they live in igloos?" -Eric Cartman



libtool broken (was Re: Gcc broken. How to fix?)

2001-01-04 Thread Erik de Castro Lopo
matthschulz wrote:
> 
> What about removing libtool with --force and then installing it back?

Nope. No change.

[EMAIL PROTECTED] > dpkg --purge libtool
(Reading database ... 44436 files and directories currently installed.)
Removing libtool ...
dpkg - warning: while removing libtool, directory `/usr/share/libtool' not 
empty so not removed.

[EMAIL PROTECTED] > ls /usr/share/libtool
total 8
drwxr-xr-x2 root root 4096 Jan  4 18:09 .
drwxr-xr-x   83 root root 4096 Jan  4 05:57 ..
-rw-r--r--1 root root0 Jan  4 18:06 config.log

[EMAIL PROTECTED] > apt-get install libtool
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  libtool 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/177kB of archives. After unpacking 774kB will be used.
Selecting previously deselected package libtool.
(Reading database ... 44407 files and directories currently installed.)
Unpacking libtool (from .../libtool_1.3.3-9.1_all.deb) ...
Setting up libtool (1.3.3-9.1) ...
Configuring libtool...
Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or ./config.sub ALIAS
where ALIAS is a recognized configuration type.
dpkg: error processing libtool (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libtool
E: Sub-process /usr/bin/dpkg returned an error code (1)


Erik
-- 
+----------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+--+
"I think there is a world market for maybe five computers." 
 -- Thomas Watson, Chairman of IBM, 1943



Re: Gcc broken. How to fix?

2001-01-03 Thread Erik de Castro Lopo
matthschulz wrote:
> 
> Say dpkg -i _package-name_
> 
> Replace _package-name_ with the full name of the .deb file.
> 

Its not that simple. Have another look at the output below. The 
libtool package is installed its just thats its failing during 
configuration.

Thanks anyway for the help.

Erik

> Matth
> 
> On Mittwoch,  3. Januar 2001 14:02, Erik de Castro Lopo wrote:
> > Hi all,
> >
> > I had a crash on my laptop (battery died) which has left
> > me with a broken GCC.
> >
> > I tried uninstalling and reinstalling task-c-dev but now
> > I get the following:
> >
> >   [EMAIL PROTECTED] > apt-get install task-c-dev
> >   Reading Package Lists... Done
> >   Building Dependency Tree... Done
> >   Sorry, task-c-dev is already the newest version
> >   0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >   1 packages not fully installed or removed.
> >   Need to get 0B of archives. After unpacking 0B will be used.
> >   Setting up libtool (1.3.3-9.1) ...
> >   Configuring libtool...
> >   Configuration name missing.
> >   Usage: ./config.sub CPU-MFR-OPSYS
> >   or ./config.sub ALIAS
> >   where ALIAS is a recognized configuration type.
> >   dpkg: error processing libtool (--configure):
> >subprocess post-installation script returned error exit status 1
> >   Errors were encountered while processing:
> >libtool
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > Does anybodu have any idea of how to fix this?
> >
> > Thanks,
> > Erik

-- 
+--+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+--+
Those who do not understand Unix are condemned to reinvent it, poorly.  
-- Henry Spencer



Gcc broken. How to fix?

2001-01-03 Thread Erik de Castro Lopo
Hi all,

I had a crash on my laptop (battery died) which has left
me with a broken GCC.

I tried uninstalling and reinstalling task-c-dev but now
I get the following:

  [EMAIL PROTECTED] > apt-get install 
task-c-dev
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Sorry, task-c-dev is already the newest version
  0 packages upgraded, 0 newly installed, 0 to remove and 0 not
upgraded.
  1 packages not fully installed or removed.
  Need to get 0B of archives. After unpacking 0B will be used.
  Setting up libtool (1.3.3-9.1) ...
  Configuring libtool...
  Configuration name missing.
  Usage: ./config.sub CPU-MFR-OPSYS
  or ./config.sub ALIAS
  where ALIAS is a recognized configuration type.
  dpkg: error processing libtool (--configure):
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   libtool
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Does anybodu have any idea of how to fix this?

Thanks,
Erik

-- 
+--+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes its valid)
+--+
"I love deadlines. I especially like the whooshing sound 
they make as they go flying by."  -- Douglas Adams



Configuring daemons to autorun

2000-11-27 Thread Erik de Castro Lopo
Hi all,

In Debian, how does one configure the daemons which are autorun
on startup. In Redhat the the "setup" program does this by
setting up the correct symlinks in /etc/rc.d/rc[0..7].d/.

Thanks in advance,
Erik
-- 
+-----+
     Erik de Castro Lopo [EMAIL PROTECTED]
+-+
The difference between a violin and a viola is that a viola 
burns longer.



Re: Man pages

2000-11-26 Thread Erik de Castro Lopo
Jonathan D. Proulx wrote:
> 
> Hi,
> 
> [EMAIL PROTECTED] jon]$ dpkg -S /usr/share/man/man2/ptrace.2.gz
> manpages-dev: /usr/share/man/man2/ptrace.2.gz
> 
> so looks like you need an
> `apt-get install manpages-dev`

I had that, I just needed to add /usr/share/man/ to my
MANPATH.

Cheers,
Erik
-- 
+---------+
 Erik de Castro Lopo [EMAIL PROTECTED]
+-+
Seen on usenet (possibly a quote from an IBM exec):
"Each large company needs its Vietnam, and Microsoft will
 experience it with NT..."



Man pages

2000-11-26 Thread Erik de Castro Lopo
Hi all,

I'm a new Debian user (been using other distributions for
about 5 years) and I seem to be missing some man pages on
my new Debian system. I'm missing manpages for ptrace, 
termios, fcntl and others.

The command "dpkg -l |grep man" turns up (among others)

ii  manpages   1.29-2 Man pages about using a Linux system.
ii  manpages-dev   1.29-2 Linux-development man pages.

but neither of these seem contain the required man pages.
 
On Redhat all three of these man pages are in an RPM
called man-pages-1.28-6.rpm.

Anybody got any clues as to why I missing these man pages?

TIA,
Erik
-- 
+-----+
 Erik de Castro Lopo [EMAIL PROTECTED]
+-+
Orcad Express 9: "Its a nice demo but I wouldn't want to use it 
on a day-to-day basis" -- me