the last installed deb package, how ?
Hi all! I'm really newbie in using debian. But, I've used mandrake for about 2 years. In debian, how could we find the last package we have installed ?
In mandrake, or any other rpm-based distro, we could find it easily using this following command: $ rpm -qa --last and then, it shows our installed packages sorted by date-time. Is there any similar command in dpkg ? Sometimes, we have to know what the last package we have installed in our system. |
That information is in /var/log/dpkg.log.
|
I didn't find those file! :(
|
Look for it by opening a terminal with the commands below.
Code:
$ su |
No!
I meant, there's no file named dpkg.log in /var/log/ Does it really exist in your system, Xian ? regards ag2uki |
Heh. Well, of course. Whatcha think...I made it up? :)
Here's a snippet: Code:
# cat /var/log/dpkg.log I then went on to use the source nvidia package and it worked fine. |
I believe the that file only contains entries of packages directly installed by dpkg, not apt-get.
You may wish to look at /var/log/aptitude if you've used aptitude. |
The dpkg log lists information on files installed by apt. (Which I didn't know until today...Thanks for the information). I just ran "apt-get upgrade" and checked /var/log/dpkg.log and information from today is there. Nice to know....Now I may be able to figure out what packages cause problems the next time I break something doing "apt-get dist-upgrade".
|
All times are GMT -5. The time now is 05:49 PM. |