LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   List of installed patches? (https://www.linuxquestions.org/questions/suse-opensuse-60/list-of-installed-patches-4175573237/)

trey5498 02-25-2016 02:54 PM

List of installed patches?
 
What is the command to list the patches that are already installed?

ardvark71 02-25-2016 03:55 PM

Quote:

Originally Posted by trey5498 (Post 5506140)
What is the command to list the patches that are already installed?

Hi...

Welcome to the forum :)

First, please read the information here. The more details we have, the better we can help you. ;)

What version of SUSE or OpenSUSE are you using and for what programs(s)are you needing (installed) patch information on?

Regards...

trey5498 02-25-2016 05:47 PM

Quote:

Originally Posted by ardvark71 (Post 5506168)
Hi...

Welcome to the forum :)

First, please read the information here. The more details we have, the better we can help you. ;)

What version of SUSE or OpenSUSE are you using and for what programs(s)are you needing (installed) patch information on?

Regards...


Sorry for the delay. The version of SuSE we am using 11.3 and we update our servers using the Yast GUI. Our operation is predominately Windows (about 4 to 6 Linux servers and approx 250 windows server) so we don't have a Linux guru in the office, unfortunately.

I did not know that SuSE varied that much from version to version, so I assumed that it was core commands we the same. Since we used the GUI to apply the updates and we have an alert after the updates were installed, we were looking for a command line that we could use "|grep <name of update>" to view if it was already installed.

Any ideas?

ardvark71 02-25-2016 07:42 PM

Quote:

Originally Posted by trey5498 (Post 5506217)
Any ideas?

Hi...

I'm not sure if it will help but take a look at the section "Updating Software with Zypper" here. :)

Someone else on the forum might have a better answer but if not, you can try asking at the SUSE forum here, or the OpenSUSE forum here.

Regards...

John VV 02-26-2016 12:03 AM

this IS SUSE Enterprise Linux Server 11 service pack 3
SELS 11sp3

and NOT "OpenSUSE 11.3 " end of life back in Jan of 2012

one you have to have a support contract for and the other is long past it's End Of Life

opensuse 11.3
opensuse 11.4
opensuse 12.1
opensuse 12.2
opensuse 12.3
opensuse 13.1

are all unsupported
https://en.opensuse.org/Lifetime

as for patches
did you install any ?
and rebuild the rpm's ?

there are drpm's but they are not the default

if you need to know the last updates installed
look in the zypper install log in
/var/log

please read the zypper manual page
Code:

su -
man zypper


cliffordw 02-26-2016 01:56 AM

Hi,

Quote:

Originally Posted by trey5498 (Post 5506217)
Since we used the GUI to apply the updates and we have an alert after the updates were installed, we were looking for a command line that we could use "|grep <name of update>" to view if it was already installed.

Do you recall what the alert said? Was it an error, or just a notification, for example saying that a reboot is required? Alternately do you know which patches these were?

Generally if an update failed, it should still be on the list of available updates, so running the update again should answer your question.

You might also find more info in the logs - look at /var/log/zypp/history and /var/log/zypper.log.

Regards,

Clifford

trey5498 02-26-2016 02:23 PM

Quote:

Originally Posted by cliffordw (Post 5506378)
Hi,



Do you recall what the alert said? Was it an error, or just a notification, for example saying that a reboot is required? Alternately do you know which patches these were?

Generally if an update failed, it should still be on the list of available updates, so running the update again should answer your question.

You might also find more info in the logs - look at /var/log/zypp/history and /var/log/zypper.log.

Regards,

Clifford


this did help to list what was needed, but I think I found the command. It ended up being
Code:

rpm -an|grep <patch name>
. However the history will help to allow me to see a failure if it happens.

ardvark71 02-26-2016 02:29 PM

Quote:

Originally Posted by trey5498 (Post 5506727)
this did help to list what was needed, but I think I found the command. It ended up being
Code:

rpm -an|grep <patch name>
. However the history will help to allow me to see a failure if it happens.

Hi...

If you consider this issue resolved, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks! :)

Regards...


All times are GMT -5. The time now is 03:43 PM.