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

Re: Corrupt dpkg database? No kernels found



On Dec 1, 2:40 am, "Gordon Farquharson" <gordonfarquhar...@gmail.com>
wrote:

> (gdb) run -f install
> Starting program: /usr/bin/apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies...
> Program received signal SIGSEGV, Segmentation fault.
> 0x4008d100 in pkgDepCache::Update (this=0x3f020, D=
>       {Dep = 0x41fef230, Type = pkgCache::DepIterator::DepRev, Owner =
> 0x3ec38}) at depcache.cc:464
> 464     depcache.cc: No such file or directory.
>         in depcache.cc
> (gdb)

Odd... I tried the installer again but with the daily build dated
2006-11-30 and now apt-get seg faults at a different spot.

sh-3.1# gdb apt-get
GNU gdb 6.5-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "arm-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run -f install
Starting program: /usr/bin/apt-get -f install
Reading package lists... Done
Building dependency tree... 50%
Program received signal SIGSEGV, Segmentation fault.
0x4008b864 in pkgDepCache::CheckDep (this=0x3f020, Dep=
      {Dep = 0x407f0a68, Type = pkgCache::DepIterator::DepVer, Owner =
0x3ec38}, Type=1, Res=@0xbe840040) at depcache.cc:157
157     depcache.cc: No such file or directory.
        in depcache.cc
(gdb) where
#0  0x4008b864 in pkgDepCache::CheckDep (this=0x3f020, Dep=
      {Dep = 0x407f0a68, Type = pkgCache::DepIterator::DepVer, Owner =
0x3ec38}, Type=1, Res=@0xbe840040) at depcache.cc:157
#1  0x40090fb0 in pkgDepCache::CheckDep (this=0x3f020, Dep=
      {Dep = 0x407f0a68, Type = pkgCache::DepIterator::DepVer, Owner =
0x3ec38}, Type=1) at ../build/include/apt-pkg/depcache.h:142
#2  0x4008be58 in pkgDepCache::DependencyState (this=0x3f020,
D=@0xbe840098)
    at depcache.cc:360
#3  0x4008f74c in pkgDepCache::Update (this=0x3f020, Prog=0xbe840350)
    at depcache.cc:431
#4  0x400902b8 in pkgDepCache::Init (this=0x3f020, Prog=0xbe840350)
    at depcache.cc:91
#5  0x400c9284 in pkgCacheFile::Open (this=0xbe8408d8,
Progress=@0xbe840350,
    WithLock=true) at cachefile.cc:101
#6  0x0002e39c in CacheFile::Open (this=0xbe8408d8, WithLock=true)
    at apt-get.cc:96
#7  0x0002e4e4 in CacheFile::OpenForInstall (this=0xbe8408d8) at
apt-get.cc:107
#8  0x00023114 in DoInstall (CmdL=@0xbe840e04) at apt-get.cc:1415
#9  0x40072e80 in CommandLine::DispatchArg (this=0xbe840e04,
Map=0xbe840d94,
    NoMatch=true) at contrib/cmndline.cc:337
#10 0x00011050 in main (argc=3, argv=0xbe840e84) at apt-get.cc:2606

Gordon



Reply to: