• Benvenuti su RaspberryItaly!
Benvenuto ospite! Login Login con Facebook Registrati Login with Facebook


Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
python3 gpiozero

[Problema] python3-gpiozero
#1
Ciao a tutti sono nuovo dal forum e anche di debian.
Ho provato a istallare un triple boot, quando cerco di fare un upgrade su Raspbian mi viene fuori questo errore:

pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
pypy-upstream
The following packages will be upgraded:
python3-gpiozero
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
64 not fully installed or removed.
Need to get 0 B/59.2 kB of archives.
After this operation, 118 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 133132 files and directories currently installed.)
Preparing to unpack …/python3-gpiozero_1.2.0_all.deb …
/var/lib/dpkg/info/python3-gpiozero.prerm: 6: /var/lib/dpkg/info/python3-gpiozero.prerm: py3clean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead …
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/python3-gpiozero_1.2.0_all.deb (–unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python3-gpiozero.postinst: 6: /var/lib/dpkg/info/python3-gpiozero.postinst: py3compile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/python3-gpiozero_1.2.0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Cosa posso fare ?
Risposta
#2
Domanda sciocca.. Prima dell' upgrade hai dato un sudo apt-get update?
Risposta
#3
Si , è la prima cosa che ho fatto appena entrato in SSH.
Risposta
#4
prima prova a dare
Codice:
sudo apt-get install -f

poi

Codice:
sudo dpkg --configure -a

potrebbe essere un problema di apt oppure dei repo... magari il pacchetto non è stato caricato correttamente
Risposta
#5
Ho anche io lo stesso errore ma non riesco a sistemare, ho provato anche come hai detto tu ma nulla
Risposta
  


Vai al forum:


Navigazione: 1 Ospite(i)
Forum con nuovi Post
Forum senza nuovi post
Forum bloccato
Forum Redirect