Menu

Ubuntu 16.04 package installation errors

2016-05-10
2016-05-10
  • Eric Manley

    Eric Manley - 2016-05-10

    I get the following error when trying to install the ncid 1.3.1 package on Ubuntu 16.04:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libtcl8.4 libtk8.4 tcl8.4 tk8.4
    Use 'apt autoremove' to remove them.
    The following NEW packages will be installed:
    ncid
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/410 kB of archives.
    After this operation, 1,006 kB of additional disk space will be used.
    Selecting previously unselected package ncid.
    (Reading database ... 294028 files and directories currently installed.)
    Preparing to unpack .../ncid_1.3-1~getdeb1_amd64.deb ...
    Unpacking ncid (1.3-1~getdeb1) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for systemd (229-4ubuntu4) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Setting up ncid (1.3-1~getdeb1) ...
    update-rc.d: error: initscript does not exist: /etc/init.d/ncid2ncid
    dpkg: error processing package ncid (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    ncid
    E: Sub-process /usr/bin/dpkg returned an error code (1)

     
  • John L. Chmielewski

    I installed ncid_1.3-1_amd64.deb from Souceforge on Ubuntu 16.04 without any errors.

    Your problem is this error:

    update-rc.d: error: initscript does not exist: /etc/init.d/ncid2ncid
    

    Even with the error, ncidd should run OK, but not sure any init files were installed. If no init files were installed, then ncidd will not be able to start on boot.

    Attached is lsdeb. Use it to make sure it has this line, if not, download it again and reinstall. The usage shown assumes the deb package at Sourceforge:

    lsdeb ncid_1.3-1_amd64.deb
    ./etc/init.d/ncid2ncid
    

    You need to report the problem at the repository where you obtained the ncid-1.3-1~getdeb1... package, if downloading it again did not fix the install error.

    You should be able to download and install the package from Sourceforge.

    In the future please include the command you typed to get the output.

     

    Last edit: John L. Chmielewski 2016-05-10

Log in to post a comment.