i-nex pacote lança um erro com qualquer comando apt-get

3

Estou tentando instalar alguns pacotes e recebi um erro relacionado ao pacote i-nex.

# apt-get install yum
Reading package lists... Done
Building dependency tree       
Reading state information... Done
yum is already the newest version.
The following packages were automatically installed and are no longer required:
  bsdtar kdebase-runtime libsdl-ttf2.0-0 linux-headers-3.13.0-24
  linux-headers-3.13.0-24-lowlatency linux-image-3.13.0-24-lowlatency
  ruby-childprocess ruby-erubis ruby-ffi ruby-i18n ruby-log4r ruby-net-scp
  ruby-net-ssh
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up i-nex (7.4.0+bzr887+20150112~ubuntu14.04.1) ...
dpkg: error processing package i-nex (--configure):
 subprocess installed post-installation script returned error exit status 6
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
 i-nex
E: Sub-process /usr/bin/dpkg returned an error code (1)

Como posso reinstalar ou resolver este problema?

    
por Kirby 01.09.2015 / 12:45

2 respostas

1

O script de pós-instalação contém a seguinte linha que falha com o código de retorno 6.

curl --silent https://i-nex.pl/?downloadcount=1 > /dev/null 1>&1

Você pode testar isso em um terminal

curl --silent https://i-nex.pl/\?downloadcount\=1 > /dev/null 1>&1; echo $?

Portanto, abra o arquivo /var/lib/dpkg/info/i-nex.postinst

sudo nano /var/lib/dpkg/info/i-nex.postinst

e remova a linha.

Depois disso, remova o pacote

sudo apt-get remove i-nex
    
por A.B. 01.09.2015 / 12:59
3
  1. No tipo de terminal:

    sudo -H gedit /var/lib/dpkg/info/i-nex.postinst
    
  2. Adicione exit 0 no final do arquivo e salve-o.

  3. Para finalizar, execute sudo apt-get -f install para concluir a instalação.

Referência: bug do Launchpad 1503053

    
por Cleber Jean Barranco 03.01.2016 / 20:07