apt Logs & History

/var/log/apt/history.log

Shows packages are installed and upgraded, date and time of operation, which user requested the install, and which command was issued to start the install.

/var/log/apt/history.log
Start-Date: 2020-07-26  19:20:22
Commandline: apt dist-upgrade
Requested-By: username (1000)
Install: pve-kernel-5.4:amd64 (6.2-4, automatic), ...
Upgrade: proxmox-widget-toolkit:amd64 (2.1-3, 2.2-9), ...
End-Date: 2020-07-26  19:23:17

/var/log/apt/term.log

Shows terminal output displayed during install / upgrade process.

/var/log/apt/term.log
Log started: 2020-03-05  15:08:01
(Reading database ... 
(Reading database ... 100%
(Reading database ... 57644 files and directories currently installed.)
Selecting previously unselected package pve-kernel-5.3.18-2-pve.
Preparing to unpack .../2-pve-kernel-5.3.18-2-pve_5.3.18-2_amd64.deb ...
Unpacking pve-kernel-5.3.18-2-pve (5.3.18-2) ...
Setting up pve-kernel-5.3.18-2-pve (5.3.18-2) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
update-initramfs: Generating /boot/initrd.img-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/pve-auto-removal 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/zz-pve-efiboot 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.3.18-2-pve /boot/vmlinuz-5.3.18-2-pve
Found linux image: /boot/vmlinuz-5.3.18-2-pve
Found initrd image: /boot/initrd.img-5.3.18-2-pve
Setting up pve-kernel-5.3 (6.1-5) ...
Log ended: 2020-03-05  15:08:53

Last updated