On Wed, Apr 23, 2014 at 10:14 AM, Marcus Meissner <meissner@suse.de> wrote:
On Wed, Apr 23, 2014 at 10:12:58AM +0400, Andrey Borzenkov wrote:
On Wed, Apr 23, 2014 at 10:09 AM, Marcus Meissner <meissner@suse.de> wrote:
On Wed, Apr 23, 2014 at 10:07:47AM +0400, Andrey Borzenkov wrote:
On Wed, Apr 23, 2014 at 10:02 AM, Marcus Meissner <meissner@suse.de> wrote:
>> Hi >> With the pch option >> >> zypper pch |grep "Installed" >> > >Or to avoid grep > >zypper se -t patch -i -s > Hi Yes that works for the moment as well, but doesn't on SLE (cross distro scripts), plus the pch switch offers more information
also works: zypper lp --all
It does not show installed patches unless I miss something obvious. At least not on SLES11 SP3 (this is what I have access to right now).
It seems to work for me on a SLES 11 SP3 machine.
e.g. it lists the MozillaFirefox patch as "not needed" and the newest Firefox 24.4.0esr is installed.
Well, it is not quite exactly the same. Patch may be unneeded because it is either already installed or because package it patches is not present. So it does not directly answer original question (how to list installed patches).
Well, patches are not actually installed, as they only include
package >= version-release
relations that must be met by the system.
That's fine as long as "Installed" in zypper output means "installed package version is >= than required by patch".
I think your intented behaviour currently needs some manual scripting.
This thread gives two zypper invocations that directly answer it :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org