dpkg: error processing package i-nex (--configure): subprocess installed post-installation script returned error exit status 6

Bug #1503053 reported by Roger Lawhorn
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
I-Nex
Fix Committed
Critical
eloaders

Bug Description

Setting up i-nex (7.4.0+bzr888+20150920~ubuntu14.04.1) ...
dpkg: error processing package i-nex (--configure):
 subprocess installed post-installation script returned error exit status 6
Setting up gambas3-gb-desktop-x11 (3.8.1-28.42~ubuntu14.04.1) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
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)

I have purge the PPAs and i-nex.

I have done a apt-get clean.

I have repeated the install process with PPAs.

I always get this error.

My system:
$ inxi -Fx
System: Host: mypc Kernel: 3.16.0-38-generic x86_64 (64 bit, gcc: 4.8.2)
           Desktop: Cinnamon 2.6.13 (Gtk 3.10.8) Distro: Linux Mint 17.2 Rafaela
Machine: Mobo: Micro-Star model: MS-1763 version: REV:0.C Bios: American Megatrends version: E1763IMS.51B date: 01/29/2015
CPU: Quad core Intel Core i7-4810MQ CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 22348
           Clock Speeds: 1: 2801.00 MHz 2: 2801.00 MHz 3: 2801.00 MHz 4: 2801.00 MHz 5: 2801.00 MHz 6: 2801.00 MHz 7: 2801.00 MHz 8: 2801.00 MHz

Info: Processes: 275 Uptime: 1 day Memory: 3339.8/11935.6MB Runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.11) inxi: 1.9.17

Revision history for this message
Roger Lawhorn (rll-m) wrote :

This is the install procedure I use:

>sudo add-apt-repository ppa:i-nex-development-team/daily
>sudo add-apt-repository ppa:gambas-team/gambas3
>sudo apt-get update
>sudo apt-get install i-nex

Revision history for this message
Snoopy (snoopy-snoopyvirtualstudio) wrote :

Similar problem here.

My system:
$ inxi -Fx
System: Host: snoopy-linux-1 Kernel: 3.14.1-031401-generic x86_64 (64 bit, gcc: 4.6.3)
           Desktop: Gnome (Gtk 2.24.23) Distro: Ubuntu 14.04 trusty
Machine: Mobo: Gigabyte model: EP35C-DS3R version: x.x Bios: Award version: F2 date: 01/04/2008
CPU: Dual core Intel Core2 Duo CPU E8200 (-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3 vmx) bmips: 10666.3
           Clock Speeds: 1: 2000.00 MHz 2: 2000.00 MHz
Graphics: Card: NVIDIA GF108 [GeForce GT 430] bus-ID: 01:00.0 X.Org: 1.15.1 driver: nvidia Resolution: 1680x1050@60.0hz
           GLX Renderer: GeForce GT 430/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 340.93 Direct Rendering: Yes
Audio: Card-1: NVIDIA GF108 High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Card-2: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.14.1-031401-generic
Network: Card-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
           driver: 8139too ver: 0.9.28 port: d000 bus-ID: 05:01.0
           IF: eth1 state: unknown speed: 100 Mbps duplex: full mac: 00:a0:c5:84:fd:94
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 ver: 2.3LK-NAPI port: c000 bus-ID: 04:00.0
           IF: eth0 state: down mac: 00:1d:7d:03:4d:e3
Drives: HDD Total Size: 5001.0GB (68.2% used) 1: id: /dev/sda model: WDC_WD30EZRX size: 3000.6GB temp: 36C
           2: id: /dev/sdc model: WDC_WD10EACS size: 1000.2GB temp: 37C 3: id: /dev/sdb model: ST31000528AS size: 1000.2GB temp: 33C
Partition: ID: / size: 79G used: 57G (76%) fs: ext4 ID: swap-1 size: 8.76GB used: 0.00GB (0%) fs: swap
RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors: System Temperatures: cpu: 41.0C mobo: 33.0C gpu: 0.0:39C
           Fan Speeds (in rpm): cpu: 2191 mobo: 675000 fan-2: 0 fan-3: 0
Info: Processes: 215 Uptime: 2:54 Memory: 2043.6/3951.7MB Runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.11) inxi: 1.9.17

============

Installed packages:

gambas3-runtime
gambas3-gb-qt4
gambas3-gb-form
gambas3-gb-desktop
gambas3-gb-desktop-x11
gambas3-gb-image

(All of them with version: 3.8.2-28.44~ubuntu)

Every time I try to update the system, I get the message:

Configurando i-nex (7.4.0+bzr855+20140813~ubuntu14.04.1) ...
dpkg: error al procesar el paquete i-nex (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 6

Translated into english it means:

Setting up i-nex (7.4.0+bzr855+20140813~ubuntu14.04.1) ...
dpkg: error processing package i-nex (--configure):
 subprocess installed post-installation script returned error exit status 6

The install procedure I used was:

sudo add-apt-repository ppa:gambas-team/gambas3
sudo add-apt-repository ppa:i-nex-development-team/stable
sudo apt-get update
sudo apt-get install i-nex

Revision history for this message
Jan Pleva (jenik-pleva) wrote :

mint-K52N ~ # cat /var/lib/dpkg/info/i-nex.postinst
#!/bin/bash
if which curl >/dev/null; then
    curl --silent https://i-nex.pl/?downloadcount=1 > /dev/null 1>&1
fi
mint-K52N ~ # curl https://i-nex.pl/?downloadcount=1
curl: (6) Could not resolve host: i-nex.pl
mint-K52N ~ # echo $?
6

looks like some bad domain name....

Revision history for this message
Roger Lawhorn (rll-m) wrote :

This appears to do nothing but tell the website that one more install has occurred.
Correcting the domain name still returns an error.
I have bypassed the error by adding "exit 0" to the end of the post install script.

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

#!/bin/bash
if which curl >/dev/null; then
    curl --silent https://i-nex.linux.pl/?downloadcount=1 > /dev/null 1>&1
fi
exit 0

And then the following to make the error go away:
>sudo apt-get install -f

bye bye silly error

Revision history for this message
Alexandros Prekates (aprekates) wrote :

The 'exit -0' addition to the postinst script solved the installation problem for me too.

eloaders (eloaders)
Changed in i-nex:
status: New → In Progress
importance: Undecided → Critical
eloaders (eloaders)
Changed in i-nex:
assignee: nobody → eloaders (eloaders)
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.