libdnf
libdnf copied to clipboard
[DNF5] Find a way how to replace repositorypkgs command by CLI syntax
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@
zypper(8)
does this by using --from <repoid>
instead. Maybe it's worth looking at that for inspiration?
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.