Olá!
Não consigo remover o Stremio. Dá erro. Tentei algumas formas. Como posso resolver?
Pelo
SynapticE: stremio: subprocess installed post-removal script returned error exit status 1
(synaptic:6150): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
(Reading database ... 603392 files and directories currently installed.)
Removing stremio (3.6.5) ...
Purging configuration files for stremio (3.6.5) ...
dpkg: error processing package stremio (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
stremio
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Pelo
terminalsudo apt-get remove --purge stremio
[sudo] password for guilherme:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
stremio*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 603392 files and directories currently installed.)
Removing stremio (3.6.5) ...
Purging configuration files for stremio (3.6.5) ...
dpkg: error processing package stremio (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
stremio
E: Sub-process /usr/bin/dpkg returned an error code (1)
guilherme@guilherme:~$ sudo apt-get remove --purge stremio*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'stremio' for regex 'stremio*'
The following packages will be REMOVED:
stremio*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 603392 files and directories currently installed.)
Removing stremio (3.6.5) ...
Purging configuration files for stremio (3.6.5) ...
dpkg: error processing package stremio (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
stremio
E: Sub-process /usr/bin/dpkg returned an error code (1)
guilherme@guilherme:~$
Obrigado.
Resolução:$ sudo nautilus
naveguei nas pastas /var/lib/dpkg/info
e depois apaguei os dois arquivos do stremio
em seguida entrei no synaptic e removi o stremio e funcionou!
Neste link há uma solução, que não segui completamente e funcionou:
https://www.vivaolinux.com.br/dica/apt-E-Sub-process-usrbindpkg-returned-an-error-code-1-Resolvido