Opkg update failed


I am trying to install the ds-lite package.
However, i need to update opkg, below is the issue: -

diak@AFTR:~$ sudo opkg update
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/base/Packages.gz.
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/packages/Packages.gz.
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/luci/Packages.gz.
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/routing/Packages.gz.
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/telephony/Packages.gz.
Downloading http://openwrtmirror.example.com/chaos_calmer/15.05/ar71xx/generic/packages/management/Packages.gz.
Collected errors:

Any input is appreciated.


Are you using a proper openwrt release?

openwrtmirror.example.com doesn't sound like you do.

1 Like

I simply just cloned the main repository of OpenWrt: -

Should I do it differently ?

OpenWrt 15.05 aka Chaos Calmer is no longer supported.
Check out the latest release for your router model.

1 Like

Edit with:



I deleted the old version (the master), then downloaded the new one 19.07 using the command below:

git clone --single-branch --branch openwrt-19.07 https://github.com/openwrt/openwrt.git

However, I keep getting the same error, I don't know what's wrong with my installation process.

Btw: I am using Debian's virtual machine, the intention is to build a ds-lite AFTR router, so there is actual router firmware installed.


I don't understand, how can I edit it ?
The link you posted in the same "chaos_calmer" that shows up in my error above.

What is the reason you are trying to build from source code instead of using imagebuilder or just downloading and installing the official release images

1 Like

And how would I do that?
Can you please explain the steps?
Exceuse my ignorance regarding this matter

What is the make and model of your router

1 Like

I have no router, I wanted to install Opnewrt on my virtual Debian machine.

I wanted to build the ds-lite AFTR function which is a router that performs IP4 / IPv6 encapsulation, decapuslation and NAT44.

See the topolgy here: -

diak@AFTR:~/openwrt$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION="8 (jessie)"

First read the documentation


Then download the appropriate image from here


Or here


1 Like

Thanks, will give it a shot.