Example.
I want to see when I installed updated gnome-shell last so:
- Code: Select all
cat /var/log/apt/history.log | grep gnome-shell
Upgrade: gnome-shell:amd64 (3.2.2.1-1, 3.2.2.1-2), mc:amd64 (4.7.0.9-2, 4.8.1-2), libsemanage-common:amd64 (2.1.0-2, 2.1.6-2), gnome-shell-common:amd64 (3.2.2.1-1, 3.2.2.1-2), libsasl2-2:amd64 (2.1.25.dfsg1-3, 2.1.25.dfsg1-4), libsasl2-modules:amd64 (2.1.25.dfsg1-3, 2.1.25.dfsg1-4), libsemanage1:amd64 (2.1.0-2, 2.1.6-2)
It found gnome-shell no bother, but it doesn't tell me what I want to know which is when did I last update it. So I then have to do:
- Code: Select all
cat /var/log/apt/history.log
And use the shell search function to look for gnome-shell which gives me this:
- Code: Select all
Start-Date: 2012-03-10 10:23:53
Commandline: /usr/sbin/synaptic
Install: mc-data:amd64 (4.8.1-2, automatic)
Upgrade: gnome-shell:amd64 (3.2.2.1-1, 3.2.2.1-2), mc:amd64 (4.7.0.9-2, 4.8.1-2), libsemanage-common:amd64 (2.1.0-2, 2.1.6-2), gnome-shell-common:amd64 (3.2.2.1-1, 3.2.2.1-2), libsasl2-2:amd64 (2.1.25.dfsg1-3, 2.1.25.dfsg1-4), libsasl2-modules:amd64 (2.1.25.dfsg1-3, 2.1.25.dfsg1-4), libsemanage1:amd64 (2.1.0-2, 2.1.6-2)
Exactly the same as the first entry except that it has 3 extra lines on it and it is those 3 lines that I want to know about.
So am I using it wrongly or is it not capable of giving the information I want in one command?






