Ilario Gelmetti:
> On 8/26/20 7:38 PM, amuza wrote:
>> I need to install a program in a Lime router (built based on OpenWRT 18.06)
>>
>> First I have done `opkg update`. It updated some lists of packages but I
>> also got the following errors:
>>
>> --------------------
>> * opkg_download: Failed to download
>>
http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mips_24kc/lib…,
>> wget returned 8.
>> * opkg_download: Failed to download
>>
http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mips_24kc/lib…,
>> wget returned 8.
>> * opkg_download: Failed to download
>>
http://snapshots.libremesh.org/packages/mips_24kc/libremesh/Packages.gz,
>> wget returned 4.
>> --------------------
>
> Sorry, it's because we're compiling the "openwrt-18.06" branch
instead
> of the "v18.06.8" tag (you can see all the tags here [1]). When I edited
> the development page on the website I didn't think about the drawbacks
> (at that time the reason was that we needed a commit which was not
> included yet in any tag).
> The binary repositories are available only for tagged releases, that's
> why you cannot find the packages using OPKG.
> I just edited the webpage (just changed one line) indicating the tag: [2].
>
> So that now the command for downloading the OpenWrt code is:
>
> git clone -b v18.06.8 --single-branch
>
https://git.openwrt.org/openwrt/openwrt.git
>
> Maybe you can use the same directory you were using, after some clean
> and dirclean, but it's better if you just download again in a clean way.
> Sorry for the mess.
> Ciao,
> Ilario
>
> PS in the same way, if you want to compile on top of OpenWrt 19.07, just
> replace v18.06.8 with v19.07.3
>
> [1]
https://git.openwrt.org/?p=openwrt/openwrt.git;a=tags
>
> [2]
>
https://libremesh.org/development.html#compiling_libremesh_from_source_code
>
>
Sooo nice message Ilario!! I was fighting now with another program I
wanted to install, which was giving me the same kind of problems. I will
do everything again. Thank you!
I tried with 18.06.8 but got similar results when using opkg. "opkg
update" gave me some errors too:
* opkg_download: Failed to download
,
wget returned 4.
* opkg_download: Check your network settings and connectivity.
And when trying to install the program I got this:
root@MV-7ab7ec:~# opkg install tc
Installing tc (4.16.0-8) to root...
Downloading
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies
for tc:
* kernel (= 4.9.214-1-2b8f9dfe583e5c09aadd9474da55137f)
* opkg_install_cmd: Cannot install package tc.
root@MV-7ab7ec:~#