root@pve-tailcat-02:~# apt-get updates -y
root@pve-tailcat-02:~# apt-get install unattended-upgrades
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
unattended-upgrades is already the newest version (2.12ubuntu9).
Solving dependencies… Done
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# apt-get install needrestart
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
needrestart is already the newest version (3.11-1ubuntu2).
Solving dependencies… Done
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# vi /etc/needrestart/needrestart.conf
$nrconf{restart} = ‚a‘;
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# systemctl edit apt-daily.timer
[Timer]
OnCalendar=
OnCalendar=hourly
RandomizedDelaySec=10m
Successfully installed edited file ‚/etc/systemd/system/apt-daily.timer.d/override.conf‘.
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# dpkg-reconfigure -plow unattended-upgrades
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# apt-config dump APT::Periodic
APT::Periodic „“;
APT::Periodic::Update-Package-Lists „1“;
APT::Periodic::Unattended-Upgrade „1“;
root@pve-tailcat-02:~#
root@pve-tailcat-02:/var/log# systemctl status unattended-upgrades.service
● unattended-upgrades.service – Unattended Upgrades Shutdown
Loaded: loaded (/usr/lib/systemd/system/unattended-upgrades.service; enabled; preset: enabled)
Active: active (running) since Thu 2026-10-22 12:54:29 CEST; 1h 27min ago
Invocation: 19d7cf72aeb64c0ebf423e9817ff841f
Docs: man:unattended-upgrade(8)
Main PID: 8797 (unattended-upgr)
Tasks: 2 (limit: 7681)
Memory: 14.6M (peak: 14.9M)
CPU: 207ms
CGroup: /system.slice/unattended-upgrades.service
└─8797 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown –wait-for-signal
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# unattended-upgrades -d
upgrade result: True No packages found that can be upgraded unattended and no pending auto-removals
Extracting content from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2026-10-22 14:29:39
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# apt list –upgradable
root@pve-tailcat-02:~#
root@pve-tailcat-02:~# less /var/log/dpkg.log
root@pve-tailcat-02:~#
This entry was posted on Donnerstag, Oktober 22nd, 2026 at 13:55 and is filed under Administration, Linux Solution, Security Solution. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.