[Bug 1280552] Re: click crashed with subprocess.CalledProcessError in check_call(): Command '['schroot', '-c', 'source:click-ubuntu-sdk-13.10-amd64', '-u', 'root', '--', 'apt-get', 'update', '--yes']' returned non-zero exit status 1

Colin Watson cjwatson at canonical.com
Mon Mar 31 11:09:32 UTC 2014


Please re-create your chroot with click 0.4.19 or newer.  This change
should fix this bug:

  [ Benjamin Zeller ]
  * Take pkexec env vars into account when creating a chroot.

** Information type changed from Private to Public

** Changed in: click (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1280552

Title:
  click crashed with subprocess.CalledProcessError in check_call():
  Command '['schroot', '-c', 'source:click-ubuntu-sdk-13.10-amd64',
  '-u', 'root', '--', 'apt-get', 'update', '--yes']' returned non-zero
  exit status 1

Status in “click” package in Ubuntu:
  Fix Released

Bug description:
  the error message said,
  ---Click exited with errors, please check the output---Traceback (most recent call last):
    File "/usr/bin/click", line 83, in <module>
      sys.exit(main())
    File "/usr/bin/click", line 79, in main
      return mod.run(args)
    File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 129, in run
      args.func(parser, args)
    File "/usr/lib/python3/dist-packages/click/commands/chroot.py", line 69, in upgrade
      ClickChroot(args.architecture, args.framework).upgrade()
    File "/usr/lib/python3/dist-packages/click/chroot.py", line 295, in upgrade
      self.update()
    File "/usr/lib/python3/dist-packages/click/chroot.py", line 289, in update
      self.maint(*command)
    File "/usr/lib/python3/dist-packages/click/chroot.py", line 271, in maint
      subprocess.check_call(command)
    File "/usr/lib/python3.3/subprocess.py", line 547, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['schroot', '-c', 'source:click-ubuntu-sdk-13.10-armhf', '-u', 'root', '--', 'apt-get', 'update', '--yes']' returned non-zero exit status 1
  E: Access not authorised
  I: You do not have permission to access the schroot service.
  I: This failure will be reported.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: click 0.4.15
  ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
  Uname: Linux 3.13.0-8-generic x86_64
  ApportVersion: 2.13.2-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Feb 15 18:15:22 2014
  ExecutablePath: /usr/bin/click
  InstallationDate: Installed on 2012-09-23 (509 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
  InterpreterPath: /usr/bin/python3.3
  ProcCmdline: /usr/bin/python3 /usr/bin/click chroot -a amd64 -f ubuntu-sdk-13.10 -s trusty upgrade
  PythonArgs: ['/usr/bin/click', 'chroot', '-a', 'amd64', '-f', 'ubuntu-sdk-13.10', '-s', 'trusty', 'upgrade']
  SourcePackage: click
  Title: click crashed with subprocess.CalledProcessError in check_call(): Command '['schroot', '-c', 'source:click-ubuntu-sdk-13.10-amd64', '-u', 'root', '--', 'apt-get', 'update', '--yes']' returned non-zero exit status 1
  UpgradeStatus: Upgraded to trusty on 2014-02-12 (2 days ago)
  UserGroups: adm cdrom davfs2 dip lpadmin plugdev root sambashare sudo

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



More information about the foundations-bugs mailing list