apt-get seg faults when I try to install a debian package. The version of apt I am running is 0.3.18.
Any idea as to what the problem is ? # apt-get -v apt 0.3.18 for i386 compiled on Feb 13 2000 01:58:55 # strace apt-get install <package_name> [snip] gettimeofday({961307348, 8428}, NULL) = 0 gettimeofday({961307348, 11275}, NULL) = 0 ) = 34ng Dependency Tree... DoneTree... Don"..., 34 write(1, "\n", 1 ) = 1 brk(0x8078000) = 0x8078000 brk(0x807e000) = 0x807e000 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ # gdb apt-get (gdb) r install <package_name> ... (gdb) bt #0 0x4007bd46 in pkgProblemResolver::MakeScores () from /usr/lib/libapt-pkg.so.2.7 #1 0x4007c6fc in pkgProblemResolver::Resolve () from /usr/lib/libapt-pkg.so.2.7 #2 0x8055ead in strcpy () #3 0x4004b01a in CommandLine::DispatchArg () from /usr/lib/libapt-pkg.so.2.7 #4 0x805ef92 in strcpy () #5 0x4013fa42 in __libc_start_main () from /lib/libc.so.6 -- saisanthosh