-
Notifications
You must be signed in to change notification settings - Fork 197
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
Add feature to search for packages #1877
Comments
I think the reason a Installing new packages directly onto the host via package layering (i.e. I agree though - a [1] https://docs.fedoraproject.org/en-US/iot/add-layered/ |
Currently, for Rawhide of Fedora Silverblue, Firefox and GNOME Connections are installed as RPM packages, although they are both operational perfectly as Flatpak packages. Therefore, I may want to ascertain what the name of the package of GNOME Connections is so that I shall be able to uninstall it. Currently, this is difficult, because ascertainment of the name of any package shall require usage of toolbox, the internet, and/or the package-manager of another operating-system that has been installed as one virtual machine. Consequently, for me, the ability to search for packages shall assist the usage of one truly immutable base operating-system, because I shall be able to install more packages as flatpak software if I am able to ascertain what to remove from it. Also, for Kinoite, many important RPM packages have not been installed (all of the modules that are for systemsettings5) so this is important for addition of basic functionality. |
rpm-ostree is technically the system package manager and should have features for discoverability. For me this means that rpm-ostree should not only be able to search for packages with the currently running base in mind, but also search for packages that relate to other ostree refs and bases. Right now I have to go into toolbox and search. If I want to do a comparison between system versions I have to create another toolbox, install even more cruft on my system and generally have to jump through hoops to get anywhere. I think that a search function in rpm-ostree should be a no-brainer, since you'd not only be using rpm-ostree to install an image, but also to build one using compose. Therefore the functionality of searching repos for various packages and such a fundamental feature for system administration, as well as image creation. Starting from scratch wouldn't be advisable, but rpm-ostree should provide search functions specific to ostree systems that are aware or can be aware of other ostree based systems. For instance:
Again, the argument would probably be "just make an alias to dnf inside a toolbox", but if |
This heavily relates to/intersects with #2883 |
This issue has been linked and is apparently needed for good gnome software support of Silverblue-like package layering. See https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1793 |
@cgwalters One question here is your comment on https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1793: By using the |
Yes, we'd need a DBus API and then a path which bypassed that for the container flow. For the underlying code, it may be worth at least referencing https://github.com/rpm-software-management/dnf5/blob/main/dnf5/commands/search/search_processor.cpp (dnf5 is now in c++ which we could use directly). Maybe even copy/paste some code for now. (Of course ideally new code is in Rust too...) |
This closes a longstanding feature request and improves compatibility with the `dnf`/`yum` CLI. The feature set and output text intentionally matches that tool, e.g. globs like `rpm-ostree search kernel*` and multi term searches like `rpm-ostree search kernel python` are supported. Search results per section are limited to 50 due to DBus message size limits. Closes: coreos#1877
This closes a longstanding feature request and improves compatibility with the `dnf`/`yum` CLI. The feature set and output text intentionally matches that tool, e.g. globs like `rpm-ostree search kernel*` and multi term searches like `rpm-ostree search kernel python` are supported. Search results per section are limited to 50 due to DBus message size limits. Closes: coreos#1877
This closes a longstanding feature request and improves compatibility with the `dnf`/`yum` CLI. The feature set and output text intentionally matches that tool, e.g. globs like `rpm-ostree search kernel*` or multi term searches like `rpm-ostree search kernel python` are supported. Search results per section are limited to 50 due to DBus message size limits. Closes: coreos#1877
This closes a longstanding feature request and improves compatibility with the `dnf`/`yum` CLI. The feature set and output text intentionally matches that tool, e.g. globs like `rpm-ostree search kernel*` or multi term searches like `rpm-ostree search kernel python` are supported. Search results per section are limited to 50 due to DBus message size limits. Closes: coreos#1877
Host system details
any
Provide the output of
rpm-ostree status
.Expected vs actual behavior
Expected:
Steps to reproduce it
Trying to find packages to install with rpm-ostree, trying to find documentation describing how to find packages to install with rpm-ostree, etc.
Would you like to work on the issue?
Since I have no idea how to accomplish basic tasks with this program despite reading the documents, I don't think that's possible.
The text was updated successfully, but these errors were encountered: