# apt upgrade error

Source: https://forum.modalai.com/topic/3919/apt-upgrade-error
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: voxl-sdk
Posted: 2024-11-07 19:18:45 UTC by Judoor 0
Replies: 2 · Views: 682

## Judoor 0 · 2024-11-07 19:18:45 UTC

HI,
I'm trying to upgrade a starlin2 but when I do 
```
apt-update && apt-upgrade
``` 
i'm left whith this error and I don't know how to rsolve it :
```
Preparing to unpack .../wpasupplicant_2%3a2.6-15ubuntu2.8+esm1_arm64.deb ...
Unpacking wpasupplicant (2:2.6-15ubuntu2.8+esm1) over (2:2.6-15ubuntu2.8) ...
dpkg: error processing archive /var/cache/apt/archives/wpasupplicant_2%3a2.6-15ubuntu2.8+esm1_arm64.deb (--unpack):
 trying to overwrite '/lib/systemd/system/wpa_supplicant.service', which is also in package voxl2-wlan 1.0-r0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Failed to add /run/systemd/ask-password to directory watch: No space left on device
Errors were encountered while processing:
 /var/cache/apt/archives/wpasupplicant_2%3a2.6-15ubuntu2.8+esm1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Julien

## Reply by Judoor 0 · 2024-11-07 20:16:19 UTC

@Judoor-0 after that i did an apt autoremove and it deleted almost all my drone... is it possible to get back from it?
![Capture d'écran 2024-11-07 211308.png](https://forum.modalai.com/assets/uploads/files/1731010443325-capture-d-x27-écran-2024-11-07-211308.png) 
here is my voxl-inspect-services

And command like voxl-configure-mpa are not available anymore.

If I flash a new sdk on the starling, does it delete everything that's in /home/root ?

Julien

## Reply by tom (ModalAI staff) · 2024-11-07 20:18:45 UTC (in reply to Judoor 0)

@Judoor-0 I would recommend re-flashing the latest SDK from downloads.modalai.com

Yes, /home/root gets wiped by default. When flashing a new SDK, /data is retained unless otherwise specified with a flag
