Hey! I have exactly the same problem.

Ubuntu 15.04
Tried via Ubuntu SDK and command line (sudo click chroot -a armhf -f 
ubuntu-sdk-15.04 create)

I get:

E: Sub-process /usr/bin/dpkg returned an error code (1)
Command returned 100: schroot -u root -c source:click-ubuntu-sdk-15.04-armhf -- 
/finish.sh
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 554, in create
    self.full_name, ret_code))
click.chroot.ClickChrootException: Failed to create chroot 
'click-ubuntu-sdk-15.04-armhf' (exit status 100)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1343039

Title:
  Cannot install chroot

Status in click package in Ubuntu:
  Fix Released

Bug description:
  I have the following error when trying to install chroot in the VM.

  ---Click exited with errors, please check the output---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 244, 
in run
      return args.func(parser, args)
    File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 67, in 
create
      return chroot.create(args.keep_broken_chroot)
    File "/usr/lib/python3/dist-packages/click/chroot.py", line 422, in create
      self._debootstrap(components, mount)
    File "/usr/lib/python3/dist-packages/click/chroot.py", line 360, in 
_debootstrap
      self.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/click-ubuntu-sdk-14.10-armhf', 
'http://archive.ubuntu.com/ubuntu']' returned non-zero exit status 1
  I: Retrieving Release 
  I: Retrieving Release.gpg 
  I: Checking Release signature
  E: Invalid Release signature (key id 40976EAF437D05B5)
  There was an error creating the click target, cleaning up
  A chroot for that name and architecture does not exist.
  Please use 'create' to create it.
  Deleting /etc/schroot/chroot.d/click-ubuntu-sdk-14.10-armhf
  Deleting /var/lib/schroot/chroots/click-ubuntu-sdk-14.10-armhf
  click target was removed successfullyuo

  Is there any way to uninstall my current SDK. I want to reinstall
  everything again.

  Best regards,
  XiaoG

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1343039/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to