Is there a way to show the history of packages that were changed by apt-get via command line?
All actions with apt (apt-get) are logged. These files are available in /var/log/apt/. To view the most recent history log, execute:
less /var/log/apt/history.log
These logs gets rotated (every month I guess), old files will be suffixed with a number and compressed. So to view the next history log, use:
zless /var/log/apt/history.log.1.gz
To view the logs available:
ls -la /var/log/apt/
No comments:
Post a Comment