Reputation: 589
There's a option in rpm to query recently installed packages using rpm -q --last
But, is there a option to query recently uninstalled package ?
Upvotes: 1
Views: 7530
Reputation: 773
rpm itself is not capable of doing this but usually you do not use such low-level too for removing packages. These higher-level tools e.g. yum in Fedora tracks these changes to /var/log/yum.log; similar tools are available in most of the current linux distribution (apt in Ubutnu/Debian; yast2 in SuSe). Of course, if you will use rpm directly then it will not be in log files.
Upvotes: 1
Reputation: 37842
I don't think so... rpm keeps track of everything that is installed and under control of an rpm; but I doesn't keeps track of all uninstalled packages (afaik) ... that is quite unmanageable I guess.
The closest you could get is go through your command history and find all commands executed to remove rpm's:
history | grep "rpm -e"
or something like that.
Upvotes: 1