Unattended-upgrades comment ça marche

Bon ben j’ai trouvé. Quand j’édite avec systemctl edit apt-daily.timer il est écrit ceci dans le fichier :

### Editing /etc/systemd/system/apt-daily.timer.d/override.conf
### Anything between here and the comment below will become the contents of the drop-in file

### Edits below this comment will be discarded


### /usr/lib/systemd/system/apt-daily.timer
# [Unit]
# Description=Daily apt download activities
# 
# [Timer]
# OnCalendar=*-*-* 6,17:30
# RandomizedDelaySec=600
# Persistent=true
# 
# [Install]

Ce qui signifie qu’il faut que j’édite le fichier comme ceci pour que mon fichier override soit créé et ne soit pas vide.

### Editing /etc/systemd/system/apt-daily.timer.d/override.conf
### Anything between here and the comment below will become the contents of the drop-in file

### /usr/lib/systemd/system/apt-daily.timer
# [Unit]
# Description=Daily apt download activities
# 
# [Timer]
# OnCalendar=*-*-* 6,20:44
# RandomizedDelaySec=0
# Persistent=true
# 
# [Install]
# WantedBy=timers.target

### Edits below this comment will be discarded


### /usr/lib/systemd/system/apt-daily.timer
# [Unit]
# Description=Daily apt download activities
# 
# [Timer]
# OnCalendar=*-*-* 6,17:30
# RandomizedDelaySec=600
# Persistent=true
# 
# [Install]

Maintenant y’a plus qu’à voir si ça marche mais au moins ça c’est résolu.