Closed deuscapturus closed 1 year ago
Try using exclude=
instead. But also note globby patterns aren't supported. So you'd need to do e.g.:
exclude=salt salt-api salt-master salt-minion
This will be fixed properly once we use the latest libdnf (#1404).
This is unrelated, but the status command is broken as well.
Can you post the backtrace from rpm-ostreed
in the journal if there is one?
Try using
exclude=
instead.
where's the documentation for exclude=
? I only see excludepkgs
and includepkgs
at https://dnf.readthedocs.io/en/latest/conf_ref.html. I'm hitting an issue where I'm trying to only pull certain packages from a repo and rpm-ostree doesn't seem to be honoring those directives.
It's in the yum documentation, so it was likely added for backwards compatibility: http://man7.org/linux/man-pages/man5/yum.conf.5.html.
This will be fixed properly once we use the latest libdnf (#1404).
can we close this now since it should be fixed in the next release?
Hmm, no seems like this is still an issue.
To be more precise, excludepkgs
is a dnf-only feature right now. It seems like some of this logic still needs to be lowered into libdnf proper: https://github.com/rpm-software-management/libdnf/issues/303.
I can confirm that this is no longer an issue and that the DNF exludepkgs
list works on rpm-ostree distributions. Tested on Fedora Silverblue 38. The libdnf issue was addressed 2.5 years ago.
@LukeShortCloud Thanks for checking!
Host system details
This is unrelated, but the status command is broken as well.
Expected vs actual behavior
In the example below all
salt
packages are being excluded from the fedora repos withexcludepkgs=salt*
. But rpm-ostree installs them anyway from these sources.Steps to reproduce it
Repo File:
My tree file
~/saltstack-fedora-atomic-host.json
:My results :
Would you like to work on the issue?
I can't resolve this issue. I don't do C.