Dependancy issues in recent snapshots?

Wanted to bring this up for attention from the developers.

Seems that on several platforms now, this is occurring. Mine is Archer C7 v2, snapshots 10-30 and 11-1 tried. Snapshot from 9-26 had been run with no issues.

Issue symptoms are as follows.
After new FW install, running opkg update results in the following error:

Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.72-1-ed3c19e4844380206763e5d3dbc00d4c). Skipping.

This was reported to be fixed in a different thread, by removing the duplicate in the config file

==> /etc/opkg/distfeeds.conf <==
src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.72-1-ed3c19e4844380206763e5d3dbc00d4c
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/mips_24kc/base
src/gz openwrt_kmods https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.72-1-ed3c19e4844380206763e5d3dbc00d4c
src/gz openwrt_freifunk https://downloads.openwrt.org/snapshots/packages/mips_24kc/freifunk
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony

What I and some others have found, is that we edit out the duplicate reference, the error at the end of opkg update is gone, BUT, packages still do not load dependencies and won't function.

root@OpenWrt:~# opkg install nano
Installing nano (5.3-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/nano_5.3-1_mips_24kc.ipk
Configuring nano.
root@OpenWrt:~# nano
Error loading shared library libncursesw.so.6: No such file or directory (needed by /usr/bin/nano)
Error relocating /usr/bin/nano: wclrtoeol: symbol not found
Error relocating /usr/bin/nano: raw: symbol not found
Error relocating /usr/bin/nano: napms: symbol not found
Error relocating /usr/bin/nano: key_defined: symbol not found
Error relocating /usr/bin/nano: mvwprintw: symbol not found
Error relocating /usr/bin/nano: doupdate: symbol not found
Error relocating /usr/bin/nano: nodelay: symbol not found
Error relocating /usr/bin/nano: waddch: symbol not found
Error relocating /usr/bin/nano: wscrl: symbol not found
Error relocating /usr/bin/nano: curs_set: symbol not found
Error relocating /usr/bin/nano: waddnstr: symbol not found
Error relocating /usr/bin/nano: wattr_off: symbol not found
Error relocating /usr/bin/nano: wmove: symbol not found
Error relocating /usr/bin/nano: wrefresh: symbol not found
Error relocating /usr/bin/nano: scrollok: symbol not found
Error relocating /usr/bin/nano: beep: symbol not found
Error relocating /usr/bin/nano: ungetch: symbol not found
Error relocating /usr/bin/nano: initscr: symbol not found
Error relocating /usr/bin/nano: nonl: symbol not found
Error relocating /usr/bin/nano: tigetstr: symbol not found
Error relocating /usr/bin/nano: wnoutrefresh: symbol not found
Error relocating /usr/bin/nano: noecho: symbol not found
Error relocating /usr/bin/nano: wgetch: symbol not found
Error relocating /usr/bin/nano: delwin: symbol not found
Error relocating /usr/bin/nano: wattr_on: symbol not found
Error relocating /usr/bin/nano: newwin: symbol not found
Error relocating /usr/bin/nano: set_escdelay: symbol not found
Error relocating /usr/bin/nano: keypad: symbol not found
Error relocating /usr/bin/nano: endwin: symbol not found
Error relocating /usr/bin/nano: LINES: symbol not found
Error relocating /usr/bin/nano: curscr: symbol not found
Error relocating /usr/bin/nano: COLS: symbol not found

Now, I am pretty newb at Linux inner workings, despite working with OpenWrt for a while, so this could be something very obvious that I'm missing, or even something besides dependancies, but there seem to be many out there experiencing the same thing. Hope this gets some attention soon..

Edit, here's links to other threads on this:
https://forum.openwrt.org/t/opkg-doesnt-install-dependencies-or-get-configured/78117
https://forum.openwrt.org/t/opkg-update-not-continuing-for-tp-link-archer-a6/78059/6

2 Likes

master is master and bugs happen... bugs take time to fix... this is a given...

if it's a post install / non-brickable offense... then... at the end of the day... that's the consequence of running master...

what is relevant... is;

a) informing ( confirming? ) the userbase to prevent widespread second guessing, stressing... ( and potentially avert muchness re: downtime / limit fallout )

and

b) that lack of output / verbosity when something didn't complete... which feeds into a)...

2 Likes

It should now be fixed in master r14849-4a2b1ff7fb thanks to the fix by

(if you use buildbot builds, just wait until the next build round, so that the fix gets included.)

3 Likes

As mentioned on another related thread.. this is something to watch till the dust settles, theres been 3 fixes in the last 10-12hrs. Looks like it might be taken care of now.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=summary

Good to see a quick solution, I and others appreciate the fast work!

1 Like