为 14.10 创建 click chroot 时出现问题

为 14.10 创建 click chroot 时出现问题

我正在运行 15.04 - 尝试为 14.10 创建点击 chroot armhf:适用于 14.04、15.04,但适用于 14.10。14.10 被删除了吗?

输出如下:

rp@rp-XPS:~$ click framework list
ubuntu-sdk-13.10
ubuntu-sdk-14.04-dev1
ubuntu-sdk-14.04-html-dev1
ubuntu-sdk-14.04-html
ubuntu-sdk-14.04-papi-dev1
ubuntu-sdk-14.04-papi
ubuntu-sdk-14.04-qml-dev1
ubuntu-sdk-14.04-qml
ubuntu-sdk-14.04
ubuntu-sdk-14.10-dev1
ubuntu-sdk-14.10-dev2
ubuntu-sdk-14.10-html-dev1
ubuntu-sdk-14.10-html-dev2
ubuntu-sdk-14.10-html
ubuntu-sdk-14.10-papi-dev1
ubuntu-sdk-14.10-papi-dev2
ubuntu-sdk-14.10-papi
ubuntu-sdk-14.10-qml-dev1
ubuntu-sdk-14.10-qml-dev2
ubuntu-sdk-14.10-qml-dev3
ubuntu-sdk-14.10-qml
ubuntu-sdk-14.10
ubuntu-sdk-15.04-html
ubuntu-sdk-15.04-papi
ubuntu-sdk-15.04-qml
ubuntu-sdk-15.04

rp@rp-XPS:~$ sudo click chroot -a armhf -f ubuntu-14.10 -s utopic -n foo create
I: Retrieving Release 
E: Failed getting release file http://de.archive.ubuntu.com/ubuntu/dists/utopic/Release
Traceback (most recent call last):
  File "/usr/bin/click", line 86, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 82, in main
    return mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 266, in run
    return args.func(parser, args)
  File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 68, in create
    return chroot.create(args.keep_broken_chroot)
  File "/usr/lib/python3/dist-packages/click/chroot.py", line 527, in create
    self._debootstrap(components, mount, archive)
  File "/usr/lib/python3/dist-packages/click/chroot.py", line 451, in _debootstrap
    archive
  File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['debootstrap', '--arch', 'amd64', '--variant=buildd', '--components=main,restricted,universe,multiverse', 'utopic', '/var/lib/schroot/chroots/foo-ubuntu-14.10-armhf', 'http://de.archive.ubuntu.com/ubuntu']' returned non-zero exit status 1

答案1

14.10 已终止使用,不再受支持。因此,它不再位于存档镜像中,并且无法用于sudo click chroot创建 chroot。

因此,您无法创建 chroot,因为系统尝试从中提取的存储库档案中不再存在该版本。

相关内容