Get changelog information from RPM and DEB package

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

Here is a nice Linux tip: to get change information of some RPM package it’s enough to execute the following command rpm -q --changelog package for example rpm -q --changelog openssh will output something like:


* Fri Mar 03 2006 Tomas Mraz - 4.3p2-4
- allow access if audit is not compiled in kernel (#183243)

* Sat Feb 25 2006 Tomas Mraz - 4.3p2-3
- enable the subprocess in chroot to send messages to system log
- sshd should prevent login if audit call fails

* Wed Feb 22 2006 Tomas Mraz - 4.3p2-2
- print error from scp if not remote (patch by Bjorn Augustsson #178923)

* Sat Oct 30 1999 Damien Miller
- Back to old binary names

* Fri Oct 29 1999 Damien Miller
- Use autoconf
- New binary names

* Thu Oct 28 1999 Damien Miller
- Initial RPMification, based on Jan "Yenya" Kasprzak’s spec.

To look through whole output it would be useful to use more or less commands:
rpm -q --changelog /path/to/package.rpm | less

Similar command is available also in Debian: dpkg-parsechangelog. It reads and parses the changelog of an unpacked Debian source tree and outputs the information in it to standard output in a machine-readable form.

Share This
Related posts:
FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line
Latest nmap 4.50 is out. Must upgrade!
go2linux.org: Linux Operating System blog
Get uptime/loading/logins information remotely
Ubuntu Customization Kit 2.0 is out
 
 
 
Your Ad Here


0 Responses to “Get changelog information from RPM and DEB package”


  1. No Comments

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word