oxide breaks 15.04 chroot installs?

Bug #1543215 reported by David Barth
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
oxide-qt (Ubuntu)
Invalid
Critical
David Barth

Bug Description

When trying to create a new 15.04 chroot, the process fails with a mention of liboxideqt-qmlplugin not going to be installed:

...
Unpacking linux-libc-dev:amd64 (3.19.0-49.55) over (3.19.0-15.15) ...
Setting up perl-modules (5.20.2-2ubuntu0.1) ...
Setting up perl (5.20.2-2ubuntu0.1) ...
Setting up libpam-systemd:amd64 (219-7ubuntu6vividtouch1) ...
Setting up libdpkg-perl (1.17.25ubuntu1.1) ...
Setting up dpkg-dev (1.17.25ubuntu1.1) ...
Setting up linux-libc-dev:amd64 (3.19.0-49.55) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libc6-dev:armhf' instead of 'libc-dev:armhf'
build-essential is already the newest version.
apt-utils is already the newest version.
apt-utils set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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)

David Barth (dbarth)
no longer affects: oxide
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in oxide-qt (Ubuntu):
status: New → Confirmed
Revision history for this message
David Barth (dbarth) wrote :

To reproduce the issue (instructions kindly provided by zbenjamin), create a chroot with:

click chroot -a armhf -f ubuntu-sdk-15.04 -k # (the -k will keep a broken chroot)

then you can log into the chroot with :

schroot -u root -c source:click-ubuntu-sdk-15.04-armhf

The command that is used to install the chroot, and which fails, is:

apt-get -y --force-yes install apt-utils build-essential cmake dpkg-cross fakeroot libc-dev:armhf g++-arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf ubuntu-sdk-libs:armhf ubuntu-sdk-libs-dev:armhf ubuntu-sdk-libs-tools oxideqt-codecs-extra

Revision history for this message
David Barth (dbarth) wrote :

To complete the chroot installation, do:

apt-get -y --force-yes install apt-utils build-essential cmake dpkg-cross fakeroot libc-dev:armhf g++-arm-linux-gnueabihf pkg-config-arm-linux-gnueabihf ubuntu-sdk-libs:armhf ubuntu-sdk-libs-dev:armhf ubuntu-sdk-libs-tools oxideqt-codecs-extra liboxideqt-qmlplugin:armhf liboxideqtcore0:armhf libandroid-properties1:armhf libhybris:armhf

ie, the workaround is to specify those additional packages :

 liboxideqtcore0:armhf libandroid-properties1:armhf libhybris:armhf

Revision history for this message
David Barth (dbarth) wrote :

Note that the overlay ppa was present and already added in the source list of the click chroot:

more /etc/apt/sources.list.d/ci-train-ppa-service-ubuntu-stable-phone-overlay-vivid.list
deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main
# deb-src http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main

Revision history for this message
Michael Weimann (m982) wrote :

David Barth thanks for the workaround. When I run

click chroot -a armhf -f ubuntu-sdk-15.04 -k

click complains:

click chroot: error: unrecognized arguments: -k

Is "-k" really the correct argument? I've click 4.40 installed.

Zoltan Balogh (bzoltan)
Changed in oxide-qt (Ubuntu):
importance: Undecided → Critical
assignee: nobody → David Barth (dbarth)
Revision history for this message
David Barth (dbarth) wrote : Re: [Bug 1543215] Re: oxide breaks 15.04 chroot installs?

You need to have a more recent click package.
I am on 14.04 LTS and with click-4.42 which does have the -k flag.

On Mon, Feb 15, 2016 at 11:02 AM, Zoltan Balogh <<email address hidden>
> wrote:

> ** Changed in: oxide-qt (Ubuntu)
> Importance: Undecided => Critical
>
> ** Changed in: oxide-qt (Ubuntu)
> Assignee: (unassigned) => David Barth (dbarth)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> Matching subscriptions: oxide in Ubuntu
> https://bugs.launchpad.net/bugs/1543215
>
> Title:
> oxide breaks 15.04 chroot installs?
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/oxide-qt/+bug/1543215/+subscriptions
>

Revision history for this message
David Barth (dbarth) wrote :

Quick comment to point out that the hybris dependency was new for oxide 1.12. We may have caught a bad dep during that build targetting the overlay ppa. It seems to be the most obvious cause, as the rest of the Oxide packaging hasn't changed for a long time.

Revision history for this message
Zoltan Balogh (bzoltan) wrote :

The problem it seems had two folds.

1. The ubuntu-html5-container package depends on liboxideqt-qmlplugin and the ubuntu-sdk-libs depends on both. So apt freaks out and so the click chroot creation fails.

2. the pay service - so not oxide related - depends on perl-base what does not install in the multiarch click chroot.

Revision history for this message
Zoltan Balogh (bzoltan) wrote :

The new ubuntu-sdk-libs with the corrected dependencies is just released to the Overlay PPA

Changed in oxide-qt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Marco Graziotti (graziottimarco) wrote :

This bug affect me too, and I resolved following this answer: http://askubuntu.com/a/679447

Revision history for this message
David Barth (dbarth) wrote :

Thanks for the extra pointer. This is a way to work around the issue without the new package update mentioned by bzoltan.
Marking invalid though, as this was not an Oxide issue in the first place.

Changed in oxide-qt (Ubuntu):
status: Fix Released → Invalid
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

@David: Hi. The only release that seems to contain a version of click >= 4.42 is Xenial: https://launchpad.net/ubuntu/+source/click

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

@ Zolton: Hi. Can you please provide the version of the ubuntu-sdk-libs package that is needed and a pointer to the PPA that contains it. Thanks.

Revision history for this message
David Barth (dbarth) wrote :

The SDK PPA has a more recent release available:
https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa?field.series_filter=trusty

On Mon, Feb 22, 2016 at 3:46 PM, Kyle Nitzsche <email address hidden>
wrote:

> @David: Hi. The only release that seems to contain a version of click >=
> 4.42 is Xenial: https://launchpad.net/ubuntu/+source/click
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> Matching subscriptions: oxide in Ubuntu
> https://bugs.launchpad.net/bugs/1543215
>
> Title:
> oxide breaks 15.04 chroot installs?
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/oxide-qt/+bug/1543215/+subscriptions
>

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

thanks David.

Revision history for this message
eDeviser (wolle3) wrote :

Yes, this affects me, too. Running ' $ sudo apt-get install ubuntu-sdk-api-15.04-armhf' did the trick.

After that I just restarted ubuntu-sdk and it told me that there is an update for the arm-kit, which I installed successfully, too. . :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.