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

2008-09-01 Thread Marcel
Moin!

I just d-u'ed and got a corrupted linux-libc-dev_2.6.26-4_armel.deb so that 
dpkg failed to install it. then I deleted the corrupted package 
from /var/cache/apt/archives to make apt redownload it, but now it ends up 
with a segfault when attempting to read the dependency tree [1].
What may I do about that?

-Marcel

[1]: http://rafb.net/p/wNWqKp94.html

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-01 Thread 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-01 Thread Marcel
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.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-01 Thread Andre Roth
On Mon, 1 Sep 2008 18:07:45 +0200
Marcel [EMAIL PROTECTED] 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...




-- 
Andre Roth   | [EMAIL PROTECTED]
GPG: FADF988E| 0959 4D7C F8ED DF4B 90A6  CF71 9EDF 52D1 FADF 988E



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2008-09-01 Thread Marcel
Am Montag 01 September 2008 19:09:23 schrieb Andre Roth:
 On Mon, 1 Sep 2008 18:07:45 +0200

 Marcel [EMAIL PROTECTED] 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community