← Back to team overview

touch-packages team mailing list archive

[Bug 1360582] Re: Can't manually install clicks "Signature verification error" since #205

 

Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=83075.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-08-26T00:20:27+00:00 Michael Vogt wrote:

Created attachment 105257
add a new --allow-unauthenticated option to pkcon

In order to install packages without a signature (e.g. to test locally
build projects) it would be nice to have a way to tell packagekit in
advance that its ok to install a package without authentication (i.e.
avoid the interactive question during the task execution).

The use case is a SDK that can build a test package from your project
and install it into a emulator to do a full end-to-end test of the
project.

Attached is a patch that implements a pkcon --allow-unauthenticated
option that clear the PK_TRANSACTION_FLAG_ENUM_ONLY_TRUSTED flag when
this option is used.

Feedback welcome! If that looks acceptable I'm happy to do the man-page
addition as well.

Thanks,
 Michael

Reply at: https://bugs.launchpad.net/ubuntu/+source/phablet-
tools/+bug/1360582/comments/10


** Changed in: click
       Status: Unknown => Confirmed

** Changed in: click
   Importance: Unknown => Medium

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

Title:
  Can't manually install clicks "Signature verification error" since
  #205

Status in Click packages:
  Confirmed
Status in “click” package in Ubuntu:
  Confirmed
Status in “phablet-tools” package in Ubuntu:
  Confirmed

Bug description:
  See mailing list thread at https://lists.launchpad.net/ubuntu-
  phone/msg09607.html

  Since image #205 I can't install click packages using click-buddy &
  pkcon install-local. Changed click-buddy to use  "adb $ADBOPTS shell
  click install --user=$DEVICE_USER --allow-unauthenticated /tmp/$click"
  which worked for me, but dunno if that's the "right" thing to do.

  alan@deep-thought:~/phablet/code/coreapps⟫ adb push com.ubuntu.music_1.3.597_all.click /tmp
  2560 KB/s (401406 bytes in 0.153s)

  alan@deep-thought:~/phablet/code/coreapps⟫ phablet-shell
  start: Job is already running: ssh
  /home/alan/.ssh/known_hosts updated.
  Original contents retained as /home/alan/.ssh/known_hosts.old
  9 KB/s (399 bytes in 0.040s)
  Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
  Welcome to Ubuntu Utopic Unicorn (development branch) (GNU/Linux 3.4.0-5-mako armv7l)

   * Documentation:  https://help.ubuntu.com/
  Last login: Fri Aug 22 23:53:19 2014 from localhost.localdomain
  phablet@ubuntu-phablet:~$ pkcon install-local /tmp/com.ubuntu.music_1.3.597_all.click 
  Installing files              [=========================]         
  Finished                      [=========================]         
  Installing files              [=========================]         
  Waiting for authentication    [=========================]         
  Starting                      [=========================]         
  Finished                      [=========================]         
  Fatal error: /tmp/com.ubuntu.music_1.3.597_all.click failed to install.
  Cannot install /tmp/com.ubuntu.music_1.3.597_all.click: Signature verification error: debsig: Origin Signature check failed. This deb might not be signed.

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