microdnf icon indicating copy to clipboard operation
microdnf copied to clipboard

microdnf update : obfuscaded error about '-1 running transaction'

Open llech opened this issue 3 years ago • 1 comments

*** actual ***

I'm getting very obfustaden error message: '-1 running transaction' when launching microdnf update in the docker build executed by kaniko.

It's not directly caused by running in kaniko context, actually it's enough to build with kaniko from image based on microdnf-based distribution, log ins image and run microdnf update.

The Dockerfile to replicate:

FROM quay.io/keycloak/keycloak:11.0.3
ENV LD_LIBRARY_PATH=/usr/lib64:/usr/lib
USER root
RUN microdnf update -y && microdnf clean all

The error message:

Cleanup: libgcc;8.3.1-5.1.el8;x86_64;installed
error: Error -1 running transaction
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1

*** expected ***

Ideally, update should work. But I assume, there's an underlying problem which I'm unable to spot because of the obfuscated error message. So I expect to get real error message.

llech avatar Nov 26 '21 07:11 llech

Can we get a more verbose message as this one error: Error -1 running transaction do not really help ?

cmoulliard avatar Sep 04 '23 12:09 cmoulliard