toltec: Unable to install from bootstrap script (package list fails to download from entware)

Hello lovely people-

Many apologies if this has already been posted, but I couldn’t find it.

I’m trying to install on my RM2 for the first time, using the bootstrap script, RM version 2.6.2.75. Here’s the output:

bootstrap: OK
INFO:  Fetching secure wget
INFO:  Creating /home/root/.entware and mounting to /opt
INFO:  Installing Entware to /opt
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:15 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg [752476/752476] -> "/opt/bin/opkg" [1]
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:17 URL:https://bin.entware.net/armv7sf-k3.2/installer/opkg.conf [171/171] -> "/opt/etc/opkg.conf" [1]
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:25 URL:https://bin.entware.net/armv7sf-k3.2/installer/ld-2.27.so [134428/134428] -> "/opt/lib/ld-2.27.so" [1]
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:28 URL:https://bin.entware.net/armv7sf-k3.2/installer/libc-2.27.so [1247408/1247408] -> "/opt/lib/libc-2.27.so" [1]
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:29 URL:https://bin.entware.net/armv7sf-k3.2/installer/libgcc_s.so.1 [50848/50848] -> "/opt/lib/libgcc_s.so.1" [1]
failed: Network is unreachable.
failed: Network is unreachable.
2021-04-02 01:52:31 URL:https://bin.entware.net/armv7sf-k3.2/installer/libpthread-2.27.so [92656/92656] -> "/opt/lib/libpthread-2.27.so" [1]
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing entware-opt (227000-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-opt_227000-3_all.ipk
Installing libgcc (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libgcc_8.4.0-11_armv7-3.2.ipk
Installing libc (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libc_2.27-11_armv7-3.2.ipk
Installing libssp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libssp_8.4.0-11_armv7-3.2.ipk
Installing libpthread (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpthread_2.27-11_armv7-3.2.ipk
Installing librt (2.27-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/librt_2.27-11_armv7-3.2.ipk
Installing libstdcpp (8.4.0-11) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libstdcpp_8.4.0-11_armv7-3.2.ipk
Installing entware-release (1.0-2) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-release_1.0-2_all.ipk
Installing zoneinfo-asia (2021a-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-asia_2021a-1_armv7-3.2.ipk
Installing zoneinfo-europe (2021a-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zoneinfo-europe_2021a-1_armv7-3.2.ipk
Installing findutils (4.7.0-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/findutils_4.7.0-3_armv7-3.2.ipk
Installing terminfo (6.2-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/terminfo_6.2-1_armv7-3.2.ipk
Installing libpcre (8.44-4) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/libpcre_8.44-4_armv7-3.2.ipk
Installing grep (3.6-1a) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/grep_3.6-1a_armv7-3.2.ipk
Installing locales (2.27-9) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/locales_2.27-9_armv7-3.2.ipk
Installing opkg (2020-12-24-9bbc7eae-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/opkg_2020-12-24-9bbc7eae-1_armv7-3.2.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/entware-upgrade_1.0-1_all.ipk
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring libpthread.
Configuring librt.
Configuring terminfo.
Configuring libpcre.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required.
Configuring opkg.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring libstdcpp.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
INFO:  Adding the Toltec stable repository
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading https://toltec-dev.org/stable/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec
Installing ca-certificates (20210119-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/ca-certificates_20210119-1_all.ipk
Installing wget-nossl (1.21.1-1) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/wget-nossl_1.21.1-1_armv7-3.2.ipk
Installing zlib (1.2.11-3) to root...
Downloading https://bin.entware.net/armv7sf-k3.2/zlib_1.2.11-3_armv7-3.2.ipk
Configuring ca-certificates.
Configuring zlib.
Configuring wget-nossl.
Downloading https://bin.entware.net/armv7sf-k3.2/Packages.gz
*** Failed to download the package list from https://bin.entware.net/armv7sf-k3.2/Packages.gz

Downloading https://toltec-dev.org/stable/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/toltec
Collected errors:
 * opkg_download: Failed to download https://bin.entware.net/armv7sf-k3.2/Packages.gz, wget returned 8.
ERROR: Unexpected error on line bootstrap:251 in function toltec-install
ERROR: This script failed to install. If you can't solve the above
       issue yourself, please report it at:

Internet access from the remarkable seems fine, and I can download the entware package list from other devices on my LAN.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @briankaemingk. Based on the output you provided, I think you’re seeing a separate issue. It appears that you’re using the testing branch, whose directory layout has recently been changed (see #310). To fix your issue, you have two choices:

  • Revert back to the stable branch, which still has the old repository layout. When we move the new layout to the stable branch, it will have an automatic transition mechanism in place so you won’t have to edit your configuration again. In general, the testing branch is only intended for devs to test packages and features more thoroughly before they land in stable. So if you wish to avoid similar issues in the future, I would advise moving back to the stable branch (at the cost of having slightly older packages). To do this change, you need to edit /opt/etc/opkg.conf on your device, replace each occurrence of testing with stable, then run opkg update && opkg upgrade.

  • Update your configuration for the new repository layout in testing. To do this, you need to download the updated bootstrap script (not the one hosted at https://toltec-dev.org/bootstrap) and run it on your device with bash bootstrap. The script will detect your existing install and automatically update its configuration.

All of this does not apply to @IvoryTinplate since their logs show that they’re using the stable branch.