LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-10-2005, 09:08 PM   #1
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
apt-get errors and kernel panic


I am putting Debian on an older (K7 700mhz) machine to use with MythTV, but am having some fundamental Debian problems. I am trying to upgrade debian to unstable, and replaced all instances of 'stable' in sources.conf with 'unstable', except for security.debian.org, which I commented out (it is my understanding that there is no such source for unstable). Now when I try to run any apt-get operation, it fails. Apt-get update connects and updates all the package lists, but then spits out:

Reading Package Lists... Error!
E: Problem parsing dependency Depends
E: Error occured while processing libuuid1 (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened

/var/lib/dpkg/status does exist, but appears corrupted. the Depends line of libuuid1 appears as follows:

Depends: libc6 (>= 2.^B~V^C@^R~V^C... etc ... just a bunch of corrupt garbage until ... v^U@sing a standard with is blessed by both Microsoft and DCE, ...

and the file seems uncorrupted from there on. In the same directory, I found status-old, which I used to replace the current status (backing up the original, of course). Apt-get update seemed to complete just fine, and I ran dist-upgrade. In the middle of the upgrade, I got a kernel panic and had to shut down the machine. Now whenever I run apt-get dist-upgrade, it does its thing for a while, then outputs many lines of hex numbers in brackets along with errors such as the following:

[<c0114530>] do_page_fault+0x0/0x50c

and finally ending with:

E: Sub-process /usr/bin/dpkg received a sementation fault.

I think it was a kernel panic that caused this whole corruption issue to start with (hard to remember, I got frustrated and gave up the battle for about a week). Any advice on how to fix apt-get or the kernel? I'll post the kernel panic info if it happens again, and in the meantime see if I can't sort out the kernel problem. Thanks!
 
Old 01-10-2005, 11:08 PM   #2
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
I tried to recompile the kernel (2.6.6 from kernel.org) to leave out some of the more iffy componenets and hopefully resolve this instability. After updating the config, I tried to compile the kernel. It seems to get most of the way through, but segfaults near the end. I tried with both gcc-2.95 and gcc-3.3 with similar results. I even rebooted to the kernel installed by the debian CD with no luck. I am, of course, running make clean each time. The error is not always the same but seems to occur in about the same place. The most recent one is:

OBJCOPY arch/i386/boot/compressed/vmlinux.bin
/bin/sh: lin 1: 10014 Segmentation fault objcopy -O binary -R .note -R .comment -S vmlinux arch/i386/boot/compressed/vmlinux.bin
make[2]: *** [arch/i386/boot/compressed/vmlinux.bin] Error 139
make[1]: *** [arch/i386/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2

I thought installing Debian on this machine would be really easy as it has been in the past with other machines, but it has been uphill all the way with this junker. Any help would be appeciated. Thanks!
 
Old 04-17-2005, 11:31 AM   #3
marcheikens
Member
 
Registered: Aug 2003
Location: Cleveland, OH
Distribution: Ubuntu 6.06
Posts: 66

Rep: Reputation: 15
I don't know if you've resolved this or not, but I just had the same sort of problem, but mine was with portmap's Depends list. The original Depends: line was:

Depends: libc6 (>= 2.3.2.ds1)4), libwrap0

So I looked for another package with a similar Depends list, and found that it should read:

Depends: libc6 (>= 2.3.2.ds1-4), libwrap0

All I did was change that single parenthesis to a hyphen, and lo and behold, apt-get worked again! I'm wondering if this is some sort of typo from the package maintainer, but as long as it's as easy to fix as this, I guess I can't complain too much.

Obviously this probably won't help your kernel panic, but if you're still having problem with this part, that should help.
 
Old 04-18-2005, 08:39 PM   #4
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
Thanks for your reply; I should have finished this post when I resolved it. My problem turned out to be bad RAM. I ran memtest on it, and it showed up right away. I removed that stick of RAM and everything went back to normal. I'm glad you got your problem solved as well. Thanks again!
 
Old 04-18-2005, 09:16 PM   #5
marcheikens
Member
 
Registered: Aug 2003
Location: Cleveland, OH
Distribution: Ubuntu 6.06
Posts: 66

Rep: Reputation: 15
What I helped with, I'm not sure, but ... you're welcome? Glad you fixed your problem as well.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get errors gvaught Debian 1 11-12-2005 10:13 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-get errors mattwilson247 DamnSmallLinux 2 01-15-2005 03:01 PM
Kernel Panic 2.6.7, 4TH Release via apt-get upgrade Outabux Debian 1 08-12-2004 12:05 AM
More kernel panic errors on 2.6.1 Phaethar Linux - General 3 02-04-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:52 PM.

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