← Back to team overview

ubuntu-phone team mailing list archive

Re: Impossible to create 15.04 chroot on both 15.10 and 16.04

 

Hi Roberto,

I did (previously) try that, and chroot create failed with a dependency error.

It seems that the xenial ubutu-sdk-team tools-development ppa [1] does not contain a click package: indeed it only has (that I can see) go-get-ubunut-touch.

[1] https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/tools-development?field.series_filter=xenial

Cheers


On 05/20/2016 03:27 PM, Roberto Mier Escandón  wrote:
Hey Kyle:

Some time ago I had problems creating click chroot for armhf in xenial.
I don't remember if the error was the same you describe but I think it
is. Zoltan provided me the solution described below. Maybe it helps you.

Cheers.


On 29/04/16 15:37, Zoltán Balogh wrote:
Hi,

I have a super simple and quick fix for the actually broken click chroot
creation.

I know many of us have been suffering from this issue, so it would be
cool to release the fix as soon as possible.

If you want to join me testing (Trusty, Wily, Xenial) the fix please
enable the Tools development PPA ->

$ sudo add-apt-repository ppa:ubuntu-sdk-team/tools-development && sudo
apt-get update && sudo apt-get install click

after that

$ sudo click chroot -a armhf -f ubuntu-sdk-15.04 create

This command will work only if you do _NOT_ have already an armhf
chroot.  You can remove the existing chroot with this command

$ sudo click chroot -a armhf -f ubuntu-sdk-15.04 destroy

or if the chroot is from the canned chroot package you can remove that
package like ->

$ sudo apt-get remove ubuntu-sdk-api-15.04-armhf


After testing this new click package please do remove the Tools
development PPA ->

$ sudo ppa-purge ppa:ubuntu-sdk-team/tools-development


Please ping or mail me if you need any help or assistance.

cheers,

bzoltan








On 20/05/16 20:39, knitzsche wrote:
Hi,

I can't make an ubuntu-sdk-15.04 armhf chroot (on xenial).
...
The following packages have unmet dependencies:
  ubuntu-sdk-libs:armhf : Depends: ubuntu-html5-container:armhf

Cheers

On 02/17/2016 01:56 PM, Zoltán Balogh wrote:
Hi,

Just for your information, this case was tracked by the
https://bugs.launchpad.net/ubuntu/+source/oxide-qt/+bug/1543215

After some investigation we have realized that the click chroot creation
was blocked by two separate issues.

1) In the Overlay PPA we had a broken dependency on perl-base ->
pay-service -> libpay2 -> libqt5purchasing5 -> qml-module-qtpurchasing.
The issue was solved in Wily and in Xenial, so it was just about the
time to port the fix back to the Overlay PPA

2) Both the the ubuntu-sdk-libs and the ubuntu-html5-container package
was depending on liboxideqt-qmlplugin and the ubuntu-sdk-libs depends on
ubuntu-html5-container. The apt freaked out and so the click chroot
creation failed.

Both issues are fixed by now, so the click chroot is back in business.

The moral of this story is that bootstrapping a chroot is sensitive
operation... specially when the source of the chroot is a constantly
moving system. In case of the click chroot is acting up it is suggested
to use the static chroot packages -> ubuntu-sdk-api-15.04-[armhf|i386]
provided by the SDK Release PPA.

The other moral is that yes, we are working on a solution to get rid of
that schroot for good :)


cheers,

bzoltan

On 08/02/16 12:55, Riccardo Padovani wrote:
Hello all,
I'm having issues creating chroots on both 15.10 and 16.04.
Both have same error messages, but I'm focusing on 15.10 right now
because
16.04 isn't supported yet.

So, I try to create a click chroot with this command:

sudo click chroot --arch armhf --framework ubuntu-sdk-15.04 create

The error I have is:

The following packages have unmet dependencies:
   ubuntu-sdk-libs:armhf : Depends: liboxideqt-qmlplugin:armhf but it
is not
going to be installed
E: Unable to correct problems, you have held broken packages.
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 592, in
create
      self.full_name, ret_code))
click.chroot.ClickChrootException: Failed to create chroot
'click-ubuntu-sdk
-15.04-armhf' (exit status 100)

Full output here: http://pastebin.ubuntu.com/14992570/

I have the SDK's PPA, here some informations about packages I've
installed on
15.10:

apt-cache policy click
click:
    Installed: 0.4.40+15.10.20151012-0ubuntu1
    Candidate: 0.4.40+15.10.20151012-0ubuntu1
    Version table:
   *** 0.4.40+15.10.20151012-0ubuntu1 0
          500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/
wily/main
amd64 Packages
          100 /var/lib/dpkg/status
       0.4.39.1+15.10.20150702-0ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages

apt-cache policy ubuntu-sdk:
    Installed: 1.251~0ubuntu1~0wily2
    Candidate: 1.251~0ubuntu1~0wily2
    Version table:
   *** 1.251~0ubuntu1~0wily2 0
          500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/
wily/main
amd64 Packages
          100 /var/lib/dpkg/status
       1.250 0
          500 http://archive.ubuntu.com/ubuntu/ wily/universe amd64
Packages

apt-cache policy schroot
schroot:
    Installed: 1.6.10-1ubuntu2
    Candidate: 1.6.10-1ubuntu2
    Version table:
   *** 1.6.10-1ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
          100 /var/lib/dpkg/status

Any idea how to fix the issue?
There is any other useful information I can provide?

Thanks in advance,





Follow ups

References