zypper patch --bugzilla=
number
or
zypper patch --cve=
number
For example, to install a security patch with the CVE number CVE-2010-2713, execute:
zypper patch --cve=CVE-2010-2713
9.1.3.2 Installing Updates
If a repository contains only new packages, but does not provide patches,
zypper patch does not show any eect. To update all installed packages with newer
available versions, use:
zypper update
To update individual packages, specify the package with either the update or install
command:
zypper update
package_name
zypper install
package_name
A list of all new installable packages can be obtained with the command:
zypper list-updates
Note that this command only packages lists packages that match the following criteria:
• has the same vendor like the already installed package,
• is provided by repositories with at least the same priority than the already in-
stalled package,
• is installable (all dependencies are satised).
A list of all new available packages (regardless whether installable or not) can be
obtained with:
zypper list-updates --all
To nd out why a new package cannot be installed, just use the zypper install or
zypper update command as described above.
9.1.3.3 Upgrading to a New Product Version
To easily upgrade your installation to a new product version (for example, from
openSUSE 11.4 to openSUSE 12.1), rst adjust your repositories to match the current
openSUSE repositories. For details, refer to Section 9.1.4, “Managing Repositories
with Zypper” (page 117). Then use the zypper dist-upgrade command with the re-
quired repositories. This command ensures that all packages will be installed from
116 Start-Up