Questions tagged [unattended-upgrades]
Automatic package upgrades on APT based systems
66 questions
3 votes
1 answer
97 views
unattended-upgrades uses wrong hostname after switching from msmtp to Postfix
I recently switched from using msmtp to Postfix as MTA on one of my servers. unattended-upgrades used to send notifications with the content of /etc/hostname (webserver.example.org), but now it uses ...
0 votes
2 answers
354 views
Restart certain services after upgrading specific packages
I'm using a few services on my Ubuntu server that are based on .NET. The .NET runtime packages are set up for automatic updates with the unattended-upgrades package. While the .NET packages (dotnet-*) ...
1 vote
0 answers
74 views
unattended-upgrades: ValueError: too many values to unpack (expected 2)
Using unattended-upgrades I want to update a Debian 12 system automatically. Since I have included some additional repositories, I need to configure apt pinning. If I include the following line of ...
1 vote
1 answer
413 views
Upgrade every enabled repository using unattended-upgrades
Is there a way to configure unattended-upgrades to upgrade all enabled repositories (including third parties)?
1 vote
1 answer
1k views
Unattended-Upgrades configuration for custom repo only
OS: LMDE 5 (based on Debian 11 Bullseye) To keep the system tidy, I use separate files to overrides the original distribution/developer configuration files wherever possible. This also prevents ...
2 votes
1 answer
433 views
unattended-upgrades: everything except new major versions
I want unattended-upgrades to upgrade everything automatically on my Debian bullyseye system, except for new major version (i.e. not bookworm, when it's released). I couldn't find anything describing ...
0 votes
1 answer
2k views
APT unattended upgrade with no user interaction [duplicate]
I am setting up a cron job to update my Debian server box, and there is a potential problem. If I try upgrading from the terminal using apt -y upgrade, even though there is the -y option, when APT ...
5 votes
1 answer
5k views
How to use s-nail with unattended-upgrades?
My ISP blocks port 25 and I want to send email after unattended-upgrades completes. I set things up so that I can successfully send mail with s-nail, but unattended-upgrades still isn't sending me ...