Esqueça o comando sudo dpkg --configure -a
, você não tem o mathlab instalado.
Use apenas o comando
sudo apt-get purge matlab-support
para remover o pacote.
Encontrei os seguintes erros ao tentar desinstalar o Matlab no Ubuntu:
fayo@fayo-pc:~$ sudo dpkg --configure -a ; sudo apt-get purge -y
Setting up matlab-support (0.0.19) ...
No default Matlab path found. Exiting.
dpkg: error processing package matlab-support (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
matlab-support
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 353 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up matlab-support (0.0.19) ...
No default Matlab path found. Exiting.
dpkg: error processing package matlab-support (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
matlab-support
E: Sub-process /usr/bin/dpkg returned an error code (1)
O que estou fazendo de errado?
Esqueça o comando sudo dpkg --configure -a
, você não tem o mathlab instalado.
Use apenas o comando
sudo apt-get purge matlab-support
para remover o pacote.