Re: [SLUG] Debian Library Problem

From: Scott Piper (piper@ij.net)
Date: Mon Oct 08 2001 - 11:38:13 EDT


Matt, there are a few things I would suggest, not knowing if any will work for
you.

You can try running apt-get -f install and apt will attempt to fix the missing
packages. (you may have to run it several times)

Try apt-get -su install libreadline4 (then readline4-dev) to see what apt was
going to remove and install.

If that won't work, since the error appears to deal with the bash history file,
make a dummy folder and move all of the dot files in your home directory into
it ( ~/.bash* ) and see if it works then.

You can also see what the package was going to do by using the dpkg program.
make a directory, and then

dpkg -e yourlibreadline4.deb yourdirectory

will place the control files into yourdirectory.

dpkg -x yourlibreadlin4.deb yourdirectoy

will place the pakage files with directory structure into yourdirectory.

What failure did you receive, if you remember?

    scott

"Miller, Matt" wrote:

> I've got a Debian 2.2 system down...
> After attempting to install the libreadline4 and libreadline4-dev packages
> (which partially failed), I now repeatedly receive the following error
> message:
> /bin/bash: error while loading shared libraries: /bin/bash: undefined
> symbol: history_max_entries
> This problem disables my ability to enter any other init level other than
> single-user mode. For example: init 3 results in:
> /bin/bash: error while loading shared libraries: /bin/bash: undefined
> symbol: history_max_entries
> At boot, using any shell, I receive the same error just before the console
> login appears. I've tried forcibly removing the packages, but the error
> persists.
> As it is I had to run an init=/bin/tcsh at lilo in order to even get into
> single-user mode. I am unable to login using bash or sh. Ldconfig -v comes
> back OK.
> I could only find this one reference:
> http://groups.google.com/groups?q=%22undefined+symbol%22+%22history_max_entr
> ies%22&hl=en&rnum=2&selm=Pine.LNX.4.21.0104101431150.370-100000%40rock.dezev
> ensprong.local
>
> Unfortunately, I don't have any backups of this particular system. Has
> anyone seen this before?
> Matt



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:03:25 EDT