Cumulocity Microservice ERROR: unable to select packages:


Hi Team,
I am trying to create my web service so I have found the bellow error

—> Running in c0eb7a14635a
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
140090676022088:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1913:
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: Permission denied

140090676022088:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1913:

WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: Permission denied

ERROR: unable to select packages:

coreutils (no such package):
required by: world[coreutils]
openjdk8 (no such package):
required by: world[openjdk8]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:42 min
[INFO] Finished at: 2021-06-09T14:09:03+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.nsn.cumulocity.clients-java:microservice-package-maven-plugin:1006.6.8:package (package) on project arkema-microservice: Execution package of goal com.nsn.cumulocity.clients-java:microservice-package-maven-plugin:1006.6.8:package failed: org.apache.maven.plugin.MojoExecutionException: Exception caught: The command ‘/bin/sh -c apk add --no-cache coreutils openjdk8’ returned a non-zero code: 2 → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] PluginExecutionException - Apache Maven - Apache Software Foundation

Thanks,
Himanshu Agarwal

It does not look like a Cumulocity specific error. There could be other reasons for failure.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.