[softwaremgmt] ymp files on the command line?
Hi there, anyone knowing of a way to use ymp-files on the commandline? Couldn't find something on the net... As I have a bunch of clients here, it would be great if I could use one-click-install via script. Cheerz, Lars -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
On 18/03/2008, Lars Behrens <lars.behrens@pi.uka.de> wrote:
Hi there,
anyone knowing of a way to use ymp-files on the commandline? Couldn't find something on the net...
As I have a bunch of clients here, it would be great if I could use one-click-install via script.
http://blogs.warwick.ac.uk/bweber/entry/installing_using_one/ Alternatively just script it using zypper ar/in -- Benjamin Weber -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Am Dienstag, 18. März 2008 schrieb Benji Weber:
http://blogs.warwick.ac.uk/bweber/entry/installing_using_one/
Thx.
Alternatively just script it using zypper ar/in
I had tried that before, doesn't work. Zypper doesn't extract the information f the ymp-file correctly. 'zypper ar -t rpm-md -r http://foo/bar.ymp TESTREPO' results in an error message that zypper can't find an invalid repository at http://foo/bar.ymp (sorry in German here, more verbose if you like). Leaving the '-r' out doesn't help either. Am I doing something wrong? Cheerz, Lars -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
On 18/03/2008, Lars Behrens <lars.behrens@pi.uka.de> wrote:
'zypper ar -t rpm-md -r http://foo/bar.ymp TESTREPO'
results in an error message that zypper can't find an invalid repository at http://foo/bar.ymp (sorry in German here, more verbose if you like).
Leaving the '-r' out doesn't help either.
Am I doing something wrong?
No, you can't use YMPs with zypper. -- Benjamin Weber -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Am Dienstag, 18. März 2008 schrieb Benji Weber:
No, you can't use YMPs with zypper.
So, what did you mean by 'Alternatively just script it using zypper ar/in'? Cheerz, Lars -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
* Benji Weber <benji@opensuse.org> [Mar 18. 2008 15:10]:
No, you can't use YMPs with zypper.
Seems worth an enhancement bug report to me ;-) Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Am Dienstag, 18. März 2008 schrieb Klaus Kaempf:
No, you can't use YMPs with zypper.
Seems worth an enhancement bug report to me ;-)
[x] done https://bugzilla.novell.com/show_bug.cgi?id=372079 Cheerz, Lars -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Benji Weber wrote:
On 18/03/2008, Lars Behrens <lars.behrens@pi.uka.de> wrote:
'zypper ar -t rpm-md -r http://foo/bar.ymp TESTREPO'
results in an error message that zypper can't find an invalid repository at http://foo/bar.ymp (sorry in German here, more verbose if you like).
Leaving the '-r' out doesn't help either.
Am I doing something wrong?
No, you can't use YMPs with zypper.
But wouldn't that be a nice feature? As a user, I would expect that 'zypper install something' will (try to) make sense out of 'something' and install whatever 'something' refers to :) zypper in pidgin zypper in pidgin-2.4.0-3.2.i586.rpm zypper in http://software.opensuse.org/ymp/GNOME%3ACommunity/openSUSE_10.3/pidgin.ymp zypper in http://downloads.sourceforge.net/pidgin/pidgin-2.4.0.tar.bz2 OK, the last one was a joke :) Michal -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
Benji Weber (benji@opensuse.org) wrote:
On 18/03/2008, Lars Behrens <lars.behrens@pi.uka.de> wrote:
Hi there,
anyone knowing of a way to use ymp-files on the commandline? Couldn't find something on the net...
As I have a bunch of clients here, it would be great if I could use one-click-install via script.
http://blogs.warwick.ac.uk/bweber/entry/installing_using_one/
Alternatively just script it using zypper ar/in
I'm coming into this conversation late, so forgive me if I'm going over old ground. But I thought of two extensions to this OCICLI functionality which might be really nice. Firstly, it would be cool to have an extra utility which would integrate OCICLI with the search step which is the inevitable precursor to OCICLI invocation. Here's a mockup (although it would probably make a lot more sense to provide an extra YaST module to achieve this, allowing both graphical and ncurses UIs): $ OCIgrab foo Searching for 'foo' in OpenSUSE 10.3 repos via http://software.opensuse.org/search/ ... Found several matches: 1. foo in http://download.opensuse.org/repositories/home:Marcus_H/openSUSE_10.3 2. foomatic-filters in http://download.opensuse.org/repositories/openSUSE:10.3/standard 3. FooBillard in http://download.opensuse.org/repositories/openSUSE:10.3/standard 4. FooBillard in http://download.opensuse.org/repositories/games:arcade/openSUSE_10.3 5. tuxpaint-stamps-food in http://download.opensuse.org/repositories/Education:desktop/openSUSE_10.3 Please select one of interest: 2 http://download.opensuse.org/repositories/openSUSE:10.3/standard is already installed; please try again. Please select one of interest: 4 Selected repository: games:arcade Summary: Arcade Games Description: Breakout and other Arcade games. URL: http://download.opensuse.org/repositories/games:/arcade/openSUSE_10.3/ Other recommended repositories: games:libs, openSUSE:10.3:NonFree, openSUSE:10.3 Package: FooBillard Summary: A Free OpenGL Billiard Game Description: FooBillard is an attempt to create a free OpenGL billiard game for Linux. Author: Florian Berger Install ymp via OCICLI or return to selection [y/n/r] ? and another, in which there is a single search result so the selection process: $ OCIgrab food Searching for 'food' in OpenSUSE 10.3 repos via http://software.opensuse.org/search/ ... Found a unique match! 5. tuxpaint-stamps-food in http://download.opensuse.org/repositories/Education:desktop/openSUSE_10.3 Selected repository: Education:desktop Summary: Desktop Applications for education users Description: This Project contains various Packages with Desktop Applications for educational use. URL: http://download.opensuse.org/repositories/Education:/desktop/openSUSE_10.3/ Other recommended repositories: <name>openSUSE:10.3</name> <name>openSUSE:10.3:Update</name> <name>devel:languages:pascal</name> <name>openSUSE:10.3:NonFree</name> Package: tuxpaint-stamps-food Summary: Food stamps collection for Tux Paint Description: tuxpaint-stamps-xxx package contains a set of 'Rubber Stamp' images which can be used with the "Stamp" tool within Tux Paint. Authors: Bill Kendrick, George Wong Install ymp via OCICLI [y/n] ? Secondly, the above OCIgrab could be integrated with the recent command-not-found hack from HackWeek: http://idea.opensuse.org/content/ideas/command-not-found-for-opensuse e.g. $ giver Program 'giver' is not installed, but it might be available via the openSUSE Build Service. Would you like to search for it [y/n] ? -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org
participants (5)
-
Adam Spiers
-
Benji Weber
-
Klaus Kaempf
-
Lars Behrens
-
Michal Marek