On Sat, Jun 4, 2011 at 08:29, Robert G. (Doc) Savage
<[email protected]> wrote:
> I run RHEL5.6 on my central server and Fedora 14/15 on all my desktops
> and laptops. I'm about to move up to RHEL6.1 on that server. Since we're
> not supposed to upgrade from one major to another, I'm looking for an
> effective and efficient way to migrate to RHEL6.1 with the same extras I
> have with RHEL5.6.
>
> With Fedora I can run 'yum list installed' and see which repos
> everything came from. The same command in RHEL5 simply shows
> "installed". Repo source info would be helpful on a system with perhaps
> 10% of its packages from non-RHN repos such as CentOS, EPEL, RPMFusion,
> ElRepo, Adobe, and others.
>
> Is source repo info stored RHEL5 rpm/yum databases the way it is in
> Fedora?
off the top of my head you can do this:
yum repolist | 'awk '{print $1}' > repolist
# remove the extraneous lines manually
for repo in `cat repolist`
do
yum list installed --disablerepo=* --enablerepo=${repo} > rpms.${repo}
done
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list