linux mint installed packages, filter by date installed

Questions about applications and software
Forum rules
Before you post please read this

linux mint installed packages, filter by date installed

Postby dragon-dragon_dragon on Tue May 07, 2013 12:38 pm

Is there a way for me to pull up a list of installed packages and sort them by their install date? I've recently been having some system stability problems and I'm wondering if I installed something bizarre which may have sent me down this spiral.
dragon-dragon_dragon
Level 2
Level 2
 
Posts: 64
Joined: Tue Sep 11, 2012 11:09 am

Linux Mint is funded by ads and donations.
 

Re: linux mint installed packages, filter by date installed

Postby xenopeek on Tue May 07, 2013 2:44 pm

Well, perhaps not exactly a match but dpkg keeps a log. I usually query that, or have others query theirs, in case of recent problems.

List installed packages, sorted by date (timestamp at beginning of the line):
Code: Select all
grep " install " /var/log/dpkg.log

Or upgraded packages:
Code: Select all
grep " upgrade " /var/log/dpkg.log
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14817
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: linux mint installed packages, filter by date installed

Postby dragon-dragon_dragon on Wed May 08, 2013 1:31 pm

Thanks Xenopeek, I just made too aliases so I don't forget the commands. This would be a nice feature to get into the Cinnamon package manager, especially if it could detect whether the hit is currently installed.


Code: Select all
# Linux specific aliases
alias latest-installs='grep " install " /var/log/dpkg.*'
alias latest-upgrades='grep " upgrade " /var/log/dpkg.*'
dragon-dragon_dragon
Level 2
Level 2
 
Posts: 64
Joined: Tue Sep 11, 2012 11:09 am


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 21 guests