Skip to content

dnf replay broken since 5.2.10.0-71-g3de835a49 #2183

@mtalexan

Description

@mtalexan

The following is defined to work, and more complex versions of it seem to be a specifically supported workflow:

dnf install --assumeyes --store=mytransaction cowsay

# disconnect from all networks

dnf replay --assumeyes mytransaction

Up to and including 5.2.10.0 of dnf5 this worked as expected, with dnf replay using the RPMs downloaded into the mytransaction/packages/ folder that are also referenced within the mytransaction/transaction.json file itself.

However in 5.2.12.0 it does not work. Instead the dnf replay command ignores that the packages are already downloaded and available and attempts to download them again fresh. dnf replay is designed to be used on air-gapped/offline systems to install transactions that had their packages downloaded with them, so this is breakage of the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MEDIUMTriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions