Is there a way to list the packages that are in a "base" install, but that are not in a "nobase" (core) install?
I did a nobase install, then ran "yum groupinstall Base", but this just lists everything in base, including the core packages.
Mainly, I'm just looking to audit the packages, and add only necessary ones back to a nobase install.
So far, I've come up with sendmail, man, logwatch, logrotate, vixie-cron.
johnn
Johnn Tan wrote:
Is there a way to list the packages that are in a "base" install, but that are not in a "nobase" (core) install?
I did a nobase install, then ran "yum groupinstall Base", but this just lists everything in base, including the core packages.
Mainly, I'm just looking to audit the packages, and add only necessary ones back to a nobase install.
So far, I've come up with sendmail, man, logwatch, logrotate, vixie-cron.
johnn
The yum group functions do not work well with hidden package groups.
Probably the easiest way to do what you want is to look at the comps.xml file directly.
For CentOS-5 that can be found here:
http://mirror.centos.org/centos/5/os/i386/repodata/comps.xml
That file has all the groups and files that are part of CentOS (for all current arches).
Thanks, Johnny Hughes
Not sure if I understand want you mean, but...
You can do a nobase install, list all installed packages (rpm -qa), and save this to a file. Then install the base, en list all installed packages again. Export again to a file en diff those two files...
Hope this helps.
Cheers,
Bart
Johnny Hughes wrote:
Johnn Tan wrote:
Is there a way to list the packages that are in a "base" install, but that are not in a "nobase" (core) install?
I did a nobase install, then ran "yum groupinstall Base", but this just lists everything in base, including the core packages.
Mainly, I'm just looking to audit the packages, and add only necessary ones back to a nobase install.
So far, I've come up with sendmail, man, logwatch, logrotate, vixie-cron.
johnn
The yum group functions do not work well with hidden package groups.
Probably the easiest way to do what you want is to look at the comps.xml file directly.
For CentOS-5 that can be found here:
http://mirror.centos.org/centos/5/os/i386/repodata/comps.xml
That file has all the groups and files that are part of CentOS (for all current arches).
Thanks, Johnny Hughes
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Centos wrote:
Not sure if I understand want you mean, but...
You can do a nobase install, list all installed packages (rpm -qa), and save this to a file. Then install the base, en list all installed packages again. Export again to a file en diff those two files...
Ah, I should've thought of this, but was not thinking outside the box. But Johnny's link to the comps.xml has exactly what I want, so that saves me a step.
Thanks for the suggestion nonetheless, Bart.
johnn