Buenas, he probado a hacerlo, pero me da error al intentar actualizar (apt-update). Me ha pasado en las últimas veces que he intentado actualizar la Raspberry
pi@raspberrypi:~ $ sudo apt-get update
Des:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
Obj:2 http://archive.raspberrypi.org/debian buster InRelease
Des:3 http://weewx.com/apt squeeze InRelease [2.537 B]
Des:4 http://weewx.com/apt squeeze/main all Packages [3.613 B]
Descargados 21,1 kB en 14s (1.553 B/s)
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 26, in <module>
col.create(db)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 94, in create
self._fill_commands(con)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 132, in _fill_commands
self._parse_single_contents_file(con, f, fp.stdout)
File "/usr/share/command-not-found/CommandNotFound/db/creator.py", line 271, in _parse_single_contents_file
priority = component_priorities[component]
KeyError: 'rpi'
Leyendo lista de paquetes... Hecho
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code