Author: jkupec
Date: Sat Apr 12 19:50:41 2008
New Revision: 9570
URL: http://svn.opensuse.org/viewcvs/zypp?rev=9570&view=rev
Log:
man & changes
Modified:
trunk/zypper/doc/zypper.8
trunk/zypper/package/zypper.changes
Modified: trunk/zypper/doc/zypper.8
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/doc/zypper.8?rev=9570&r1=9569&r2=9570&view=diff
==============================================================================
--- trunk/zypper/doc/zypper.8 (original)
+++ trunk/zypper/doc/zypper.8 Sat Apr 12 19:50:41 2008
@@ -55,12 +55,10 @@
the info command are: package, patch, pattern, product.
.TP
-.B install (in) [options] ...
-.TP
-.B install (in) [options] --capability ...
-Install or update packages or other resolvables.
+.B install (in) [options] ...
+Install or update packages.
-The resolvables can be selected by their name or by a capability they provide.
+The packages can be selected by their name or by a capability they provide.
Capability is: NAME, or "NAME[OP<EDITION>]", where OP is <, <=, =, >=, or > and
EDITION is VERSION[-RELEASE], for example: zypper=0.8.8-2.
@@ -70,9 +68,9 @@
Just remember to quote to protect the special characters from the shell,
for example: zypper\\>0.8.10 or 'zypper>0.8.10'
-If EDITION is not specified, the newest available version will be installed.
+If EDITION is not specified, the newest installable version will be installed.
This also means that if the package is already installed and newer versions
-are available, it will get upgraded to the newest one.
+are available, it will get upgraded to the newest installable version.
Zypper is also able to install plain RPM files while trying to satisfy their
dependencies using packages from defined repositories. You can install a plain
@@ -83,7 +81,21 @@
Zypper will download the files into its cache directory (/var/cache/zypper/RPMS),
add this directory as a temporary \fBplaindir\fR repository and mark the
-respective resolvables for installation.
+respective packages for installation.
+
+In the install command, you can specify also packages you wish to remove in
+addition to the packages you wish to install, by prepending their names by
+a '-' or '~' character. For example:
+
+.B $ zypper install vim -emacs
+.br
+.B $ zypper remove emacs +vim
+
+will both install vim and remove emacs. Note that if you choose to use '-' with the
+first package you specify, you need to write '--' before it to prevent it's
+interpretation as a command option.
+
+.B $ zypper install -- -boring-game great-game great-game-manual
.TP
\fI\-r, \-\-repo\fR
Modified: trunk/zypper/package/zypper.changes
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/package/zypper.changes?rev=9570&r1=9569&r2=9570&view=diff
==============================================================================
--- trunk/zypper/package/zypper.changes (original)
+++ trunk/zypper/package/zypper.changes Sat Apr 12 19:50:41 2008
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Sat Apr 12 19:20:45 CEST 2008 - jkupec@suse.cz
+
+- allow to install and remove package in one command by prepending
+ package name by + or ~ modifiers (for install) and - or ! (for
+ uninstall). fate #302148, bnc #230342
+- allow install foo without having to use --capability
+ (fate #302919)
+- r9569
+
+-------------------------------------------------------------------
Tue Apr 8 13:20:47 CEST 2008 - jreidinger@suse.cz
- give better hint if zypper cannot download file from out of date
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org