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

[DNF5] Find a way how to replace repositorypkgs command by CLI syntax #1376

Open
j-mracek opened this issue Nov 9, 2021 · 2 comments
Open

Comments

@j-mracek
Copy link
Contributor

j-mracek commented Nov 9, 2021

Repositorypkgs command is primary used for installing packages from particular repository but dependencies can be satisfied from all available repository.

If we will find a way, how to add repository id to spec we can drop repositorypkgs command.

Example solution: NEVRA format can be extended for repository id information
dnf-4.10.1-1.fc35.noarch@fedora # NEVRA@

@Conan-Kudo
Copy link
Member

zypper(8) does this by using --from <repoid> instead. Maybe it's worth looking at that for inspiration?

@j-mracek
Copy link
Contributor Author

zypper(8) does this by using --from <repoid> instead. Maybe it's worth looking at that for inspiration?

Good idea. It means when I would like to install one package from one repository and the second one from another repository then I can use dnf shell to merge both requests and perform them in one transaction. I am fine with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants