在线时间0 小时
UID3798198
注册时间2021-11-16
NXP金币0
该用户从未签到
新手上路

- 积分
- 6
- 最后登录
- 2021-11-17
|
可能是公司的网络把东西给屏蔽了,有大神知道在哪修改镜像的地址么?
ERROR: ubuntu-base-18.04.5-r0 do_install: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_aptget_update(d)
0003:
File: '/docker_s32g2Acore/s32g274_bsp/1111/sources/meta-alb/classes/nativeaptinstall.bbclass', lineno: 883, function: do_aptget_update
0879: aptget_delete_faketool "/etc/resolv.conf" "/__etcresolvconf__"
0880:}
0881:
0882:python do_aptget_update() {
*** 0883: bb.build.exec_func("aptget_update_begin", d);
0884: bb.build.exec_func("do_aptget_user_update", d);
0885: bb.build.exec_func("aptget_update_extrapackageslast", d);
0886: bb.build.exec_func("do_aptget_user_finalupdate", d);
0887: bb.build.exec_func("aptget_update_end", d);
File: '/docker_s32g2Acore/s32g274_bsp/1111/sources/poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
0252: with bb.utils.fileslocked(lockfiles):
0253: if ispython:
0254: exec_func_python(func, d, runfile, cwd=adir)
0255: else:
*** 0256: exec_func_shell(func, d, runfile, cwd=adir)
0257:
0258: try:
0259: curcwd = os.getcwd()
0260: except:
File: '/docker_s32g2Acore/s32g274_bsp/1111/sources/poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
0499: with open(fifopath, 'r+b', buffering=0) as fifo:
0500: try:
0501: bb.debug(2, "Executing shell function %s" % func)
0502: with open(os.devnull, 'r+') as stdin, logfile:
*** 0503: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0504: except bb.process.ExecutionError as exe:
0505: # Find the backtrace that the shell trap generated
0506: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
0507: stdout_lines = (exe.stdout or "").split("\n")
File: '/docker_s32g2Acore/s32g274_bsp/1111/sources/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
0180: if not stderr is None:
0181: stderr = stderr.decode("utf-8")
0182:
0183: if pipe.returncode != 0:
*** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0185: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/docker_s32g2Acore/s32g274_bsp/1111/build_s32g274ardb2ubuntu/tmp/work/aarch64-fsl-linux/ubuntu-base/18.04.5-r0/temp/run.aptget_update_begin.1065' failed with exit code 100:
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
Ign:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Ign:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Ign:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Ign:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Err:5 http://ports.ubuntu.com/ubuntu-ports bionic Release
SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.88.152 80]
Err:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates Release
SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.88.152 80]
Err:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports Release
SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.88.152 80]
Err:8 http://ports.ubuntu.com/ubuntu-ports bionic-security Release
SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.88.152 80]
Reading package lists...
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic Release' does not have a Release file.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic-updates Release' does not have a Release file.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic-backports Release' does not have a Release file.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports bionic-security Release' does not have a Release file.
WARNING: exit code 100 from a shell command.
ERROR: Logfile of failure stored in: /docker_s32g2Acore/s32g274_bsp/1111/build_s32g274ardb2ubuntu/tmp/work/aarch64-fsl-linux/ubuntu-base/18.04.5-r0/temp/log.do_install.1065
ERROR: Task (/docker_s32g2Acore/s32g274_bsp/1111/sources/meta-alb/recipes-extended/ubuntu/ubuntu-base_18.04.5.bb:do_install) failed with exit code '1'
|
|