Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there any way to get information about an available package update via zypper?

I can get info about a patch with:

zypper info -t patch pachNameHere

and I can obtain the patch name via:

zypper list-patches

I want to do something similar with zypper list-updates to get info about those updates like release notes, bugfixes, etc in order to know how important they are.

I am also using the zypper nagios plugin (nagios-plugins-zypper)

Any suggestion?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The best way I found is to use PackageKit CLI (pkcon). It's very usefull since it is used by other distros and can be a standarized way to query about software updates.

e.g.:

Get a list about all updates

pkcon get-updates

Then you can query updates about a specific package:

pkcon get-update-detail foo

e.g.:

pkcon get-update-detail udev 

I am not using zypper but is been launched from command line so I can script it. Also, there is a nagios plugin using PackageKit

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.