Sebastian Brandt wrote:
> Hi!
> I'm feeling kind of stupid ... have done more than a decade of linux,
> started with kernel 1.2.8, and I'm unable to install the source packages
> with yast2 (spm, src.rpm)
> Of course, I can download them, install them with rpm, build and install
> the binaries ... no problem ... but:
> Why the heck is there neither a possibility for me to check "sources" in
> the yast2 packages table, nor is the menu item "Package->Install
> sources" clickable, just grey?
> 
> It doesn't matter which package repository I try, opensuse-ftp, packman,
> opensuse-update, etc. Added the src-repository, as well.
> ftp://sunsite.rwth-aachen.de/pub/linux/opensuse/distribution/10.3/repo/src-oss/suse/
> 
> Opensuse 10.3, updated from 10.2, yet I the problem was there already.
> 
> Hope someone can help me ...
> Sebastian

I don't know about YaST, but zypper has a basic support for this:

$ zypper source-install foo

Currently it will install the newest available version of the 'foo'
source package.

Of course you need to have repositories providing source packages
defined (doesn't matter if you add them through YaST or zypper).

JFYI searching for source packages in zypper is currently not possible,
you just have to try it. If it succeeds it will tell you so, if not
you'll get something like:
Can't provide file ./src/foo-0.9.0-7.src.rpm from repository 'bar'.

We will work on improving it, help is welcome of course :O)

hth

Jano
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to