Mantis - Resin
Viewing Issue Advanced Details
4816 minor always 10-19-11 11:31 11-28-11 12:20
ferg  
ferg  
normal  
closed 4.0.24  
fixed  
none    
none 4.0.24  
0004816: debian isntall issue
(rep by Stephen Tsai)

Sorry to bother you, but I am having issues installing Resin on Ubuntu
10.4 (see the error below). Here is an post regarding the same issue.

 http://ubuntuforums.org/showthread.php?p=11330606 [^]

Could you please kindly help me resolving this issue. Many thanks for
your help.

Stephen



stephen@athens:~$ sudo apt-get install resin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting resin-pro instead of resin
The following NEW packages will be installed:
  resin-pro
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.3MB of archives.
After this operation, 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  resin-pro
Install these packages without verification [y/N]? Y
Get:1 http://caucho.com/download/debian/ [^] unstable/multiverse resin-pro
4.0.23 [25.3MB]
Fetched 25.3MB in 17s (1,444kB/s)
Selecting previously deselected package resin-pro.
(Reading database ... 79748 files and directories currently installed.)
Unpacking resin-pro (from .../resin-pro_4.0.23_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up resin-pro (4.0.23) ...

Configuration file `/etc/resin/resin.xml'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
      D : show the differences between the versions
      Z : background this process to examine the situation
 The default action is to keep your current version.
*** resin.xml (Y/I/N/O/D/Z) [default=N] ?
/usr/sbin/invoke-rc.d: 446: /etc/init.d/resin: not found
invoke-rc.d: initscript resin, action "start" failed.
dpkg: error processing resin-pro (--configure):
 subprocess installed post-installation script returned error exit
status 127
Errors were encountered while processing:
 resin-pro
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephen@athens:~$ ^C
stephen@athens:~$ sudo dpkg --configure -a
Setting up resin-pro (4.0.23) ...
/usr/sbin/invoke-rc.d: 446: /etc/init.d/resin: not found
invoke-rc.d: initscript resin, action "start" failed.
dpkg: error processing resin-pro (--configure):
 subprocess installed post-installation script returned error exit
status 127
Errors were encountered while processing:
 resin-pro
stephen@athens:~$ sudo dpkg --configure -a
Setting up resin-pro (4.0.23) ...
/usr/sbin/invoke-rc.d: 446: /etc/init.d/resin: not found
invoke-rc.d: initscript resin, action "start" failed.
dpkg: error processing resin-pro (--configure):
 subprocess installed post-installation script returned error exit
status 127
Errors were encountered while processing:
 resin-pro
stephen@athens:~$ sudo apt-get install resin-pro


Notes
(0005566)
smigol   
10-20-11 05:04   
the error is in the script of the deb package: /etc/init.d/resin
to solve, change the first line:

#!@BASH@

to

#!/bin/sh

OR@ZIO