# Unattended-upgrades comment ça marche

**URL:** <https://www.debian-fr.org/t/unattended-upgrades-comment-ca-marche/92271>\
**Category:** Support Debian\
**Tags:** mise-à-jour\
**Created:** [Avril 28, 2026, 4:28 UTC](https://www.debian-fr.org/t/unattended-upgrades-comment-ca-marche/92271 "2026-04-28T16:28:52Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![laguespa](https://www.debian-fr.org/user_avatar/www.debian-fr.org/laguespa/32/4570_2.png) [@laguespa](https://www.debian-fr.org/u/laguespa)\
**Post date:** [Avril 29, 2026, 6:52 UTC](https://www.debian-fr.org/t/unattended-upgrades-comment-ca-marche/92271/28 "2026-04-29T18:52:43Z")

</div>

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.

---

_[View the full topic](https://www.debian-fr.org/t/unattended-upgrades-comment-ca-marche/92271)._
