Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Jan Kupec
Patrick Shanahan wrote:
> * Aniruddha <[EMAIL PROTECTED]> [10-26-07 12:25]:
>> I wonder how do search and install rpm's from the commandline? I know I
>> can run yast in curses mode but I am looking for something more basic.
> 
> smart
> apt/apt-get

And our brand new zypper :O) see http://en.opensuse.org/Zypper
It has its flaws (e.g. search is a bit broken now), but gets better and
better :O)

Jano

> to search only:
>   pin
>   webpin
>   
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha
On Fri, 2007-10-26 at 18:46 +0200, Jan Kupec wrote:
> Aniruddha wrote:
> > I wonder how do search and install rpm's from the commandline? I know I
> > can run yast in curses mode but I am looking for something more basic.
> > 
> > In other words what is the openSUSE equivalent for:
> > 
> > Debian
> > aptitude search $ (search in package names) 
> zypper search $
> 
> > apt-cache search $ (search package descriptions)
> zypper search -d $
> (this is currently (in 10.3) broken :O()
> 
> > aptitude install $ (install package)
> zypper install $
> 
> see http://en.opensuse.org/Zypper and man zypper for more
> 
> Jano

zypper is really impressive! Does this belong to the core of openSUSE?
For example when during install I don't select any package for install
(including X11, yast2  KDE etc.), can I still rely on zypper?\




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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

* Aniruddha <[EMAIL PROTECTED]> [10-26-07 12:25]:
> I wonder how do search and install rpm's from the commandline? I know I
> can run yast in curses mode but I am looking for something more basic.

smart
apt/apt-get
 
to search only:
  pin
  webpin
  
- -- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn4472 (GNU/Linux)

iD8DBQFHIhXGClSjbQz1U5oRAjiJAJ9ZiPDmC5/xuKaHsrHs90Bm0Hm3QQCeOemH
Zm7xw/+t/DCzxSWP1WqtojM=
=3yYR
-END PGP SIGNATURE-
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha
On Fri, 2007-10-26 at 18:46 +0200, Jan Kupec wrote:
> Aniruddha wrote:
> > I wonder how do search and install rpm's from the commandline? I know I
> > can run yast in curses mode but I am looking for something more basic.
> > 
> > In other words what is the openSUSE equivalent for:
> > 
> > Debian
> > aptitude search $ (search in package names) 
> zypper search $
> 
> > apt-cache search $ (search package descriptions)
> zypper search -d $
> (this is currently (in 10.3) broken :O()
> 
> > aptitude install $ (install package)
> zypper install $
> 
> see http://en.opensuse.org/Zypper and man zypper for more
> 
> Jano

How do I update my system using zypper? '# zypper update' yields
'Nothing to do.' while according to the 'openSUSE updater applet' I have
over 130 upgradable packages.
-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Bryen

On Fri, 2007-10-26 at 18:22 +0200, Aniruddha wrote:
> I wonder how do search and install rpm's from the commandline? I know I
> can run yast in curses mode but I am looking for something more basic.
> 
> In other words what is the openSUSE equivalent for:
> 
> Debian
> aptitude search $ (search in package names) 
> apt-cache search $ (search package descriptions)
> aptitude install $ (install package)
> 
> Gentoo
> emerge -s $ (search in package names) 
> emerge -S $ (search package descriptions)
> emerge $  (install package)
> 
> -- 
> Regards,
> 
> Aniruddha
> 
I'm not sure what you mean by 'search' as it could mean many things.
Could you explain more indepth on that one?

As for installing an rpm package, simply type 'rpm -i (filename.rpm)'

Conversely, to uninstall, you would type 'rpm -e (packagename)' -- not
the installed file name.

> 
-- 
---Bryen---

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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Jan Kupec
Aniruddha wrote:
> I wonder how do search and install rpm's from the commandline? I know I
> can run yast in curses mode but I am looking for something more basic.
> 
> In other words what is the openSUSE equivalent for:
> 
> Debian
> aptitude search $ (search in package names) 
zypper search $

> apt-cache search $ (search package descriptions)
zypper search -d $
(this is currently (in 10.3) broken :O()

> aptitude install $ (install package)
zypper install $

see http://en.opensuse.org/Zypper and man zypper for more

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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha
On Fri, 2007-10-26 at 18:46 +0200, Jan Kupec wrote:

> see http://en.opensuse.org/Zypper and man zypper for more
> 
> Jano
>
>How do I update my system using zypper? '# zypper update' yields
>'Nothing to do.' while according to the 'openSUSE updater applet' I have
>over 130 upgradable packages.
>-- 
>Regards,
>
>Aniruddha

Ok learned that '# zypper update -t package' upgrades the entire system :). 
Unfortunately I immediately run into trouble, anyone know how I should fix this?

2 Problems:
Problem: No valid solution found with just resolvables of best architecture.
Problem: Cannot install wesnoth-data-base, because it is conflicting with 
wesnoth-data

Problem: No valid solution found with just resolvables of best architecture.
  With this run only resolvables with the best architecture have been regarded.
Regarding all possible resolvables takes time, but can come to a valid result.
 Solution 1: Make a solver run with ALL possibilities.
  Regarding all resolvables with a compatible architecture.
number, (r)etry or (c)ancel>  

 
-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Erik Jakobsen
Aniruddha wrote:
>
>
> How do I update my system using zypper? '# zypper update' yields
> 'Nothing to do.' while according to the 'openSUSE updater applet' I have
> over 130 upgradable packages.
>   
zypper update package

as told 1 times!
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Benji Weber
On 26/10/2007, Aniruddha <[EMAIL PROTECTED]> wrote:
> zypper is really impressive! Does this belong to the core of openSUSE?
> For example when during install I don't select any package for install
> (including X11, yast2  KDE etc.), can I still rely on zypper?\

Zypper is in the base install, even if yast's software management is
not installed zypper will be (in 10.3)

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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Gabriel .
2007/10/26, Aniruddha <[EMAIL PROTECTED]>:
> How do I update my system using zypper? '# zypper update' yields
> 'Nothing to do.' while according to the 'openSUSE updater applet' I have
> over 130 upgradable packages.
> --

Whats the output of #zypper lu
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha
On Fri, 2007-10-26 at 18:33 +0100, Benji Weber wrote:
> On 26/10/2007, Aniruddha <[EMAIL PROTECTED]> wrote:
> > zypper is really impressive! Does this belong to the core of openSUSE?
> > For example when during install I don't select any package for install
> > (including X11, yast2  KDE etc.), can I still rely on zypper?\
> 
> Zypper is in the base install, even if yast's software management is
> not installed zypper will be (in 10.3)
> 
> --
> Benjamin Weber
> 

That is good news :)
-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha

On Fri, 2007-10-26 at 11:40 -0500, Bryen wrote:
> I'm not sure what you mean by 'search' as it could mean many things.
> Could you explain more indepth on that one?
> 
> As for installing an rpm package, simply type 'rpm -i (filename.rpm)'
> 
> Conversely, to uninstall, you would type 'rpm -e (packagename)' -- not
> the installed file name.
> 
> > 
> -- 
> ---Bryen---
> 

I think you are far to used to openSUSE :p. I mean searching and
installing from online repositories. With rpm -i you can only install
local rpm's ;)
-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha
On Fri, 2007-10-26 at 19:33 +0200, Erik Jakobsen wrote:
> Aniruddha wrote:
> >
> >
> > How do I update my system using zypper? '# zypper update' yields
> > 'Nothing to do.' while according to the 'openSUSE updater applet' I have
> > over 130 upgradable packages.
> >   
> zypper update package
> 
> as told 1 times!

No way, than you have been sharing the wrong command for 1 times.
It's # zypper update -t package  ;)

   
-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Ben Kevan
On Friday 26 October 2007 10:33:39 am Aniruddha wrote:
> On Fri, 2007-10-26 at 18:46 +0200, Jan Kupec wrote:
> > see http://en.opensuse.org/Zypper and man zypper for more
> >
> > Jano
> >
> >How do I update my system using zypper? '# zypper update' yields
> >'Nothing to do.' while according to the 'openSUSE updater applet' I have
> >over 130 upgradable packages.
> >--
> >Regards,
> >
> >Aniruddha
>
> Ok learned that '# zypper update -t package' upgrades the entire system :).
> Unfortunately I immediately run into trouble, anyone know how I should fix
> this?
>
> 2 Problems:
> Problem: No valid solution found with just resolvables of best
> architecture. Problem: Cannot install wesnoth-data-base, because it is
> conflicting with wesnoth-data
>
> Problem: No valid solution found with just resolvables of best
> architecture. With this run only resolvables with the best architecture
> have been regarded. Regarding all possible resolvables takes time, but can
> come to a valid result. Solution 1: Make a solver run with ALL
> possibilities.
>   Regarding all resolvables with a compatible architecture.
> number, (r)etry or (c)ancel>
>
>
> --
> Regards,
>
> Aniruddha
>
> Please adhere to the OpenSUSE_mailing_list_netiquette
> http://en.opensuse.org/OpenSUSE_mailing_list_netiquette

Also, 

Just to lock it down to a certain repo you can do: 

zypper update -t package -r "Repo Name" 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Aniruddha

On Fri, 2007-10-26 at 11:17 -0700, Ben Kevan wrote:
> Also, 
> 
> Just to lock it down to a certain repo you can do: 
> 
> zypper update -t package -r "Repo Name" 

I am fiddling with the 'zypper update -t package -r "Repo Name"' I
really wonder if there isn't there a simpler way to:

'Make a solver run with ALL possibilities. Regarding all resolvables
with a compatible architecture.'

-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread David Bolt
On Fri, 26 Oct 2007, Aniruddha wrote:-

>I think you are far to used to openSUSE :p. I mean searching and
>installing from online repositories. With rpm -i you can only install
>local rpm's ;)

FSVO local including packages hosted on web and/or FTP servers. You can
install packages using RPM by passing a URL(s). RPM will then download
the package(s), sort out the correct order of installation, and install
them.


Regards,
David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
 | SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit
SUSE 10.0 64bit  | SUSE 10.1 64bit  | openSUSE 10.2 64bit |
RISC OS 3.11 | RISC OS 3.6  | TOS 4.02| openSUSE 10.3 PPC
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-26 Thread Sebastian Brandt
Ben Kevan schrieb:
> Also, 
> 
> Just to lock it down to a certain repo you can do: 
> 
> zypper update -t package -r "Repo Name" 
Hi!
Is it only on my system, or is it necessary to identify the repository
by URL, and not by name?

Oh, I just see, the zypper "Alias" is *not* the yast2 package name ...
The alias is initially the URL, unless explicitly specified ...

zypper renamerepo http://ftp.skynet.be/pub/packman/suse/10.3/ Packman
-> renames "Packman Repository" into alias Packman.

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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-27 Thread Aniruddha
On Fri, 2007-10-26 at 23:09 +0200, Sebastian Brandt wrote:
> Ben Kevan schrieb:
> > Also, 
> > 
> > Just to lock it down to a certain repo you can do: 
> > 
> > zypper update -t package -r "Repo Name" 
> Hi!
> Is it only on my system, or is it necessary to identify the repository
> by URL, and not by name?
> 
> Oh, I just see, the zypper "Alias" is *not* the yast2 package name ...
> The alias is initially the URL, unless explicitly specified ...
> 
> zypper renamerepo http://ftp.skynet.be/pub/packman/suse/10.3/ Packman
> -> renames "Packman Repository" into alias Packman.
> 
> Sebastian

Thanks for clarifying that. That's why I was having troubles... ;)

-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-27 Thread Aniruddha

On Fri, 2007-10-26 at 20:37 +0100, David Bolt wrote:
> On Fri, 26 Oct 2007, Aniruddha wrote:-
> 
> >I think you are far to used to openSUSE :p. I mean searching and
> >installing from online repositories. With rpm -i you can only install
> >local rpm's ;)
> 
> FSVO local including packages hosted on web and/or FTP servers. You can
> install packages using RPM by passing a URL(s). RPM will then download
> the package(s), sort out the correct order of installation, and install
> them.
> 
> 
> Regards,
> David Bolt
> 

you mean something like:

>rpm -i
>http://download.opensuse.org/repositories/openSUSE:10.3/standard/
>kdebase

This is hardly a working solution when compared to:

# zypper in $
# smart install $

Can the rpm system offer something better (similar to above samples)? It
would be great if you can define repositories for usage with rpm. 

-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-27 Thread Benji Weber
On 27/10/2007, Aniruddha <[EMAIL PROTECTED]> wrote:
> Can the rpm system offer something better (similar to above samples)? It
> would be great if you can define repositories for usage with rpm.

RPM is a lower level tool than that, it is more equivalent to dpkg in
the debian world. Tools like zypper add the real package management
with repositories etc on top of rpm.

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



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-27 Thread David Bolt
On Sat, 27 Oct 2007, Aniruddha wrote:-

>
>On Fri, 2007-10-26 at 20:37 +0100, David Bolt wrote:

>> FSVO local including packages hosted on web and/or FTP servers. You can
>> install packages using RPM by passing a URL(s). RPM will then download
>> the package(s), sort out the correct order of installation, and install
>> them.

>you mean something like:
>
>>rpm -i
>>http://download.opensuse.org/repositories/openSUSE:10.3/standard/
>>kdebase

Almost. You need to specify the actual package name.
>
>This is hardly a working solution when compared to:
>
># zypper in $
># smart install $

It wasn't intended as a solution to the above. You posted that RPM needs
the packages to be local. I posted to correct that and to allow you, and
others that may not know about the ability to actually download
packages, to learn something new about RPM.

Heck, for a few years, and despite reading the RPM man pages several
times, I still managed to miss this snippet from the RPM man page:


rpm {-F|--freshen} [install-options] PACKAGE_FILE ...


This will upgrade packages, but only if an earlier version currently exists. The
PACKAGE_FILE  may  be specified as an ftp or http URL, in which case the package
will be downloaded before being installed. See FTP/HTTP OPTIONS for  information
on rpm's internal ftp and http client support.


and that was despite the "FTP/HTTP OPTIONS" being in nice bold letters.


Regards,
David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
 | SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit
SUSE 10.0 64bit  | SUSE 10.1 64bit  | openSUSE 10.2 64bit |
RISC OS 3.11 | RISC OS 3.6  | TOS 4.02| openSUSE 10.3 PPC
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How do search and install rpm's from the commandline?

2007-10-27 Thread Aniruddha
n Sat, 2007-10-27 at 12:37 +0100, David Bolt wrote:
> >you mean something like:
> >
> >>rpm -i
> >>http://download.opensuse.org/repositories/openSUSE:10.3/standard/
> >>kdebase
> 
> Almost. You need to specify the actual package name.
> >

That's what meant with kdebase ;)

> >This is hardly a working solution when compared to:
> >
> ># zypper in $
> ># smart install $
> 
> It wasn't intended as a solution to the above. You posted that RPM needs
> the packages to be local. I posted to correct that and to allow you, and
> others that may not know about the ability to actually download
> packages, to learn something new about RPM.
> 
> Heck, for a few years, and despite reading the RPM man pages several
> times, I still managed to miss this snippet from the RPM man page:
> 
> 
> rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
> 
> 
> This will upgrade packages, but only if an earlier version currently exists. 
> The
> PACKAGE_FILE  may  be specified as an ftp or http URL, in which case the 
> package
> will be downloaded before being installed. See FTP/HTTP OPTIONS for  
> information
> on rpm's internal ftp and http client support.
> 
> 
> and that was despite the "FTP/HTTP OPTIONS" being in nice bold letters.
> 
> 
> Regards,
> David Bolt

I definitely learned something new. Thank you for correcting me :)

-- 
Regards,

Aniruddha

Please adhere to the OpenSUSE_mailing_list_netiquette
http://en.opensuse.org/OpenSUSE_mailing_list_netiquette


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