Mailinglist Archive: opensuse-autoinstall (68 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] OpenSUSE 11.0: Truly non-interactive "zypper update"?
- From: Bernd Nies <listuser@xxxxxxxxxx>
- Date: Fri, 27 Mar 2009 10:20:36 +0100
- Message-id: <49CC9A64.1030103@xxxxxxxxxx>
Hi,
Hans-Joachim Ehlers wrote:
According to zypper manpage the 'update' command updates the current packages
with patches:
list-updates (lu) [options]
List available updates.
-t, --type <type>
Type of package (default: patch). See the beginning of this
subsection for the list of available package types.
-r, --repo <alias|#|URI>
List only updates from the repository specified by the alias,
number or URI. This option can be used multiple times.
See also the NOTE at update.
update (up) [options] [packagename] ...
Update installed packages with patches or newer version,
where applicable.
To update individual packages, specify one or more package
names. You can use the '*' and '?' wildcard characters in the
package names to specify multiple packages matching the pat‐
tern.
NOTE: Zypper prefers to update only those packages for which
a patch description exists, like on the SUSE update servers.
To operate on all packages for which there is a better ver‐
sion instead, select --type package which is also the default
in rug compatibility mode.
There is no such command like "zypper patch" only "zypper patches" which lists
installed and available patches.
Bye,
Bernd
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
Hans-Joachim Ehlers wrote:
Have you tried first to patch the system and then do any updates ? Its looks to
me that zypper behaves different on updates and patches.
Thus you check for updates but zypper shows patches. Maybe a bug ?
Thus first apply patches and then update
$ zypper patch ....
then
$ zyper update ....
According to zypper manpage the 'update' command updates the current packages
with patches:
list-updates (lu) [options]
List available updates.
-t, --type <type>
Type of package (default: patch). See the beginning of this
subsection for the list of available package types.
-r, --repo <alias|#|URI>
List only updates from the repository specified by the alias,
number or URI. This option can be used multiple times.
See also the NOTE at update.
update (up) [options] [packagename] ...
Update installed packages with patches or newer version,
where applicable.
To update individual packages, specify one or more package
names. You can use the '*' and '?' wildcard characters in the
package names to specify multiple packages matching the pat‐
tern.
NOTE: Zypper prefers to update only those packages for which
a patch description exists, like on the SUSE update servers.
To operate on all packages for which there is a better ver‐
sion instead, select --type package which is also the default
in rug compatibility mode.
There is no such command like "zypper patch" only "zypper patches" which lists
installed and available patches.
Bye,
Bernd
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |