Hi,
I'ld like to know where or how I can find changes in a package update. Also, is there a way to find out which package updates are security updates?
thanks
On Mon, Apr 11, 2011 at 19:54, Bernard Fay bernard.fay@enodegroup.com wrote:
Hi,
I'ld like to know where or how I can find changes in a package update.
http://linux.die.net/man/1/yum-changelog rpm -qa --changelog foo.bar.rpm
Cheers,
Great! Thanks a lot!
On Mon, Apr 11, 2011 at 3:01 PM, Christopher J. Buckley <chris@cjbuckley.net
wrote:
On Mon, Apr 11, 2011 at 19:54, Bernard Fay bernard.fay@enodegroup.com wrote:
Hi,
I'ld like to know where or how I can find changes in a package update.
http://linux.die.net/man/1/yum-changelog rpm -qa --changelog foo.bar.rpm
Cheers,
-- Kind Regards, Christopher J. Buckley _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Well, I would like to know what will be the changes before we apply the updates. I would like to generate a kind of a report showing what will be the changes for all packages with available updates.
Is there a way to do it?
Thanks Bernard
On Mon, Apr 11, 2011 at 3:01 PM, Christopher J. Buckley <chris@cjbuckley.net
wrote:
On Mon, Apr 11, 2011 at 19:54, Bernard Fay bernard.fay@enodegroup.com wrote:
Hi,
I'ld like to know where or how I can find changes in a package update.
http://linux.die.net/man/1/yum-changelog rpm -qa --changelog foo.bar.rpm
Cheers,
-- Kind Regards, Christopher J. Buckley _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 12 April 2011 13:06, Bernard Fay bernard.fay@enodegroup.com wrote:
Well, I would like to know what will be the changes before we apply the updates. I would like to generate a kind of a report showing what will be the changes for all packages with available updates.
Is there a way to do it?
Thanks Bernard
1) Please don't top post
2) Take a look at the yum changelog plugin. You could make use of yum list updates and then parse that and grab the changelogs via yum changelog and then mail that etc etc
On 04/12/2011 01:06 PM, Bernard Fay wrote:
Well, I would like to know what will be the changes before we apply the updates. I would like to generate a kind of a report showing what will be the changes for all packages with available updates.
Is there a way to do it?
The way to do that would be to use the yum-security plugin, however we dont publish information needed to make it work ( mostly due to legal reasons on where that data comes from, how its parsed and pushed out ).
There are 2 things that are being worked on : the spacewalk community has scripts that will parse this info from within packages and present it in a usable state. And secondly, I've been working on a yaml based script that can do something similar and hope to have it in a usable state soon ( for where soon ~ a month or so ).
The other option you have, if you fancy a bit of code writing, is to use the yum-changelog plugin to parse what comes through the package manifests and make decisions on things that way - keep in mind that its a maze and you will need some level of smartness. Its not as drastic an issue on CentOS as it can get in other distro's but its still something you will need to handle ( eg. not all SA's are relevant without a BA or an EA released in the past ).
- KB
Bernard Fay wrote:
Well, I would like to know what will be the changes before we apply the updates. I would like to generate a kind of a report showing what will be the changes for all packages with available updates.
Is there a way to do it?
Thanks Bernard
Please do not top-post.
Every repository should have /repodata folder with tar.gz-ed xml files. Part of the "other.xml" file is changelog for each package. You can use that data to find what you need.
Ljubomir