The following packages cannot be authenticated

Asked by Azureiotsdk Team

When I submit my package I get an error on dependent packages within the same PPA.

WARNING: The following packages cannot be authenticated!
  azure-c-shared-util-lib azure-c-shared-util-dev azure-uamqp-c-lib
  azure-uamqp-c-dev azure-umqtt-c-lib azure-umqtt-c-dev
  sbuild-build-depends-azure-iot-sdk-c-dummy

after that I get the following error:

Errors were encountered while processing:
 /var/cache/apt/archives/azure-uamqp-c-lib_0.1.0-27_i386.deb
 /var/cache/apt/archives/azure-uamqp-c-dev_0.1.0-27_i386.deb
 /var/cache/apt/archives/azure-umqtt-c-lib_0.1.0-17_i386.deb
 /var/cache/apt/archives/azure-umqtt-c-dev_0.1.0-17_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Why would my packages not be authenticated if they exist in the same PPA?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Authentication warnings are a red herring in this case; you can ignore them. Your real problem is this:

Unpacking azure-uamqp-c-lib (0.1.0-27) ...
dpkg: error processing archive /var/cache/apt/archives/azure-uamqp-c-lib_0.1.0-27_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libaziotsharedutil.a', which is also in package azure-c-shared-util-lib 0.1.0-23
Selecting previously unselected package azure-uamqp-c-dev.
Preparing to unpack .../azure-uamqp-c-dev_0.1.0-27_amd64.deb ...
Unpacking azure-uamqp-c-dev (0.1.0-27) ...
dpkg: error processing archive /var/cache/apt/archives/azure-uamqp-c-dev_0.1.0-27_amd64.deb (--unpack):
 trying to overwrite '/usr/include/azureiot/azure_c_shared_utility/x509_openssl.h', which is also in package azure-c-shared-util-dev 0.1.0-23
Selecting previously unselected package azure-umqtt-c-lib.
Preparing to unpack .../azure-umqtt-c-lib_0.1.0-17_amd64.deb ...
Unpacking azure-umqtt-c-lib (0.1.0-17) ...
dpkg: error processing archive /var/cache/apt/archives/azure-umqtt-c-lib_0.1.0-17_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libaziotsharedutil.a', which is also in package azure-c-shared-util-lib 0.1.0-23
Selecting previously unselected package azure-umqtt-c-dev.
Preparing to unpack .../azure-umqtt-c-dev_0.1.0-17_amd64.deb ...
Unpacking azure-umqtt-c-dev (0.1.0-17) ...
dpkg: error processing archive /var/cache/apt/archives/azure-umqtt-c-dev_0.1.0-17_amd64.deb (--unpack):
 trying to overwrite '/usr/include/azureiot/azure_c_shared_utility/sha.h', which is also in package azure-c-shared-util-dev 0.1.0-23

You need to make sure that packages that you want to install together don't contain overlapping sets of files.

Can you help with this problem?

Provide an answer of your own, or ask Azureiotsdk Team for more information if necessary.

To post a message you must log in.