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
I tried to compile with the newer OpenWRT, but I got this:
amuza@compu:~/git$ git clone -b v19.07.03 --single-branch
Cloning into 'openwrt'...
warning: Could not find remote branch v19.07.03 to clone.
fatal: Remote branch v19.07.03 not found in upstream origin
amuza@compu:~/git$