Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
plche opened this issue Jul 12, 2020 · 0 comments
Open

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

plche opened this issue Jul 12, 2020 · 0 comments

Comments

@plche
Copy link

plche commented Jul 12, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant