I am using "21.02.1, r16325-88151b8303" stable release on a Yun without any problems except when trying to install "gcc" package from "opkg".I tried downloading the package with "wget" and installing the offline package and the process automatically returns to downloading the package again then eventually ends up at the same result.
root@OpenWrt:~# opkg install gcc
Installing gcc (7.4.0-5) to root...
Downloading https://downloads.openwrt.org/releases/21.02.1/packages/mips_24kc/packages/gcc_7.4.0-5_mips_24kc.ipk
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02.1/packages/mips_24kc/packages/gcc_7.4.0-5_mips_24kc.ipk, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_install_pkg: Failed to download gcc. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package gcc.
Only this package rises this error, not others. Any idea what might be causing this ?
-d <dest_name> Use <dest_name> as the the root directory for
--dest <dest_name> package installation, removal, upgrading.
<dest_name> should be a defined dest name from
the configuration file, (but can also be a
directory name in a pinch).
I guess sd is in that file?
Also see -o:
-o <dir> Use <dir> as the root directory for
--offline-root <dir> offline installation of packages.
It seems you need -o instead (I may be wrong), as it seems -d obtains the file from the online repository.