Menu

#22 Raspberry Pi400 Install help

v1.0_(example)
closed
None
1
2023-07-08
2023-07-02
No

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

Related

Support Requests: #22

Discussion

  • John L. Chmielewski

    • assigned_to: John L. Chmielewski
     
    • Jeff Elliott

      Jeff Elliott - 2023-07-03

      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:

      • assigned_to: John L. Chmielewski
      • Comment:

      The 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:

      |dpkg-deb:error:archive'/home/jlc/src/ncid/x/ncid-client_1.14-1_all.deb'uses
      unknowncompressionformember'control.tar.zst',givingup
      dpkg:errorprocessingarchive/home/jlc/src/ncid/x/ncid-client_1.14-1_all.deb(
      --unpack) dpkg-deb--controlsubprocessreturnederrorexitstatus2 |

      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:

      |E:Unsupportedfie./ncid-clientoncommandline. |

      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.


      [support-requests:#22]
      https://sourceforge.net/p/ncid/support-requests/22/ Raspberry Pi400
      Install help

      Status: open
      Group: v1.0_(example)
      Created: Sun Jul 02, 2023 06:10 PM UTC by Jeff Elliott
      Last Updated: Sun Jul 02, 2023 06:10 PM UTC
      Owner: John L. Chmielewski

      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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ncid/support-requests/22/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #22

  • John L. Chmielewski

    The 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:

    dpkg-deb: error: archive '/home/jlc/src/ncid/x/ncid-client_1.14-1_all.deb' uses
    unknown compression for member 'control.tar.zst', giving up
    dpkg: error processing archive /home/jlc/src/ncid/x/ncid-client_1.14-1_all.deb (
    --unpack)
     dpkg-deb --control subprocess returned error exit status 2
    

    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:

    E: Unsupported fie ./ncid-client on command line.
    

    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.

     
  • John L. Chmielewski

    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:

    ^1?<number>
    

    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.

     
    • Jeff Elliott

      Jeff Elliott - 2023-07-03

      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:

      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:

      |^1?<number> |</number>

      which will match <number> with or without the leading 1.</number>

      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.


      [support-requests:#22]
      https://sourceforge.net/p/ncid/support-requests/22/ Raspberry Pi400
      Install help

      Status: open
      Group: v1.0_(example)
      Created: Sun Jul 02, 2023 06:10 PM UTC by Jeff Elliott
      Last Updated: Sun Jul 02, 2023 11:23 PM UTC
      Owner: John L. Chmielewski

      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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ncid/support-requests/22/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #22

      • Jeff Elliott

        Jeff Elliott - 2023-07-07

        John,

        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:

        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:

        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:

        |^1?<number> |</number>

        which will match <number> with or without the leading 1.</number>

        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.


        [support-requests:#22]
        https://sourceforge.net/p/ncid/support-requests/22/ Raspberry Pi400
        Install help

        Status: open
        Group: v1.0_(example)
        Created: Sun Jul 02, 2023 06:10 PM UTC by Jeff Elliott
        Last Updated: Sun Jul 02, 2023 11:23 PM UTC
        Owner: John L. Chmielewski

        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


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/ncid/support-requests/22/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Support Requests: #22

        • John L. Chmielewski

          I 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):

          " FL$"
          " NJ$"
          
           

          Last edit: John L. Chmielewski 2023-07-08
          • Jeff Elliott

            Jeff Elliott - 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:

            I 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 for calling 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):</state></city>

            |" FL$" " NJ$" |

            [support-requests:#22]
            https://sourceforge.net/p/ncid/support-requests/22/ Raspberry Pi400
            Install help

            Status: open
            Group: v1.0_(example)
            Created: Sun Jul 02, 2023 06:10 PM UTC by Jeff Elliott
            Last Updated: Fri Jul 07, 2023 08:30 PM UTC
            Owner: John L. Chmielewski

            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


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/ncid/support-requests/22/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/

             

            Related

            Support Requests: #22

  • Ed Attfield

    Ed Attfield - 2023-07-07

    The 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.

     
    • Jeff Elliott

      Jeff Elliott - 2023-07-07

      Ed,

      Thanks.  Sorry I did not see that in the manual, Jeff

      On 7/7/23 13:30, Ed Attfield wrote:

      The 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.


      [support-requests:#22]
      https://sourceforge.net/p/ncid/support-requests/22/ Raspberry Pi400
      Install help

      Status: open
      Group: v1.0_(example)
      Created: Sun Jul 02, 2023 06:10 PM UTC by Jeff Elliott
      Last Updated: Mon Jul 03, 2023 01:59 PM UTC
      Owner: John L. Chmielewski

      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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ncid/support-requests/22/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #22

  • John L. Chmielewski

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

    solved

     

Anonymous
Anonymous

Add attachments
Cancel