-
py3clean
epy3compile
devem estar empython3-minimal
. Tente instalar primeiro:sudo apt-get install python3-minimal
Atualize a pergunta se você receber algum erro.
Eu estava mexendo com meu computador ontem e, sem saber da importância de / usr / bin /, imediatamente removi todos os arquivos python de lá, e então comecei a me livrar de todos os pacotes que dependiam deles por algum motivo .
Inteligente, eu sei.
Depois de algumas horas hoje, consegui recuperar quase tudo, no entanto, a única coisa que não muda é o python3. Sempre que tento reinstalar, recebo uma mensagem do tipo:
Preparing to unpack .../python3_3.4.0-0ubuntu2_amd64.deb ...
/var/lib/dpkg/info/python3.prerm: 5: /var/lib/dpkg/info/python3.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: 5: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/python3_3.4.0-0ubuntu2_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python3.postinst: 47: /var/lib/dpkg/info/python3.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_3.4.0-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
py3clean
e py3compile
devem estar em python3-minimal
. Tente instalar primeiro:
sudo apt-get install python3-minimal
Atualize a pergunta se você receber algum erro.