Menu

#53 Installation issue with ncid_1.13-1_amd64.deb on Ubuntu 22.04 64-bit

v1.0_(example)
closed
None
1
2023-06-17
2023-04-27
Anonymous
No

When trying to install ncid_1.13-1_amd64.deb on Ubuntu 22.04 64-bit, I get the following:
$ apt install libicu70 python3-phonenumbers
$ dpkg -i ncid_1.13-1_amd64.deb
Selecting previously unselected package ncid.
(Reading database ... 85588 files and directories currently installed.)
Preparing to unpack ncid_1.13-1_amd64.deb ...
Unpacking ncid (1.13-1) ...
dpkg: dependency problems prevent configuration of ncid:
ncid depends on libicu67 (>= 67.1-1~); however:
Package libicu67 is not installed.

dpkg: error processing package ncid (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
ncid

It seems there is a hard dependency on libicu67, which is not available for Ubuntu 22.04. It does have libicu70.

Discussion

  • Anonymous

    Anonymous - 2023-04-27

    You should be using apt, which also installs dependencies, instead of dpkg, which does not install dependencies.

    sudo apt install ./ncid_1.13-1_amd64.deb
    

    That said, libicu changed the major version, which is why the ncid package is not using it. A new release should be out shortly (final testing), but until then, you can recompile the current release. Just be sure to review DEB Package Install for Debian, Raspbian and Ubuntu and install the compile requirements.

    Edit: Did not realize I was signed out - jlc

     

    Last edit: John L. Chmielewski 2023-04-27
  • Anonymous

    Anonymous - 2023-06-03

    I see there is a 1.14 build for Ubuntu 23.04. Were you planning to build a 22.04 version as well or a general one called ncid_1.14-1_amd64.deb?

    In the meantime, I tried to build the deb based on Debian/README-Debian and came across the following when running fakeroot commands:

    • Had to make a copy of the Debian dir to debian since fakeroot debian/rules build does not exist.
    • The man page directory has a number of missing files the build is looking for. Just to try to get past the error, a copy was made of each file ending with -in to one without.
    • The next one was looking for the man page ncidrotate.1. Copied ncidrotate.1-in to ncidrotate.1
    • The next one was looking for the user manual. Copied UserManualIndex.md-in to NCID-UserManual.md
    • The last one was:
      mv: cannot stat 'debian/tmp-ncid/usr/bin/*2ncid': No such file or directory

    Not sure if this is with 22.04 or if I'm missing something in the docs.

     
  • John L. Chmielewski

    This release includes the OS release in the binary install files . Previously the version was not listed, but all previous builds were built with the latest version. The installation packages may be able to install under 22.04.

    A source directory name was changed from Debian to debian and to build the packages debian must be created as a symbolic link to Debian. To be honest, I did not expect any user to try to build packages, I expected the user to just build and install.

    Attached is the script used to build the installation packages. The build-pkg script requires rename:

    sudo apt install rename
    build-pkg ncid 1.4 ncid-1.14-src.tar.gz
    
     
  • Anonymous

    Anonymous - 2023-06-17

    I was able to successfully build and install the packages under Ubuntu 22.04 with the build-pkg script. Thanks.

     
  • John L. Chmielewski

    The Debian rules make file was modified so build-pkg does not require the symbolic like anymore. Further, build-pkg will build 32-bit or 64-bit binary packages, depending on the OS The new build-pkg will require release 1.15 when it comes out.

     
  • John L. Chmielewski

    • status: open --> closed
    • assigned_to: John L. Chmielewski
     

Anonymous
Anonymous

Add attachments
Cancel