Please help me to understand what is wrong here.
root@LEDE:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig
Signature check passed.
...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig
Signature check passed.
If I run opkg update for a second time it gives "Signature check failed":
root@LEDE:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig
Signature check failed.
Remove wrong Signature file.
These return nothing:
root@LEDE:~# opkg upgrade luci
root@LEDE:~# opkg list-upgradable
Run it again, all seems fine:
root@LEDE:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig
Signature check passed.
...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig
Signature check passed.
opkg list-upgradable is working now:
root@LEDE:~# opkg list-upgradable
luci-lib-ip - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
...
luci - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
Trying to upgrade gives "Failed to verify the signature...":
root@LEDE:~# opkg upgrade luci
Upgrading luci on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci_git-18.219.52706-a49e4e4-1_all.ipk
Collected errors:
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
root@LEDE:~#