LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-28-2004, 06:26 AM   #1
g0ng
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
dpkg broken after crash


Hi there, I'm having a problem with my ldebian/unstable linux.

I started upgrading the computer when it suddenly crashed.
When I rebooted and tried to continue the upgrade a lot of problems occured. I fixed some of them but I have this problem:

================
Do you want to continue? [Y/n]
(Reading database ... 104578 files and directories currently installed.)
Preparing to replace planner 0.12-2 (using .../planner_0.12-3_i386.deb) ...
Unpacking replacement planner ...
/usr/bin/update-mime-database: error while loading shared libraries: /usr/lib/libxml2.so.2: invalid ELF header
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/usr/bin/update-mime-database: error while loading shared libraries: /usr/lib/libxml2.so.2: invalid ELF header
dpkg: error processing /var/cache/apt/archives/planner_0.12-3_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/usr/bin/update-mime-database: error while loading shared libraries: /usr/lib/libxml2.so.2: invalid ELF header
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/planner_0.12-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
================

It seems to be a problem with the linker because if I issue ldconfig it sais:

================
ldconfig: /usr/lib/libgpm.so.1.19.6 is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libatk-1.0.so.0.600.1 is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libMagick.so.6.0.6 is not an ELF file - it has the wrong magic bytes at the start
================

This goes on for many libraries. Is there a way to fix the problem?

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
boot crash - notebook with broken sound??? lek Slackware 3 09-09-2005 06:04 AM
dpkg broken ?? ptawe Debian 3 07-25-2005 03:01 PM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration