Get changelog information from RPM and DEB package

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.

 
 
» You might also be interested in the following articles:
Speedlinks – 29 December, 2008
FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line
Latest nmap 4.50 is out. Must upgrade!
Get uptime/loading/logins information remotely
go2linux.org: Linux Operating System blog



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!

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


  1. No Comments

Leave a Reply




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem Nosulchik (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››