Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running Ubuntu and I have a deb file installed. I've made deb packages before, so I know there is a debian changelog (debchange). Is there anyway to see the debian changelog for any package that I have installed? Assume I don't have access to the deb source file for this package, and I don't have the deb file available. I am able to install extra packages if needed.

share|improve this question
2  
to see changes for apt-get installed packages: apt-get changelog <package> –  J.F. Sebastian Apr 11 '13 at 13:01
    
@J.F.Sebastian apt-get doesn't have such a command. –  gipi Nov 10 '13 at 9:50
    
@gipi: apt-get changelog apt | grep -C5 'apt-get changelog' shows that this command is introduced in apt (0.8.9ubuntu1) natty (2010). You can get the source (it is open-source after all): run apt-get source apt and find cmdline/apt-get.cc file and look at DoChangelog() function (btw, look at DoMoo() function). –  J.F. Sebastian Nov 10 '13 at 12:06
    
strange, I have the (debian) apt 0.9.12.1 and this command is not available. –  gipi Nov 10 '13 at 17:16

1 Answer 1

apt-listchanges is a nice package to have around, but without having a deb file around your best bet most probably is to read the Debian changelog from /usr/share/doc/somepackage/changelog.Debian.gz.

Make it an alias with

alias debchange="zless /usr/share/doc/$0/changelog.Debian.gz

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.