dpkg: erro processando o pacote tuxcut (--remove):

0

Eu sou novo no Ubuntu e eu estava procurando uma opção para net-cut aqui no Ubuntu, então ... Eu estava tentando remover tuxcut , mas eu tenho isso:

sudo apt purge tuxcut
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:  
fonts-wine libieee1284-3:i386 libpng-tools libwine libwine:i386  
libwxbase3.0-0v5 libwxgtk3.0-0v5 linux-headers-4.13.0-21  
linux-headers-4.13.0-21-generic linux-image-4.13.0-21-generic  
linux-image-extra-4.13.0-21-generic linux-tools-4.13.0-21  
linux-tools-4.13.0-21-generic ocl-icd-libopencl1:i386 python-wxgtk3.0 
python-wxversion wine32:i386 wine64 zlib1g-dev 
Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED:  
tuxcut*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2,576 kB disk space will be freed. Do you want
to continue? [Y/n] y 
(Reading database ... 419130 files and directories currently installed.) 
Removing tuxcut (5.0) ... 
rm: cannot remove '/usr/bin/run-tuxcut': No such file or directory 
dpkg: error processing package tuxcut (--remove):  subprocess installed pre-removal script returned error exit status 1 
Errors were encountered while processing:  tuxcut 
E: Sub-process /usr/bin/dpkg returned an error code (1)*
    
por León T. 15.04.2018 / 23:43

1 resposta

2

Pressione Ctrl + Alt + T e faça:

sudo touch /usr/bin/run-tuxcut
sudo apt purge tuxcat

Aproveite!

O que esses comandos significam?

Você criou um arquivo vazio chamado run-tuxcut e executou novamente o sudo apt purge tuxcat . Se o arquivo existir, dpkg continuará fazendo a limpeza. Caso contrário, mostra o erro acima mencionado.

    
por Olimjon 16.04.2018 / 03:30