Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing a local package does not work #2911

Closed
psss opened this issue May 7, 2024 · 0 comments · Fixed by #2914
Closed

Installing a local package does not work #2911

psss opened this issue May 7, 2024 · 0 comments · Fixed by #2914
Labels
bug Something isn't working prepare Prepare step
Milestone

Comments

@psss
Copy link
Collaborator

psss commented May 7, 2024

Seems that fb9c7df broke the local package installation use case. Steps to reproduce:

sudo dnf download tree
tmt run -vvv \
    provision --how container \
    prepare --how install --package tree* \
    finish

The error is:

Command 'rpm -q --whatprovides /var/tmp/tmt/run-170/default/plan/prepare/packages/tree-2.1.0-4.fc39.x86_64.rpm && dnf reinstall -y  /var/tmp/tmt/run-170/default/plan/prepare/packages/tree-2.1.0-4.fc39.x86_64.rpm' returned 1.

stdout (1 lines)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file /var/tmp/tmt/run-170/default/plan/prepare/packages/tree-2.1.0-4.fc39.x86_64.rpm is not owned by any package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shall we squeeze this into 1.33 as this is a regression?

@psss psss added this to the 1.33 milestone May 7, 2024
@psss psss added the prepare Prepare step label May 7, 2024
happz added a commit that referenced this issue May 7, 2024
@happz happz added the bug Something isn't working label May 7, 2024
psss pushed a commit that referenced this issue May 7, 2024
@psss psss closed this as completed in #2914 May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prepare Prepare step
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants