2

I deleted this file /etc/apt/apt.conf.d/20auto-upgrades. I thought it was a swap file. What should I do? Reinstalling the unattended-upgrades apt didn't work.

/usr/sbin/dpkg-reconfigure: unattended-upgrades is broken or not fully installed root@****:/var/log/unattended-upgrades#
0

1 Answer 1

3

Try this:

Open a terminal,

Press Ctrl+Alt+T

Run it:

sudo -i
nano /etc/apt/apt.conf.d/20auto-upgrades

In the file that opens, paste these lines:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

Ctrl+O

Save file

Ctrl+X

Close nano

Not the answer you're looking for? Browse other questions tagged .