Raspbian Mantener actualizada automáticamente - Configurando Raspberry PI 6

Vamos a provocar que la Raspberry PI se autoactualice:

sudo apt-get install unattended-upgrades

Añadimos en el fichero:

`sudo vi /etc/apt/apt.conf.d/10periodic` 
APT::Periodic::Update-Package-Lists "1";  
APT::Periodic::Download-Upgradeable-Packages "1";  
APT::Periodic::AutocleanInterval "7";  
APT::Periodic::Unattended-Upgrade "1";
```

Y cambiamos (si aparece) en:  
```
`sudo vi` `` `/etc/apt/apt.conf.d/50unattended-upgrades` ``
```

```
`` `"origin=Debian,archive=stable,label=Debian-Security";` ``
```por esto otro:  
```
``` `` `"origin=Raspbian";` `` ``` 
```

```
Para Ubuntu hay que seguir [estas instrucciones](https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package). 
```