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

Re: apt stopped working on my qnap ts-209



2009/10/18 Mathias Waack <M.Waack@gmx.de>:
> Hi,
>
> since a few days I cannot use apt-get to install/upgrade packages:
>
> nas:~# apt-get update
> E: Method ftp has died unexpectedly!
> E: Method /usr/lib/apt/methods/ftp did not start correctly
> E: Method ftp has died unexpectedly!
> E: Method /usr/lib/apt/methods/ftp did not start correctly
> E: Method http has died unexpectedly!
> E: Method /usr/lib/apt/methods/http did not start correctly
> E: Method http has died unexpectedly!
> E: Method /usr/lib/apt/methods/http did not start correctly
>
> nas:~# /usr/lib/apt/methods/http
> Segmentation fault (core dumped)
>
> The core dump is not very informative:
>
> nas:~# gdb /usr/lib/apt/methods/http core

> Core was generated by `/usr/lib/apt/methods/http'.
> Program terminated with signal 11, Segmentation fault.
> [New process 21986]
> #0  0x40d01f78 in ?? ()
> (gdb) bt
> #0  0x40d01f78 in ?? ()
> #1  0x401b6ebc in ?? () from /usr/lib/libstdc++.so.6
> Cannot access memory at address 0xd3ee4
>
> I've tried checking apt and /usr/lib/apt/methods/http with strace with the
> funny result, that it works in this case:
>

> or with apt-get:
>
> nas:~#  strace -f apt-get update 2>/dev/null
> Ign http://people.debian.org lenny Release.gpg
> Ign http://people.debian.org lenny/main Translation-en_US
> ...
> Fetched 2261B in 5s (449B/s)
> Reading package lists... Done
>
> I consider this a very special kind of humour. Is there anything I can do to
> solve this issue?

Hi, maybe you loose some dependence.
Try to update with aptitude instead apt-get

federico


Reply to: