Skip to content

dpkg: error processing archive connectd_2.5.37_amd64.deb (--install) #126

@plche

Description

@plche

Steps to reproduce:

  1. curl -LkO https://raw.githubusercontent.com/remoteit/installer/master/scripts/auto-install.sh
  2. chmod +x ./auto-install.sh
  3. sudo ./auto-install.sh

Output:

curl found
********************************************************
remote.it platform and binary tester version 2.5.37
Current directory /home/ubuntu
Sun Jul 12 20:39:33 UTC 2020
********************************************************
Linux ip-172-31-48-5 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Detected architecture is x86_64
/usr/bin/dpkg
Debian OS detected.
amd64 architecture detected.

Downloading and testing connectd.x86_64-ubuntu16.04...
connectd.x86_64-ubuntu16.04 is compatible!
filename connectd_2.5.37_amd64.deb
filepath https://github.com/remoteit/installer/releases/download/v2.5.37/connectd_2.5.37_amd64.deb
dpkg-deb: error: 'connectd_2.5.37_amd64.deb' is not a Debian format archive
dpkg: error processing archive connectd_2.5.37_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 connectd_2.5.37_amd64.deb
dpkg error!

Listing directory contents:

root@ip-172-31-48-5:/home/ubuntu# ls -ltr
total 184
-rwxr-xr-x 1 root root  12602 Jul 12 20:39 auto-install.sh
-rwxr-xr-x 1 root root 162872 Jul 12 20:39 connectd.x86_64-ubuntu16.04
-rw-r--r-- 1 root root      9 Jul 12 20:39 connectd_2.5.37_amd64.deb

Determining the cause of the error:
The size of the binary connectd_2.5.37_amd64.deb reveals there is a problem with it, and actually it only contains Not found. That is correct because the file connectd_2.5.37_amd64.deb is missing in connectd v.2.5.37 release.

Workaround:

  1. Edit file auto-install.sh, find 2.5.37 and replace it with 2.5.36 for instance, you could do it like this in your terminal:
    sed -i 's/2.5.37/2.5.36/' auto-install.sh
  2. Run again installer script: sudo ./auto-install.sh
  3. Continue with: sudo connectd_installer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions