Skip to content

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

@llech

Description

@llech

*** 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions