apt 0.7.14: runtime error: Method file has died unexpectedly

When the length of the tmpdir is longer than 400, there is an error
when run "apt-get update":

Method file has died unexpectedly!

This is because the "char S[1024]" is not enough for long URI, S[2048]
would be enough.

[YOCTO #2689]

(From OE-Core rev: 3ed08bd24cef39a85c528159a494e8f0dd001739)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang
2012-07-04 18:16:29 +08:00
committed by Richard Purdie
parent f06c1c3df0
commit 12c8d9d451
4 changed files with 78 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
require apt-native.inc
PR = "r9"
PR = "r10"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \