What's new

Solved Could not do 'opkg update' from RT-AC68U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Mr.H

New Around Here
So, I decided to do
Code:
opkg update
and.. it was stuck, via
Code:
htop
I realized that it stuck on
Code:
wget ... http://qnapware.zyxmon.org/binaries-armv7/Packages.gz
I gave it a try in console and after several retries
Code:
Connecting to qnapware.zyxmon.org|158.160.45.54|:80
what I got is - error 4.
Then I put the URL to browser on PC and successfully downloaded Packages.gz file.
Finally I did
Code:
tcpdump
to capture traffic to the URL from router and from browser, and found that packets sent from my router do have invalid checksum (and several other differences).
Please, see attachments for screenshot from Wireshark with packets from router (first 5) and from PC (others). Now as I do have no other options, I think that's the reason.

But when I do
Code:
wget google.com
it magically works.

Guys, please, help, where should I look next?
 

Attachments

  • image_2022-12-28_200236681.png
    image_2022-12-28_200236681.png
    120.8 KB · Views: 49
Last edited:
qnapware.zyxmon.org is an obsolete repository that hasn't been updated for over six years. I suggest you uninstall that version of Entware and install the current one.
 
Yes, that was the root cause. I executed single command from https://github.com/Entware/Entware-ng/wiki/Upgrade-from-Entware-arm and it worked like a charm! Thank you.
I think that's still an obsolete version of Entware. pkg.entware.net hasn't been updated since 2018. The current repositories moved to bin.entware.net.

What version of Merlin do you have installed? The Entware installer has been included in Merlin for some years now so there's no need to use a generic installer. If you don't have much installed it might be better to wipe the installation and start again.
 
I think that's still an obsolete version of Entware. pkg.entware.net hasn't been updated since 2018. The current repositories moved to bin.entware.net.

What version of Merlin do you have installed? The Entware installer has been included in Merlin for some years now so there's no need to use a generic installer. If you don't have much installed it might be better to wipe the installation and start again.
384.19

Actually seems like it updated itself currectly as I see this:
Code:
xxxx@RT-AC68U:/tmp/home/root# cat /opt/etc/opkg.conf
src/gz entware http://bin.entware.net/armv7sf-k2.6
....

So, should be good.
 
Ok, that's good. It must have automatically done a second upgrade from the old armv7 packages to the current armv7sf-k2.6.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top