lb bootstrap_archive-keys 단계에서 에이전트 뒤의 라이브 빌드에서 Clearsigned 파일이 잘못되고 "NODATA"가 발생함

lb bootstrap_archive-keys 단계에서 에이전트 뒤의 라이브 빌드에서 Clearsigned 파일이 잘못되고 "NODATA"가 발생함

나는 여기에서 18.4의 단계를 따르려고 노력했습니다. https://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html#847

실행할 때 lb build이 단계에서 오류가 발생합니다 lb bootstrap_archive-keys.

내 설정은 Debian Jessie 8.4 VMWare 게스트를 실행하는 Windows 10 호스트입니다. NAT 및 브리지 네트워크 설정을 시도했지만 두 경우 모두 동일한 오류가 발생합니다. 기기가 프록시 인증이 필요한 회사 네트워크에 연결되어 있습니다.

기기가 프록시 인증이 필요한 회사 네트워크에 연결되어 있습니다. 실행하기 전에 lb build명령줄에서 http_proxy, https_proxy 및 ftp_proxy 변수를 다음과 같이 설정했습니다.

> export http_proxy=http://myuser:[email protected]:3128
> export https_proxy=http://myuser:[email protected]:3128
> export ftp_proxy=http://myuser:[email protected]:3128

auto/config라이브 빌드 파일에서 --apt-http-proxy--apt-ftp-proxy매개변수를 지정하여 구성 파일이 다음과 같이 보입니다.

#!/bin/sh

lb config noauto \
     --architectures i386 \
     --linux-flavours 686-pae \
     --apt-http-proxy http://myuser:[email protected]:3128 \
     --apt-ftp-proxy http://myuser:[email protected]:3128 \
     "${@}"

이 단계에서 발생하는 오류는 lb bootstrap_archive_keys다음과 같습니다.

[2018-04-19 16:43:27] lb bootstrap_archive-keys 
Get:1 http://ftp.debian.org jessie InRelease [2829 B]
Splitting up /var/lib/apt/lists/partial/ftp.debian.org_debian_dists_jessie_InRelease into data and signature failedIgn http://ftp.debian.org jessie InRelease
E: GPG error: http://ftp.debian.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...

이전 단계: lb build noauto, lb bootstrap, lb bootstrap_cache restore, 잘 lb bootstrap_cdebootstrap작동합니다 lb bootstrap_debootstrap.

GPG error: http://ftp.debian.org jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)오류를 검색해봤습니다 . 대부분의 사람들은 투명 프록시에 문제가 있습니다(예:https://askubuntu.com/questions/474549/got-nodata-issue-nodata-does-the-network-require-authentication) 이것은 나에게는 해당되지 않습니다. 불투명하고 거기에 있다는 것을 알고 있습니다. :) 그리고 apt-get 업데이트도 잘 작동합니다(/etc/apt/apt.conf에서 프록시 설정).

내 질문과 매우 유사한 오래된 토론이 있습니다.https://lists.debian.org/debian-live/2013/06/msg00078.html하지만 그것은 오래 전 일이었고 이후 버전에서는 수정된 것으로 표시되었습니다. 최신 버전의 live-build 4.0.3-1 및 live-tools 4.0.2-1.1을 사용하고 있습니다.

시스템이 인터넷에 직접 연결되어 있으면 이 문제가 발생하지 않는 것을 확인할 수 있습니다.

누구든지 이 문제에 대해 밝힐 수 있거나 비슷한 문제가 발생한 사람이 있다면 매우 감사하겠습니다.

고마워요, 가보르

PS 이것은 한동안(지난 여름이나 그와 비슷한) 이 설정에서 작동했습니다. 그 이후로 무엇이 바뀌었을까요?

답변1

노력하다:

export LB_APT_HTTP_PROXY="...."

관련 정보