I’m trying to enable unattended-upgrades in Cubic, but here’s what it presents;
“Synchronizing state of unattended-upgrades.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable unattended-upgrades
System has not been booted with systemd as unit system (PID 1). Can’t operate.
Failed to connect to bus: Host is down
#How do I enable unattended-upgrades in Cubic?
36 messages · Page 1 of 1 (latest)
sudo apt install unattended-upgrades
sudo systemctl status unattended-upgrades
That is what I entered
@old icescreenshot it please
By default, however, only security updates are set to be automatically updated
What is the output of $ ps -p 1 executed inside Cubic's virtual terminal?
error: process ID list syntax error
echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections
dpkg-reconfigure -f noninteractive unattended-upgrades
@old ice
edit /etc/apt/apt.conf.d/50unattended-upgrades to include the packages you want to update
Line starting with double slashes ( // ) are commented. If you want to update a repository you need to uncomment or remove the double slash signs.
to blacklist some packages from being upgraded, remove the double slash signs in the line with the parameter Unattended-Upgrade::Package-Blacklist {
you may want to receive email notifications. To achieve this, scroll and locate the line below and remove the preceding double slashes
//Unattended-Upgrade::Mail " ";
@old ice
I think we're good for the mail updates
In addition, you can choose to receive email updates in case an update goes wrong, such as when security updates fail. To do so, locate this line
//Unattended-Upgrade::MailReport "on-change"; uncomment it and change the attribute "on-change" to "only-on-error"
So what would be my distro id
Okay, how do I edit that file in Cubic
@old ice with nano or your favorite terminal based editor
what is nano
nano is a text editor for the command lines
alright, so I'll just compile my work in Cubic and switch to nano
you can use nano in cubic