Hi,
After several trial-and-error sessions (actually after too many resets ), I found a way to update all but most LuCI packages on my device (flashed with openwrt-18.06.1-ar71xx-generic-archer-c7-v4-squashfs-factory.bin first), because I saw the snapshot version of LuCI and liked it a lot, but core system is not running that much good.
(Although some people Updating packages on LEDE with OPKG prefer not doing so.)
Note: Errors added below the corresponding packages.
Here are the steps:
1) After resetting the router, you have to change the password using LuCI and also set a SSH key as a backup. You can start changing things after these.
2) First update the packages list on PuTTY (or else):
opkg update
3) List upgradable packages:
opkg list-upgradable
Current upgrade path:
luci-lib-ip - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
luci-theme-bootstrap - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
netifd - 2018-07-30-a0a1e52e-1 - 2018-10-07-d0fa124e-1
luci-app-firewall - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
odhcp6c - 2018-07-14-67ae6a71-14 - 2018-07-14-67ae6a71-14.1
uclient-fetch - 2018-08-03-ae1c656f-1 - 2018-11-24-3ba74ebc-1
libuclient - 2018-08-03-ae1c656f-1 - 2018-11-24-3ba74ebc-1
dropbear - 2017.75-5 - 2017.75-5.1
Collected errors:
- resolve_conffiles: Existing conffile /etc/dropbear/dropbear_rsa_host_key is different from the conffile in the new package. The new conffile will be placed at /etc/dropbear/dropbear_rsa_host_key-opkg.
- resolve_conffiles: Existing conffile /etc/config/dropbear is different from the conffile in the new package. The new conffile will be placed at /etc/config/dropbear-opkg.
libjson-c - 0.12.1-1 - 0.12.1-2
luci-proto-ppp - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
luci-mod-admin-full - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
libubox - 2018-07-25-c83a84af-1 - 2018-07-25-c83a84af-2
luci-base - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
Collected errors:
- resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.
libjson-script - 2018-07-25-c83a84af-1 - 2018-07-25-c83a84af-2
luci-proto-ipv6 - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
libblobmsg-json - 2018-07-25-c83a84af-1 - 2018-07-25-c83a84af-2
jshn - 2018-07-25-c83a84af-1 - 2018-07-25-c83a84af-2
uhttpd - 2018-06-26-796d42bc-1 - 2018-11-28-cdfc902a-1
luci-lib-nixio - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
luci-lib-jsonc - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
luci - git-18.228.31946-f64b152-1 - git-18.340.83383-3dea6b5-1
4) And upgrade packages one-by-one (someone might prefer other ways):
opkg upgrade XXX
5) Reboot
6) After all updates seem to be fine for you, you have to change the Distribution Feeds.
From this:
src/gz openwrt_core http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/packages
src/gz openwrt_base http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base
src/gz openwrt_luci http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci
src/gz openwrt_packages http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages
src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing
src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony
To this (my preference, one might comment on this one):
src/gz openwrt_core http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/packages
src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/mips_24kc/base
src/gz openwrt_luci http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci
src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages
src/gz openwrt_routing http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing
src/gz openwrt_telephony http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony
7) Update the packages list on PuTTY again:
opkg update
8) List upgradable packages:
opkg list-upgradable
9) And upgrade packages,
opkg upgrade XXX
by selecting from this list:
ubus - 2018-07-26-40e0931e-1 - 2018-10-06-221ce7e7-1
rpcd - 2018-08-16-41333abe-1 - 2018-11-22-c79ef222-1
busybox - 1.28.3-4 - 1.29.3-3
luci-lib-ip - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
libubus-lua - 2018-07-26-40e0931e-1 - 2018-10-06-221ce7e7-1
luci-theme-bootstrap - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
netifd - 2018-10-07-d0fa124e-1 - 2018-11-26-dfa4ede4-1
procd - 2018-03-28-dfb68f85-1 - 2018-11-23-d6673547-1
ubusd - 2018-07-26-40e0931e-1 - 2018-10-06-221ce7e7-1
firewall - 2018-07-26-aa8846bb-1 - 2018-12-06-14589c80-2
luci-app-firewall - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
odhcp6c - 2018-07-14-67ae6a71-14.1 - 2018-07-14-67ae6a71-16
wpad-mini - 2018-04-09-fa617ee6-5 - 2018-05-21-62566bc2-6
dropbear - 2017.75-5.1 - 2017.75-8 (this one is problematic, avoided on later tries)
Collected errors:
- resolve_conffiles: Existing conffile /etc/dropbear/dropbear_rsa_host_key is different from the conffile in the new package. The new conffile will be placed at /etc/dropbear/dropbear_rsa_host_key-opkg.
- resolve_conffiles: Existing conffile /etc/config/dropbear is different from the conffile in the new package. The new conffile will be placed at /etc/config/dropbear-opkg.
odhcpd-ipv6only - 1.10-1 - 1.13-3
luci-proto-ppp - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
ppp - 2.4.7-12 - 2.4.7-14
luci-mod-admin-full - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
luci-base - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
Collected errors:
- resolve_conffiles: Existing conffile /etc/config/luci is different from the conffile in the new package. The new conffile will be placed at /etc/config/luci-opkg.
luci-proto-ipv6 - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
libubus - 2018-07-26-40e0931e-1 - 2018-10-06-221ce7e7-1
luci-lib-nixio - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
ath10k-firmware-qca988x - 2018-04-19-71e50312-1 - 2018-10-18-d8775336-1
luci-lib-jsonc - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
luci - git-18.340.83383-3dea6b5-1 - git-18.345.21395-b94be57-1
hostapd-common - 2018-04-09-fa617ee6-5 - 2018-05-21-62566bc2-6
ppp-mod-pppoe - 2.4.7-12 - 2.4.7-14
This way, I could access later LuCI packages.
Comments are welcome.
Thank you!...