On 24. 07. 20 19:05, Carl George wrote:
Is there a better way to achieve the results with less
risk?
What I do for this is run podman containers. I create local images of
centos+epel, then use a helper script to run them with a podman volume
mounted at/var/cache/{yum,dnf}. With my script I can run repoquery
commands prefixed by a distro identifier.
c7 repoquery --whatprovides webserver
This also has the benefit of being able to start a container
interactively, install packages, and then throw it away when you're
done, with zero risk of installing packages on the host. If this
approach is interesting to you I can put my scripts in a public repo
somewhere.
This is certainly interesting when you actually want to install packages, but
for repoqueries, I find it a bit overkill.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx