[opensuse] install source rpms via yast2
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. Mh, a bit of "getting a lucky shot", yet works at least for some
Jan Kupec schrieb: packages ... though, guessing that the source package for libopenssl0_9_8 and libopenssl-devel is called openssl, is not that easy ... Oh, just remembered ... rpm -qi libopenssl0_9_8|grep Source Group : Productivity/Networking/Security Source RPM: openssl-0.9.8e-45.5.src.rpm gives a hint ... Works, thanks. If zypper does the job, it's not a problem of the package repositories, nor the caches ... Maybe yast doesn't like me. I'll try reinstalling it, like I had to do with wxGTK to stop any app linked angainst it from crashing after the update ...
We will work on improving it, help is welcome of course :O)
First, I would work on the cache loading ... shouldn't load the cache for every single command in shell mode ... Thanks, Sebastian -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Jan Kupec
-
Sebastian Brandt