[Aptitude-devel] Bug#669322: Bug#669322: aptitude: "Method http has died unexpectedly" with zh_CN.utf8 locale

Daniel Hartwig mandyke at gmail.com
Sat Apr 28 05:36:58 UTC 2012

On 19 April 2012 09:59, Guanhao Yin <yinguanhao at gmail.com> wrote:
> Package: aptitude
> Version: 0.6.6-1+b1
> Severity: important
> In the curses interface, when I try to update the package list, I get
> an error message saying:
> E: 写出错 - write (11: 资源暂时不可用)
> E: Method http has died unexpectedly!
> translated to English, that is:
> E: Write error - write (11: Resource temporarily unavailable)
> E: Method http has died unexpectedly!
> If I set LANG to C, the error does not occur any more.


Initially I could reproduce this twice but no more after switching to
debugging tools (everything compiled "-O0 -g").

I have made a couple changes which may effect this.  First is to fix a
very old bug where download threads were not deleted properly (tying
up resources, potentially keeping files open); second is to no longer
use ListUpdate from apt (introduced last version) and go back to the
pre-0.6.6 code.

As I am having trouble reproducing this again, could someone still
experiencing this please test most recent development work and report

# apt-get build-dep aptitude/sid
$ git clone git://git.debian.org/git/aptitude/aptitude.git
$ cd aptitude
$ ./autogen.sh
$ ./configure && make

Otherwise I will try to reproduce it again on a fresh system, and see
if my changes fix it.


More information about the Aptitude-devel mailing list