[opensuse] 10.3 source repository
I'm not having much luck with my 10.3 machine. I ignored my tomcat update issue, since I don't use it and nobody replied to my mail. So far the sky hasn't fallen. Now I'm back in the land of the source repository! The application I'm trying to build wants header files for antlr. I have antlr installed from the standard repository and I then added the source repository using the community repositories page in yast. Then I remembered that yast software management is broken wrt to sources in this release. So, I found a page with advice and executed the following commands: # rpm -qi antlr-2.7.6-114 ... Source RPM: antlr-2.7.6-114.src.rpm ... # zypper source-install antlr-2.7.6-114.src.rpm * Reading repository 'Suse non-OSS' cache * Reading repository 'Main Repository (OSS)' cache * Reading repository 'Packman Repository' cache * Reading repository 'Main Repository (Sources)' cache * Reading repository 'openSUSE-10.3-Updates' cache Source package 'antlr-2.7.6-114.src.rpm' not found. 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? Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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 looked in http://download.opensuse.org/distribution/10.3/repo/src-oss/suse/repodata/pr... 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. Any ideas on what's happening? Thanks, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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/pr... 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)---
participants (2)
-
Dave Howorth
-
Jano Kupec