[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: symbol lookup error




On Sun, Nov 3, 2013 at 12:43 PM, Paul Wise <pabs@debian.org> wrote:
On Sun, 2013-11-03 at 08:22 +0100, Fox Charli wrote:

> Here are the output to the commands you asked :

Sounds like your system is very damaged, I wonder how you did that...

I also wonder. It was running perfectly until I tried to fix an error in my logs.
 
Hopefully these will work around the brokenness and get the info I need:

dpkg -l $(grep -rl $(which apt-get) /var/lib/dpkg/info/*.list | sed 's_.*info/\([^\.]*\).*_\1_')

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  apt            0.8.10.3+squee Advanced front-end for dpkg
 
dpkg -l $(grep -rl /usr/lib/libapt-pkg.so.4.10 /var/lib/dpkg/info/*.list | sed 's_.*info/\([^\.]*\).*_\1_')

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  apt            0.8.10.3+squee Advanced front-end for dpkg
 

A reinstall would be the best way to completely fix this, especially
since squeeze will be EOL soon.

I think this might be my next move after this, but I am asking out of curiosity.
 
If you want to get it working without doing that, start by manually
downloading the appropriate versions of apt and libpth20 and
re-installing them onto your system with dpkg -i.

I tried that too, but the system seems highly broken
 wget http://http.us.debian.org/debian/pool/main/a/apt/apt_0.8.10.3+squeeze1_armel.deb
 wget http://http.us.debian.org/debian/pool/main/p/pth/libpth20_2.0.7-16_armel.deb

dpkg -i libpth20_2.0.7-16_armel.deb
(Reading database ... 95%dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libpth20' is missing final newline

dpkg -i apt_0.8.10.3+squeeze1_armel.deb
(Reading database ... 95%dpkg: unrecoverable fatal error, aborting:
 files list file for package 'libpth20' is missing final newline

Fabien

Reply to: