Mailinglist Archive: opensuse (1555 mails)

< Previous Next >
Re: [opensuse] 10.3 source repository
  • From: Jano Kupec <jkupec@xxxxxxx>
  • Date: Mon, 13 Jul 2009 13:05:30 +0200
  • Message-id: <4A5B14FA.9040408@xxxxxxx>
Dave Howorth wrote:
Dave Howorth wrote:
Now looking at
<http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/src/>
I see that it contains antlr-2.7.6-114.src.rpm but looking at yast's
list of repository details it says that the source repository is:
<http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/>

So is that wrong? Should there be a 'src' on the end of the repository
name? If so, why did the yast community repository page not know?

I tried adding the src/ sub-directory to the repository location but
yast didn't like that, so I guess the repository URL is correct. I

Yes, the URL is correct.
http://download.opensuse.org/distribution/10.3/repo/src-oss/ is OK, too,
it just uses different type of metadata (yast type, instead of rpmmd
type) this way.

looked in
<http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/repodata/primary.xml.gz>
and the antlr src rpm was listed there with what appeared to be the
correct location. So I deleted the zypp.db cache again and reran the
`zypper source-install antlr-2.7.6-114.src.rpm` command but I still see

Source package 'antlr-2.7.6-114.src.rpm' not found.

Zypper only installs binary rpms this way (zypper in foo.i586.rpm; maybe
zypper in foo.src.rpm will work, i'm not sure). The source-install
command does not expect rpm files as argument. Try 'zypper si antlr',
and 'zypper se -t srcpackage' to list available source packages.

HTH

--
cheers,
jano


Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---

< Previous Next >