Re: Yum and RHEL5

"Fajar A. Nugraha" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
seth vidal wrote:
> On Tue, 2007-03-20 at 08:50 +0700, Fajar A. Nugraha wrote:
>> yum list available --installroot=/tmp/rhel5-local-yum --disablerepo=*
>> --enablerepo=rhel-i386-server-5
>>
> 
> yes, but that's kinda the wrong fix. That's just helping him screen

Yes, you are correct. But since the original question was "list all
packages in a repository, installed from this repository too" the above
would do the trick.

> scrape to get the info out. Reposync should be able to do this and if it
> isn't then it's a bug we need to fix.
> 

Of course, reposync is is a MUCH better solution. Thanks for pointing
this out (I didn't know about reposync before this).

Currently I use rsync+createrepo to sync my local repository. The
obvious limitation is of course it only works on rsync-enable repositories.

I think reposync should be faster since it (should be) checking repodata
instead of checking files on the remote server one by one. Will try it soon.

Regards,

Fajar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.