Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

Hi, apt on my Debian Lenny seg faults every couple of times when i try to install something. I tried everything! I removed almost everything from sources.list, i removed the apt cache but still it gives me errors. Why is this happening? What's causing it?

asked 03 Jun '10, 16:58

F1r3Fl3x's gravatar image

F1r3Fl3x
334
accept rate: 0%




Did you verify apt? I.e, check md5 sums to make sure that the binary is right. Try reinstalling apt.

Also, try a trace or strace of apt and see where/why it segfaults. Post the results here.

Another option is to run apt in gdb. Install gdb and run gdb apt, no other parameters. When gdb starts, type run, followed by whatever parameters you want to pass to apt. E.g: run install some-package. When you get a segfault, type bt which stands for backtrace. Post the results here.

link

answered 03 Jun '10, 19:26

Sander%20Marechal's gravatar image

Sander Marechal
398116
accept rate: 29%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26
×5

Asked: 03 Jun '10, 16:58

Seen: 1,419 times

Last updated: 17 Jun '10, 20:24

powered by OSQA