[Yum-devel] src.rpm strangeness

Panu Matilainen pmatilai at welho.com
Wed Mar 9 15:25:29 UTC 2005


On Wed, 9 Mar 2005, seth vidal wrote:

> On Wed, 2005-03-09 at 17:12 +0200, Panu Matilainen wrote:
>> Something funny going on here... somehow information about src.rpm's seems
>> to be available from 'base' repository only:
>>
>> [pmatilai at chip repoquery]$ ./repoquery.py --qf "%{repoid}" -a|sort -u
>> base
>> extras
>> updates-released
>> updates-testing
>> [pmatilai at chip repoquery]$ ./repoquery.py --qf "%{repoid}" -a --source
>> |sort -u
>> base
>>
>> ...leading to incorrectness when looking up src.rpm info:
>>
>> [pmatilai at chip repoquery]$ ./repoquery.py --qf "%{repoid}
>> %{name}-%{version}-%{release}" yum
>> updates-testing yum-2.2.0-0.fc3
>> [pmatilai at chip repoquery]$ ./repoquery.py --qf "%{repoid}
>> %{name}-%{version}-%{release}" --source yum
>> base yum-2.1.11-3
>>
>> The only thing that the --source flag does is call
>> doSackSetup(arclist=["src"]) instead of letting archlist do be
>> automatically decided. Any ideas - am I just overlooking something obvious
>> or ..?
>>
>
> Do your other repos have source rpms in them?

Aaaaargh... Too obvious, obviously.

It's a problem in the way Fedora's update-repositories are created, the 
SRPMS directory isn't included at all there - check the repodata from your 
favorite Fedora mirror, this is the one I use: 
http://ftp.heanet.ie/pub/fedora/linux/core/updates/3/i386/repodata/

Need to bug RH about this then, sorry about the noise :)

 	- Panu -



More information about the Yum-devel mailing list