[RESOLVED] How to Upgrade so many files?

Today, in CLI, I ran opkg list-upgradeable. The terminal returned quite a few packages. How do I upgrade them all at once? One at a time? In a particular order? Or are these installed if I upgrade to the 19.xx firmware? I have read about 19.xx and see that some are having problems. I'm happy to try the 19.xx, but am not understanding what to do thoroughly. And are the DLNA separate packages that are manually upgraded?

Here is the list:

root@OpenWrt:~# opkg list-upgradable
opkg - 2019-06-14-dcbc142e-1 - 2020-01-25-c09fe209-1
luci-lib-ip - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
nano - 4.7-1 - 4.8-1
luci-theme-bootstrap - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
luci-app-firewall - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
luci-proto-ppp - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
ppp - 2.4.7-12 - 2.4.7-13
luci-mod-admin-full - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
libubox - 2018-07-25-c83a84af-2 - 2018-07-25-c83a84af-4
luci-base - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
libjson-script - 2018-07-25-c83a84af-2 - 2018-07-25-c83a84af-4
luci-proto-ipv6 - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
libblobmsg-json - 2018-07-25-c83a84af-2 - 2018-07-25-c83a84af-4
jshn - 2018-07-25-c83a84af-2 - 2018-07-25-c83a84af-4
luci-app-minidlna - git-19.353.67991-868abc1-1 - git-20.064.26341-4fc4c79-1
uhttpd - 2018-11-28-cdfc902a-3 - 2020-02-12-2ee323c0-1
luci-lib-nixio - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
luci-lib-jsonc - git-19.309.48729-bc17ef6-1 - git-20.064.26341-4fc4c79-1
luci-lib-px5g - git-19.353.67991-868abc1-1 - git-20.064.26341-4fc4c79-1
luci - git-19.353.67991-868abc1-1 - git-20.064.26341-4fc4c79-1
libsqlite3 - 3260000-4 - 3310100-1
luci-app-hd-idle - git-19.353.67991-868abc1-1 - git-20.064.26341-4fc4c79-1
ppp-mod-pppoe - 2.4.7-12 - 2.4.7-13
luci-i18n-minidlna-en - git-19.353.67991-868abc1-1 - git-20.064.26341-4fc4c79-1

My specifics:
Model: TP-Link Archer C7 v2
Architecture: Qualcomm Atheros QCA9558 ver 1 rev 0
Firmware Version: OpenWrt 18.06.5 r7897-9d401013fc / LuCI openwrt-18.06 branch (git-19.309.48729-bc17ef6)
Kernel Version: 4.9.198

I don't know about issues, but I recommend to do following:

opkg upgrade opkg
opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade

But your version of OpenWRT is outdated, you should install 18.06.8, or 19.07.2

No, don't do that. This has caused many issues in the past and has been removed from the wiki.

1 Like

How do I install install 18.06.8, or 19.07.2? Does 18 have to be installed before 19 or can I skip the intermediate step? And, dumb as this makes me feel, I cannot find the download package for my router specifically. I've looked, too. Not lazy, no lying.

I did opkg upgrade opkg. Do I now need to revert? (and how?)

If your system works, just be happy.

Mass upgrade can cause problems, but if it succeeded for you, there is no need for reversing it.


I wasn't clear enough. I upgraded ONLY opkg. I can ping, so I see that the router's firmware is at least, internet connected. I did no other upgrades.

See https://openwrt.org/meta/infobox/upgrade_packages_warning

See https://openwrt.org/toh/tp-link/archer-c7-1750#installation


You can install any version. I recommend to backup config files, and after that run mtd:
mtd write /tmp/<sysupgrade-image> firmware
After that you will get router with default settings.

Why not just use the sysupgrade command?


Ummm BTW...that mtd command is not safe nor universal across all devices.

1 Like

AFAIK sysupgrade tries to keep settings. I always do mtd, and manually configure afterwards.

It does, but you can use a flag ('-n' I think) that doesn't keep the settings.


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.