Hi. Having trouble with client install on a Raspberry Pi400.
1) Started with a new image of PiOS Desktop with recommended applications.
2) Then installed all the packages listed at the beginning of the “DEB Package Install for Debian, raspios and Ubuntu” section of the User Manual.
3) Then “sudo apt install ./ncid_1.14-1_raspios_bullseyes_armhf.deb” which went fine.
4) Then “sudo apt install ./ncid-client_1.14-1_all.deb” which did not.
Errors were encountered while processing:
/tmp/apt-dpkg-install-uaYahB/8-ncid-client_1.14-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ncidd will startup just fine. But no client—no script in /bin, no configuration file in /etc/ncid, no desktop file in /usr/share/applications, etc.
Need help—how to properly install the client on a Raspberry Pi400?
Thanks very much, Jeff
Anonymous
John,
Thanks very much for the reply, and for making ncid available to all. I
have been using it for years on a now 12 year old desktop and it really
helps a lot. I had to buy a new power supply for the old desktop and
realized I spent more than a new Pi400. The OS I installed is:
Raspberry Pi OS with desktop and recommended software
Release date: May 3rd 2023
System: 32-bit
Kernel version: 6.1
Debian version: 11 (bullseye)
Size: 2,701MB
Show SHA256 file integrity hash:
I had originally tried 1.13 on the 64 bit and failed, thought 1.14 might
work on the 32 bit. I don't quite understand your last sentence. Are
you saying just install anything else with apt, a game or whatever to
clear the error? It did not make sense to me because it seems like
installing zstd did not clear the error? Or are you saying just reimage
the SD card and follow the procedure as before, just add installation of
zstd before the two .deb files?
I am very impressed and thankful you are still involved in ncid after so
much time. Maybe inappropriate or unwanted (if so ignore and I
apologize)--a suggestion for a potential feature. Many robocalls just
repeat the number (with or without the 1, with or without the dashes) in
the name. Perhaps an option to screen out calls with the number, or the
last 4 digits of the number in the name field?
Thanks very much, Jeff
On 7/2/23 16:23, John L. Chmielewski wrote:
Related
Support Requests:
#22The package was created on a Raspberry Pi 32-bit OS, not the Pi400 running a 64-bit OS. which is what I assume you are running.
I do have a NCID package built on the Pi400. The NCID client installs and runs OK. I then tried to install the released client package and got:
The package installs OK on 32-bit versions of raspios, but not the Pi400.
The compressing problem is known and discussed on the web. The solution is to install the zstd package.
After zstd was installed, apt kept kept giving this error trying to install ncid-client. Probably because the package failed to install the first time:
Installing zstd allowed the ncid-client package to be installed after the above error was eliminated.
The error was eliminated it by installing another independent package and then installing ncid-client.
After the ncid-client failed, I tried again and got the E: Unsupported error. I then installed zst and continued to get the error instead of it going away. Maybe it's because I am running the 64-bit OS on the Pi400.
In any event, if you get the error, you need to clear it, anyway you can. A reinstall will definitely clear it if installing another independent (*_all.deb) package does not clear it.
Installing zstd will allow ncid-client to be installed if there is no eror pending from a previous install of the program.
As far as your suggestion goes, it is already supported. Select a line in the history window.
Right click it to bring up the context menu, and click on the ADD/MODIFY/REMOVE line. You can select entries with the number having a leadering 1 and also without a leading 1.
You can reduce the number to the last 4 digits, but doing that will catch numbers you may want.
You can also do:
which will match <number> with or without the leading 1.
I do not know which previous NCID version you were running so maybe this is helpful..
The ncid-client will initially display columns as it did in previous versions. There is more useful information if you configure for typical columns. Actually, you can select columns wanted.
John
Thanks for all the info. Still having issues, but won't bother you for
a few days as it is a holiday. Have a happy 4th, Jeff
On 7/3/23 06:59, John L. Chmielewski wrote:
Related
Support Requests:
#22John,
ncid is working on my Pi400. With either the 32 bit or 64 bit OS,
always got an error trying to use the .deb files--even with zstd
installed, dpkg does not know what to do with the zst files. But just
compiling from source on the Pi400 works. One note--next time you
update the User Manual, os needs to be changed from raspbian to raspios.
I think I was not very clear on my suggestion. The suggestion is to add
a different type of match--not just compare number and name to blacklist
and whitelist files. I get a quantity of spam calls like this one:
CID:
DATE06082023TIME1011LINEPOTSNMBR2052028670MESGNONEFNMBR205-202-8670NTYPEFIX/CELLCTRYUSLOCABirmingham,
ALCARIBRIGHT HOUSE NTWS INFORMATION SVCS (ALABAMA) - ALNAME+12052028670*
It is a new number, not in the blacklist file. The NAME is just a
repeat of the NMBR in some form. So the suggestion is to compare the
NAME to the CID NMBR. Reject the call if the NAME includes the 10 digit
CID NMBR, or maybe the last 4 digits of the CID NMBR, or the 10 digit
CID NMBR with dashes. Just a thought. Not sure if such a rule would
reject desired calls, but I have not seen a real person or real business
with the number in the name.
Thanks for all your help and patience with my stumbling.
Jeff
On 7/3/23 14:37, Jeff Elliott wrote:
Related
Support Requests:
#22I was not clear in my instructions. You should use apt, not dpkg. Apt will use zst and also install any dependent packages. I did verify that apt was able to install ncid-client 1.14 after the zst package was installed.
I changed all remaining instances of Raspbian to raspios except when it calls a distribution Raspbian Jessie. I did not find any links for raspios Jessie. Thanks for pointing out that I missed some instances of Raspbian in the user manual.
I noticed that Ed already replied about using the hangup-fakenum extension. I use the extension and I also use the blacklist to hangup on a name of <city> <state>$, for example, these are my lines for FL and NJ in ncidd.blacklist (the city part changes so it is ignored):
Last edit: John L. Chmielewski 2023-07-08
John,
Thanks. Good to know the deb files work. I also use cities, states and
area codes in blacklist.
All I can really say is Wow--you and the team have really put in a lot
of thought and done a lot of good work. We were getting ~10 robocalls a
day and ncid cut that down to ~1. With fakenum I expect a lot of days
with none getting through. I have the phone set to silence the first
ring, so it is much more peaceful.
Thanks to you and Ed, Jeff
P.S. Am I supposed to close out the sourceforge ticket or is that
something you do, not sure of the protocol?
On 7/7/23 17:26, John L. Chmielewski wrote:
Related
Support Requests:
#22The hangup-fakenum extension does exactly what you're asking for, hanging up on callers with numeric names. It applies a few rules to weed out callers with unlikely numbers, and it can also read a list of valid area codes.
The user manual has information on setting up extensions.
Ed,
Thanks. Sorry I did not see that in the manual, Jeff
On 7/7/23 13:30, Ed Attfield wrote:
Related
Support Requests:
#22solved