Ubuntu 16.04
software-properties-gtk não funciona. Eu vi alguns erros com a pasta / usr / bin / python. Eu esperava, eu vou repassar eu mesmo.
Eu removi a pasta python3 em / usr / bin / (sim, eu sei que isso era idiota)
Quando executo software-properties-gtk
, o OUTPUT é:
bash: /usr/bin/software-properties-gtk: /usr/bin/python3: bad interpreter: No such file or directory
Como consertar esse erro?
ATUALIZAÇÃO:
Quando digito sudo apt-get install --reinstall python-minimal
, o OUTUPT é:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 28,1 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-minimal amd64 2.7.12-1~16.04 [28,1 kB]
Fetched 28,1 kB in 0s (77,8 kB/s)
(Reading database ... 248904 files and directories currently installed.)
Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
Unpacking python-minimal (2.7.12-1~16.04) over (2.7.12-1~16.04) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python3-minimal (3.5.1-3) ...
/var/lib/dpkg/info/python3-minimal.postinst: 5: /var/lib/dpkg/info/python3-minimal.postinst: py3compile: Permission denied
dpkg: error processing package python3-minimal (--configure):
subprocess installed post-installation script returned error exit status 126
Setting up python-minimal (2.7.12-1~16.04) ...
Errors were encountered while processing:
python3-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)