GL-AR750S - package update

I was trying to update all all packages just few min ago using (suggested command in other thread)

opkg update
opkg list-upgradable | cut -f 1 -d ’ ’ | xargs opkg upgrade

While update was performed I got some messages that are of a concern.
I am attaching file with both commands and output. At the end I did check dmesg for errors. Does anyone see anything wrong? Should I restore to factory? If I did it wrong what am I missing?

opkg-upgrade.txt.zip (2.4 KB)

EDIT: Then I rebooted and did try opkg update again. This time I ma getting

root@router:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/nand/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/gli_pub/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/gli_pub/Packages.gz

Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Collected errors:

Not sure why update is failing for some. I did factory(10 sec) restore and repeated above steps and get same results. Now at this stage if I try to update all again the units hangs and need to be rebooted. It downloads quite few packages but always it chokes at netifd_2019-01-31-a2aba5c7-2.1_mips_24kc.ipk. I get broken Pipe on ssh connecting ot this unit. I have to reboot the unit and I can ssh back to it.
At this point opkg update starts producing other errors:

root@router:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/nand/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/nand/packages/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/gli_pub/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/gli_pub/Packages.gz

Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony/Packages.sig
/usr/sbin/opkg-key: line 56: usign: not found
Signature check failed.
Remove wrong Signature file.
Collected errors:

Is it something I am doing wrong here? Is this something should be reported to openwrt itself?

You can ignore those error or warning. Some IPKs will contain shell scripts, which will run automatically before or after installing it.

Does it still can work?

Those errors are strange.

Please see my EDITED information above with extra information. The outcome is exactly the same. I did 10 sec hardware reset and after initial setup I do the same steps and get the same results. So this should be able to reproduce easily. Did it three time by now.
As far as your questions if unit boots. Even after all steps I outlined above the unit boots. Not sure if all functionality do work since did not had time to test it. But at this stage opkg update always fails with message like I edited above

/usr/sbin/opkg-key: line 56: usign: not found

I still have my unit is such state. If there are any other files or information anyone needs please let me know what information you looking for and location.

On this I just noticed after trying to login through browser is the plugins section list 269 packages for All and Installed. On very first opkg update All was around 6000

As I said above, you must click on Update button, which will call opkg update to update the list.

@kyson-lok
Sure. But could you explain what is the difference? Does Update you referring to updated actually installed packages or updates metadata. It looks to me like it is just metadata (information way changes on server) perhaps I and wrong but this steps is quite confusing to me

Is Update you talking about is actually calling opkg update?

So what you saying clicking ui update vs opkg update is the same. So I can do it each way. But as I presented it is a problem updating after upgrade

It is the same. You can call opkg update in command line.

What do you mean it is the same? :grinning: So you saying updating meta data and updating packages is the same? using same command ‘update’? So what is ‘opkg upgrade for? All pkg management I know there is definite destruction :slight_smile:

updating on the UI = opkg update = updating meta data

Thank you for your input. Let’s leave alone the opkg update / UI upgrade since as I pointed out in my initial post I knew that update does update metadata about packages. Somehow such questions are answered but nothing about the upgrade issue since that was my initial question. Now can someone here place comment on UPGRADE ALL PACKAGES :slight_smile: issue and errors? Is this considered a bug right now? Are there any other steps to upgrade packages? Do others see such errors and can reproved what I got?

Thank you

Not sure which firmware are you using, GL’s firmware or OpenWRT official firmware. I think those errors is normal, due to you upgrade from OpenWRT repo directly. As I said above, you can just ignore them.

@kyson-lok

I am still on official release. Also I hear you about you suggestions about ignoring the warnings. I can understand that. What I also stated that on second update/upgrade I should not get any errors since all was upgraded (if I disregard what you stated). So to be extra clear

  1. Initial opkg update
  2. opkg list-upgradable | cut -f 1 -d ’ ’ | xargs opkg
  3. Reboot
  4. opkg update
  5. opkg list-upgradable | cut -f 1 -d ’ ’ | xargs opkg

In step 5 there should not be anything to upgrade at this point since all steps were done few min apart (well technically there could be an update)
Even step 4 produces errors that were not visible during step 1. Which is the same

So do you see what I am trying to say?