Since I'm still using an old RPI2 for this (which is more than capable) the "compile/install from source" option was used following the instructions from the manual under section "DEB Package Install for Debian, raspios and Ubuntu". I just wanted to mention a couple things found from doing this:
- for the Python3 packages the ones listed are python3-pytz python3-phonenumbers python3-dialog
but the "python3-pytz" package could not be found, I believe this list should be python3-pytz-deprecation-shim python3-phonenumbers python3-dialog
the last step in this section states
"Copy ncid-<version>-src.tar.gz to any convenient directory, then type the following, where <os> is debian, raspbian or ubuntu:"
but "raspbian" is not valid and needs to be replaced with "raspios"</os></version>
And rather than manually using the commands shown in this section to build the installer, I found this "script" somewhere else in the docs that makes this process a little easier: export ID; ID=sed '/^ID=/!d;s,^.=,,' /etc/os-releaseOS=sed '/^VERSION_CODENAME=/!d;s,^.=,,' /etc/os-release[ "$ID" != "ubuntu" ] && ID="raspios"
tar -xzf ncid-1.16-src.tar.gz
mv ncid ncid-1.16
cd ncid-1.16
fakeroot Debian/rules build
fakeroot Debian/rules binary
fakeroot Debian/rules clean
cd ..
ls | grep arm64 > /dev/null &&
rename "s/arm64/${ID}_${OS}_arm64/" ${pkg}*_arm64.deb
ls | grep armf > /dev/null &&
rename "s/armhf/${ID}_${OS}_armhf/" ${pkg}*_armhf.deb
ls | grep aarch64 > /dev/null &&
rename "s/aarch64/${ID}_${OS}_aarch64/" ${pkg}*_arch64.deb
Thanks again for creating and maintaining this software!
Last edit: Chad Scott 2024-06-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Only the 64-bit version of raspios is provided. The 32-bit version needs to be compiled. Surprised you found my script used to build the release.
Thanks for the info on changes needed.
The python3-pytz was correct until it was depreciated and recently removed. It is still installed so the app install package was built correctly. We need to review and fix the use that pytz provided for ncid.
The phonetz.tgz file still makes no difference to the build.
(trying) to follow the official instructions which are very confusing I must say, I after 3 weeks found this page and thought it would help. But it doesn't
The file in the zip does extract and the instructions do work but when i go to install the client it get the same old error
Tried it with gdebi
The following packages have unmet dependencies:
ncid-client : Depends: python3-pytz but it is not installable
Tried it with dpkg
Unpacking ncid-client (1.16-1) ...
dpkg: dependency problems prevent configuration of ncid-client:
ncid-client depends on bsd-mailx; however:
Package bsd-mailx is not installed.
ncid-client depends on ncat; however:
Package ncat is not installed.
ncid-client depends on python3-pytz; however:
Package python3-pytz is not installed.
Ran
sudo apt-get install -f
twice
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: python3-pytz
I'm trying to get my ncid back working after a crash again and i can get everything except the client installed.
If the above phonetz is supposed to remove the dependency, can you please supply the correct line to install the client from and what directory i need to install if from as well please.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, there does not seem to be a current 32 bit version available, i.e.
ncid_1.16-1_raspios_bookworm_armhf.deb
like there was for v1.15
ncid_1.15-1_raspios_bullseye_armhf.deb
Is that something new for the current version, or am I just missing it?
Thanks,
Chad.
Since I'm still using an old RPI2 for this (which is more than capable) the "compile/install from source" option was used following the instructions from the manual under section "DEB Package Install for Debian, raspios and Ubuntu". I just wanted to mention a couple things found from doing this:
- for the Python3 packages the ones listed are
python3-pytz python3-phonenumbers python3-dialog
but the "python3-pytz" package could not be found, I believe this list should be
python3-pytz-deprecation-shim python3-phonenumbers python3-dialog
the last step in this section states
"Copy ncid-<version>-src.tar.gz to any convenient directory, then type the following, where <os> is debian, raspbian or ubuntu:"
but "raspbian" is not valid and needs to be replaced with "raspios"</os></version>
And rather than manually using the commands shown in this section to build the installer, I found this "script" somewhere else in the docs that makes this process a little easier:
export ID; ID=
sed '/^ID=/!d;s,^.=,,' /etc/os-releaseOS=
sed '/^VERSION_CODENAME=/!d;s,^.=,,' /etc/os-release[ "$ID" != "ubuntu" ] && ID="raspios" tar -xzf ncid-1.16-src.tar.gz mv ncid ncid-1.16 cd ncid-1.16 fakeroot Debian/rules build fakeroot Debian/rules binary fakeroot Debian/rules clean cd .. ls | grep arm64 > /dev/null && rename "s/arm64/${ID}_${OS}_arm64/" ${pkg}*_arm64.deb ls | grep armf > /dev/null && rename "s/armhf/${ID}_${OS}_armhf/" ${pkg}*_armhf.deb ls | grep aarch64 > /dev/null && rename "s/aarch64/${ID}_${OS}_aarch64/" ${pkg}*_arch64.deb
Thanks again for creating and maintaining this software!
Last edit: Chad Scott 2024-06-05
Hi Chad,
Only the 64-bit version of raspios is provided. The 32-bit version needs to be compiled. Surprised you found my script used to build the release.
Thanks for the info on changes needed.
The python3-pytz was correct until it was depreciated and recently removed. It is still installed so the app install package was built correctly. We need to review and fix the use that pytz provided for ncid.
If interested, review pytz_deprecation_shim: Shims to help you safely remove pytz It explains why pytz was removed.
Hi Chad,
A new phonetz.py is available. The attached phonetz.tgz archive contains it.
The python3 requirements reduce to python3-phonenumbers, python3-dialog
Replace ncid/tools/phonetz.py, build the executable and install it:
Hi
The phonetz.tgz file still makes no difference to the build.
(trying) to follow the official instructions which are very confusing I must say, I after 3 weeks found this page and thought it would help. But it doesn't
The file in the zip does extract and the instructions do work but when i go to install the client it get the same old error
Tried it with gdebi
The following packages have unmet dependencies:
ncid-client : Depends: python3-pytz but it is not installable
Tried it with dpkg
Unpacking ncid-client (1.16-1) ...
dpkg: dependency problems prevent configuration of ncid-client:
ncid-client depends on bsd-mailx; however:
Package bsd-mailx is not installed.
ncid-client depends on ncat; however:
Package ncat is not installed.
ncid-client depends on python3-pytz; however:
Package python3-pytz is not installed.
Ran
sudo apt-get install -f
twice
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: python3-pytz
I'm trying to get my ncid back working after a crash again and i can get everything except the client installed.
If the above phonetz is supposed to remove the dependency, can you please supply the correct line to install the client from and what directory i need to install if from as well please.
Thank you
Hi Chad,
First you need to verify phonetz:
It phonetz does not have execute permission, make it executable.:
If the ls fails or is not the correct size (1357), reinstall phonetz from the phonetz.tgz above attachment:
Did you try to install the client using apt? It should install the missing dependencies:
If it fails, you need to download the source, build and install the client.
First add the missing required packages: DEB Package Install for Debian, raspios and Ubuntu
Next build and install just the client. also make sure to copy phonetz to /usr/bin:
My stupid suggestion: try installing an older version that doesn't need phonetz.
It was new in 1.14, so 1.13.2 can be found here:
https://sourceforge.net/projects/ncid/files/ncid/1.13/