1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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
+1
View File
@@ -9,6 +9,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
file://makerace.patch \
file://remove-redeclaration.patch \
file://truncate-filename.patch \
file://allocate-larger-memory.patch \
"
inherit autotools gettext