reverse engineered


Running Debian Testing means that I constantly have new packages pushed to my machine. While the majority of these changes cause no problems, occasionally there can be a few hiccups. apt-listchanges is a useful package that shows any Debian NEWS files during package upgrades. It can also be configured to show the Debian changelogs too. It cleverly displays each changelog version since the version that was previously in Testing (bear in mind that not every package version in Sid reaches Testing). Read more →

dpkg list files

I discovered the -L switch on dpkg recently. It is used to view what files were installed as a result of installing a particular package. jmccrohan@lambda:~$ dpkg -L lsb-base /. /lib /lib/lsb /lib/lsb/init-functions /etc /etc/lsb-base /etc/ /usr /usr/share /usr/share/doc /usr/share/doc/lsb-base /usr/share/doc/lsb-base/copyright /usr/share/doc/lsb-base/README.Debian.gz /usr/share/doc/lsb-base/changelog.Debian.gz Read more →

Aptitude List Recently Installed

Below is a grep one-liner to look through the logs and find out what was recently installed. Comes in handy if you can’t remember what the exact name of that package you installed earlier was. grep "install\ " /var/log/dpkg.log This should give you a helpful output in the form below: root@lambda:~# grep "install\ " /var/log/dpkg.log 2011-07-05 09:17:07 install libpam-modules-bin <none 1.1.3-2 2011-07-05 09:17:13 install libsane-common <none 1.0.22-4 2011-07-05 09:17:52 install libqzeitgeist0 <none 0. Read more →