[debian] apt segfaults after corrupted package download on d-u

Marcel tanuva at googlemail.com
Mon Sep 1 19:36:31 CEST 2008


Am Montag 01 September 2008 19:09:23 schrieb Andre Roth:
> On Mon, 1 Sep 2008 18:07:45 +0200
>
> Marcel <tanuva at googlemail.com> wrote:
> > Am Montag 01 September 2008 17:44:46 schrieb arne anka:
> > > > with a segfault when attempting to read the dependency tree [1].
> > > > What may I do about that?
> > >
> > > could be, your apt is stuck with that broken package (somewhere
> > > internally is probably an "unfinished job!" flag set).
> > > try to download the package manually (wget or so)
> > > apt-cache show linux-libc-dev
> > > shows in Filename the path, just prepend your favourite repository's
> > > url and install it by hand
> > > dpkg -i linux-libc-dev_2.6.26-4_armel.deb
> > >
> > >
> > > after that
> > > apt-ge -f install
> > > might be a good idea
> >
> > Installing the package by hand worked fine, but apt is still stuck with a
> > segfault.
>
> apt-get clean and removing the *bin files in /var/cache/apt/ helped here
> for such problems...

Yes! Removing the bin files and then (since apt was complaining) rm'ing around 
a bit in /var/lib/apt/lists solved the issue.
Thanks!

-Marcel




More information about the community mailing list