On 04/23/2011 07:10 PM, Robert G. (Doc) Savage wrote:
I'm very close to the point where I move up from RHEL5 to RHEL6. I the
five+ months since RHEL6 was released, EPEL6 and Scientific Linux 6 have
both been released. These will give me access to most of the rpm
packages I use that are not available in RHEL6 server.
Because one does not upgrade between major RHEL versions, I cannot just
let the system automatically upgrade what's already installed. To guide
me, I'd like to generate a list of all 2,759 installed packages sorted
by their source repo. But when I run "yum list installed" it doesn't
tell me the repo each package came from.
Is there such an option, even undocumented?
--Doc
Of course, after I ask google, I find an easier solution:
yum -q --disablerepo=\* --enablerepo=rhel-x86_64-server
--enablerepo=epel\* list extras >SL-rpm-list
yum -q --disablerepo=\* --enablerepo=rhel-x86_64-server
--enablerepo=<whatever the name is for the SLrepo>\* list extras
>EPEL-rpm-list
If you have any manually installed packages, they will show up in both
lists.
Hugh
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list