Am Samstag, den 04.06.2011, 08:29 -0500 schrieb Robert G. (Doc) Savage: 
> 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.
> 
Hi Robert,

I use "package-cleanup --orphans" from the package yum-utils.
Disable one repo and this command shows you the packages from this one.
For disabling a repo you have to set enabled=0
in /etc/yum.repos.d/*.repo, because there is no command line option.

package-cleanup: error: no such option: --disablerepo


usage: package-cleanup [options]
--orphans             List installed packages which are not 
                      available from currenly configured repositories.


Udo


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

Reply via email to