Re: Problems switching from RHEL 6 to Centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 30 Jul 2017 16:00, Alois Treindl <alois@...> wrote:

On 07/30/2017 03:23 PM, Phil Perry wrote:

 I would use yum to uninstall the packages that provide
 /etc/yum.repos.d/redhat.repo and /etc/yum/pluginconf.d/rhnplugin.conf

 On rhel7, these are yum-rhn-plugin and subscription-manager, use rpm to
 check which packages provide them on el6.


which rpm command does this exactly?

"man 8 rpm" search for "--file"

short: rpm -qf [full-path-and-filename]
long:  rpm --query --file [full-path-and-filename]

This queries the rpm-database for which package owns the given file.

 - Yamaban

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux