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

You can do a custom query format. rpm --querytags will give you a list of all the tags that you can query on.

I'd probably start with:

rpm -qa --qf '%{name} %{packager}\n'|sort -k2

%{buildhost} might work too.  "Fedora Project" is the packager for EPEL.

There's a likely a way to use the SIG* tags too. However, a number of packages have gone away or been replaced in the change from RHEL5 to 6.

Hugh

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to