Bringing the bug up to speed. It seems that Xenial is not getting
package kit 1.0, so the 0.8 version that has a click backend can remain
in Xenial and can be used. And it is in the Xenial archive. So we're all
good as far as repositories are concerned. But it doesn't work by
default.

This is related to the python3-aptdaemon.pkcompat getting installed,
which makes aptdaemon act the PackageKit backend instead of PackageKit
itself. You can fix an image by doing "apt install packagekit" which
will cause it to be removed. Then PackageKit itself will handle the
pkcon commands and install the package correctly.

So that is the first part of this bug, and results in a system that can
install Click package correctly. We need to figure out which
seeds/packages it makes sense to put the appropriate package
dependencies in.

The second part is that by default on the desktop PackageKit is using
PolicyKit for a privilege request. Unity8 doesn't currently have a
PolicyKit handler. We'll need to add that to the system so that an
appropriate prompt can be shown on install.

-- 
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/1396611

Title:
  Cannot install click packages on ISO installs of Ubuntu

Status in Canonical System Image:
  Won't Fix
Status in click package in Ubuntu:
  New

Bug description:
  Installing packages from the Ubuntu Store fails under unity8-desktop-
  session mir.

  The error can be reproduced using pkcon:

  mzanetti@noneyet ~/.local/share/ubuntu-download-manager  $  pkcon 
install-local Downloads/com.ubuntu.developer.robert-ancell.dotty_2_all.click
  Installing files              [=========================]
  Loading cache                 [=========================]
  Resolving dependencies        [=========================]
  Finished                      [=========================]
  Installing files              [=========================]
  Loading cache                 [=========================]
  Resolving dependencies        [=========================]
  Waiting for authentication    [=========================]
  Loading cache                 [=========================]
  Resolving dependencies        [=========================]
  Committing changes            [=========================]
  Finished                      [=========================]
  (Reading database ... 588050 files and directories currently installed.)
  Preparing to unpack .../com.ubuntu.developer.robert-ancell.dotty_2_all.click 
...
  Click packages may not be installed directly using dpkg.
  Use 'click install' instead.
  dpkg: error processing archive 
/home/mzanetti/.local/share/ubuntu-download-manager/Downloads/com.ubuntu.developer.robert-ancell.dotty_2_all.click
 (--install):
   subprocess new pre-installation script returned error exit status 1
  Errors were encountered while processing:
   
/home/mzanetti/.local/share/ubuntu-download-manager/Downloads/com.ubuntu.developer.robert-ancell.dotty_2_all.click

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1396611/+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