← 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,

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