Page 1 of 2

'opkg list-installed' return nothing

Posted: Thu Sep 08, 2016 4:26 am
by Scott
I installed gargoyle_1.9.1-ar71xx-generic-tl-wr720n-v3-squashfs-factory.bin on TP-LINK TL-WR710nV1 (flash 16MB/MEM 64MB, have been upgraded).

Command opkg list-installed returned nothing, and when I tried to install plugin-gargoyle-i18n-SimplifiedChinese-ZH-CN, opkg returned cannot found Dependency ip.

However, everything goes well when install gargoyle_1.8.1-ar71xx-generic-tl-wr720n-v3-squashfs-factory.bin.

Re: 'opkg list-installed' return nothing

Posted: Thu Sep 08, 2016 4:29 am
by Lantis
That router (as I'm sure you're aware) originally came with only 4MB of flash space.
As a result, it does not have enough space to install plugins, and hence the feature was disabled in 1.9.0.

To make use of your upgraded flash space, you would need to custom compile a new image.

Re: 'opkg list-installed' return nothing

Posted: Tue Sep 13, 2016 4:21 am
by Scott
Lantis wrote:That router (as I'm sure you're aware) originally came with only 4MB of flash space.
As a result, it does not have enough space to install plugins, and hence the feature was disabled in 1.9.0.

To make use of your upgraded flash space, you would need to custom compile a new image.
Hi Lantis,
Got it, thanks for your info.

Re: 'opkg list-installed' return nothing

Posted: Thu Nov 09, 2017 7:07 am
by rjdamod
Hi,
sorry to rip this thread, but i got the same problem on an archer c7 v2 build from 1e70343.
I suppose this should not happen as archers have 16MB flash by default.
I searched the git logs and the patches in the dev tree but could not find the change that breaks opkg. Can you give me a hint?

Regards
RJ

Re: 'opkg list-installed' return nothing

Posted: Thu Nov 09, 2017 7:47 am
by Lantis
Can you please show the steps you are taking and the output you are receiving?
It works for me.

Re: 'opkg list-installed' return nothing

Posted: Thu Nov 09, 2017 10:09 am
by rjdamod
Hi,
ok, i did a fresh "git clone" and a "make clean", and then applied my attached customization patch which deals mostly with ipv6. Then i did "make FULL_BUILD=true ar71xx 2>build_errors.txt | tee build_log.txt" which generated the images for my archer, my 1043nd and my 841n. I then did a sysupgrade on these from 1.9.X (c22bb35) with preserveSettings enabled. After login i tried "opkg install tcpdump" on the archer, but that failed with missing libc dependency. After searching, i checked "opkg list-installed", which gave nothing. Restoring default configuration did not help. The 1043nd shows the same problem.
I still have the build_log if needed.

Thanks

PS: attachment does not work, so i paste the change here:

Code: Select all

diff --git a/targets/ar71xx/profiles/ath10k-large/config b/targets/ar71xx/profiles/ath10k-large/config
index a496d61..078a465 100644
--- a/targets/ar71xx/profiles/ath10k-large/config
+++ b/targets/ar71xx/profiles/ath10k-large/config
@@ -331,8 +331,8 @@ CONFIG_KERNEL_RELAY=y
 # Package build options
 #
 # CONFIG_DEBUG is not set
-# CONFIG_IPV6 is not set
-# CONFIG_PKG_BUILD_PARALLEL is not set
+CONFIG_IPV6=y
+#CONFIG_PKG_BUILD_PARALLEL=y
 
 #
 # Stripping options
@@ -1646,13 +1646,13 @@ CONFIG_PACKAGE_kmod-nls-utf8=y
 #
 # Netfilter Extensions
 #
-# CONFIG_PACKAGE_kmod-arptables is not set
+CONFIG_PACKAGE_kmod-arptables=y
 CONFIG_PACKAGE_kmod-ebtables=y
 CONFIG_PACKAGE_kmod-ebtables-ipv4=y
-# CONFIG_PACKAGE_kmod-ebtables-ipv6 is not set
-# CONFIG_PACKAGE_kmod-ebtables-watchers is not set
-# CONFIG_PACKAGE_kmod-ip6tables is not set
-# CONFIG_PACKAGE_kmod-ip6tables-extra is not set
+CONFIG_PACKAGE_kmod-ebtables-ipv6=y
+CONFIG_PACKAGE_kmod-ebtables-watchers=y
+CONFIG_PACKAGE_kmod-ip6tables=y
+CONFIG_PACKAGE_kmod-ip6tables-extra=y
 # CONFIG_PACKAGE_kmod-ipt-account is not set
 CONFIG_PACKAGE_kmod-ipt-bandwidth=y
 # CONFIG_PACKAGE_kmod-ipt-chaos is not set
@@ -1688,7 +1688,7 @@ CONFIG_PACKAGE_kmod-ipt-ipset=y
 # CONFIG_PACKAGE_kmod-ipt-lua is not set
 CONFIG_PACKAGE_kmod-ipt-nat=y
 CONFIG_PACKAGE_kmod-ipt-nat-extra=y
-# CONFIG_PACKAGE_kmod-ipt-nat6 is not set
+CONFIG_PACKAGE_kmod-ipt-nat6=y
 # CONFIG_PACKAGE_kmod-ipt-nathelper-rtsp is not set
 # CONFIG_PACKAGE_kmod-ipt-nflog is not set
 # CONFIG_PACKAGE_kmod-ipt-nfqueue is not set
@@ -1696,7 +1696,7 @@ CONFIG_PACKAGE_kmod-ipt-nat-extra=y
 # CONFIG_PACKAGE_kmod-ipt-quota2 is not set
 # CONFIG_PACKAGE_kmod-ipt-sysrq is not set
 # CONFIG_PACKAGE_kmod-ipt-tarpit is not set
-# CONFIG_PACKAGE_kmod-ipt-tee is not set
+CONFIG_PACKAGE_kmod-ipt-tee=y
 CONFIG_PACKAGE_kmod-ipt-timerange=y
 # CONFIG_PACKAGE_kmod-ipt-tproxy is not set
 # CONFIG_PACKAGE_kmod-ipt-u32 is not set
@@ -1705,19 +1705,19 @@ CONFIG_PACKAGE_kmod-ipt-webmon=y
 CONFIG_PACKAGE_kmod-ipt-weburl=y
 CONFIG_PACKAGE_kmod-nf-conntrack=y
 # CONFIG_PACKAGE_kmod-nf-conntrack-netlink is not set
-# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
+CONFIG_PACKAGE_kmod-nf-conntrack6=y
 CONFIG_PACKAGE_kmod-nf-ipt=y
-# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
+CONFIG_PACKAGE_kmod-nf-ipt6=y
 CONFIG_PACKAGE_kmod-nf-nat=y
-# CONFIG_PACKAGE_kmod-nf-nat6 is not set
+CONFIG_PACKAGE_kmod-nf-nat6=y
 CONFIG_PACKAGE_kmod-nf-nathelper=y
 CONFIG_PACKAGE_kmod-nf-nathelper-extra=y
 CONFIG_PACKAGE_kmod-nfnetlink=y
 # CONFIG_PACKAGE_kmod-nfnetlink-log is not set
 # CONFIG_PACKAGE_kmod-nfnetlink-queue is not set
-# CONFIG_PACKAGE_kmod-nft-core is not set
-# CONFIG_PACKAGE_kmod-nft-nat is not set
-# CONFIG_PACKAGE_kmod-nft-nat6 is not set
+CONFIG_PACKAGE_kmod-nft-core=y
+CONFIG_PACKAGE_kmod-nft-nat=y
+CONFIG_PACKAGE_kmod-nft-nat6=y
 
 #
 # Network Devices
@@ -1780,13 +1780,13 @@ CONFIG_PACKAGE_kmod-bridge=y
 # CONFIG_PACKAGE_kmod-capi is not set
 CONFIG_PACKAGE_kmod-dnsresolver=y
 CONFIG_PACKAGE_kmod-gre=y
-# CONFIG_PACKAGE_kmod-gre6 is not set
-# CONFIG_PACKAGE_kmod-ip6-tunnel is not set
+CONFIG_PACKAGE_kmod-gre6=y
+CONFIG_PACKAGE_kmod-ip6-tunnel=y
 # CONFIG_PACKAGE_kmod-ipip is not set
 # CONFIG_PACKAGE_kmod-ipsec is not set
 CONFIG_PACKAGE_kmod-iptunnel=y
-# CONFIG_PACKAGE_kmod-iptunnel6 is not set
-# CONFIG_PACKAGE_kmod-ipv6 is not set
+CONFIG_PACKAGE_kmod-iptunnel6=y
+CONFIG_PACKAGE_kmod-ipv6=y
 # CONFIG_PACKAGE_kmod-isdn4linux is not set
 # CONFIG_PACKAGE_kmod-l2tp is not set
 # CONFIG_PACKAGE_kmod-l2tp-eth is not set
@@ -1815,8 +1815,8 @@ CONFIG_PACKAGE_kmod-slhc=y
 CONFIG_PACKAGE_kmod-stp=y
 # CONFIG_PACKAGE_kmod-trelay is not set
 CONFIG_PACKAGE_kmod-tun=y
-# CONFIG_PACKAGE_kmod-udptunnel4 is not set
-# CONFIG_PACKAGE_kmod-udptunnel6 is not set
+CONFIG_PACKAGE_kmod-udptunnel4=y
+CONFIG_PACKAGE_kmod-udptunnel6=y
 # CONFIG_PACKAGE_kmod-veth is not set
 # CONFIG_PACKAGE_kmod-vxlan is not set
 
@@ -1919,9 +1919,9 @@ CONFIG_PACKAGE_kmod-usb-serial=y
 # CONFIG_PACKAGE_kmod-usb-serial-ark3116 is not set
 # CONFIG_PACKAGE_kmod-usb-serial-belkin is not set
 # CONFIG_PACKAGE_kmod-usb-serial-ch341 is not set
-# CONFIG_PACKAGE_kmod-usb-serial-cp210x is not set
-# CONFIG_PACKAGE_kmod-usb-serial-cypress-m8 is not set
-# CONFIG_PACKAGE_kmod-usb-serial-ftdi is not set
+CONFIG_PACKAGE_kmod-usb-serial-cp210x=y
+CONFIG_PACKAGE_kmod-usb-serial-cypress-m8=y
+CONFIG_PACKAGE_kmod-usb-serial-ftdi=y
 # CONFIG_PACKAGE_kmod-usb-serial-garmin is not set
 # CONFIG_PACKAGE_kmod-usb-serial-ipw is not set
 # CONFIG_PACKAGE_kmod-usb-serial-keyspan is not set
@@ -1929,11 +1929,11 @@ CONFIG_PACKAGE_kmod-usb-serial=y
 # CONFIG_PACKAGE_kmod-usb-serial-mos7720 is not set
 CONFIG_PACKAGE_kmod-usb-serial-option=y
 # CONFIG_PACKAGE_kmod-usb-serial-oti6858 is not set
-# CONFIG_PACKAGE_kmod-usb-serial-pl2303 is not set
+CONFIG_PACKAGE_kmod-usb-serial-pl2303=y
 CONFIG_PACKAGE_kmod-usb-serial-qualcomm=y
 CONFIG_PACKAGE_kmod-usb-serial-sierrawireless=y
-# CONFIG_PACKAGE_kmod-usb-serial-simple is not set
-# CONFIG_PACKAGE_kmod-usb-serial-ti-usb is not set
+CONFIG_PACKAGE_kmod-usb-serial-simple=y
+CONFIG_PACKAGE_kmod-usb-serial-ti-usb=y
 # CONFIG_PACKAGE_kmod-usb-serial-visor is not set
 CONFIG_PACKAGE_kmod-usb-serial-wwan=y
 CONFIG_PACKAGE_kmod-usb-storage=y
@@ -1944,10 +1944,10 @@ CONFIG_PACKAGE_kmod-usb-wdm=y
 CONFIG_PACKAGE_kmod-usb2=y
 # CONFIG_PACKAGE_kmod-usb2-pci is not set
 # CONFIG_PACKAGE_kmod-usb3 is not set
-# CONFIG_PACKAGE_kmod-usbip is not set
-# CONFIG_PACKAGE_kmod-usbip-client is not set
-# CONFIG_PACKAGE_kmod-usbip-server is not set
-# CONFIG_PACKAGE_kmod-usbmon is not set
+CONFIG_PACKAGE_kmod-usbip=y
+CONFIG_PACKAGE_kmod-usbip-client=y
+CONFIG_PACKAGE_kmod-usbip-server=y
+CONFIG_PACKAGE_kmod-usbmon=y
 
 #
 # Video Support
@@ -2101,8 +2101,8 @@ CONFIG_PACKAGE_libext2fs=y
 # Firewall
 #
 CONFIG_PACKAGE_libip4tc=y
-# CONFIG_PACKAGE_libip6tc is not set
-# CONFIG_PACKAGE_libiptc is not set
+CONFIG_PACKAGE_libip6tc=y
+CONFIG_PACKAGE_libiptc=y
 CONFIG_PACKAGE_libxtables=y
 
 #
@@ -2264,7 +2264,7 @@ CONFIG_PACKAGE_iptables-mod-ipopt=y
 # CONFIG_PACKAGE_iptables-mod-ipp2p is not set
 CONFIG_PACKAGE_iptables-mod-iprange=y
 # CONFIG_PACKAGE_iptables-mod-ipsec is not set
-# CONFIG_PACKAGE_iptables-mod-ipv4options is not set
+CONFIG_PACKAGE_iptables-mod-ipv4options=y
 # CONFIG_PACKAGE_iptables-mod-led is not set
 # CONFIG_PACKAGE_iptables-mod-length2 is not set
 # CONFIG_PACKAGE_iptables-mod-logmark is not set
@@ -2277,7 +2277,7 @@ CONFIG_PACKAGE_iptables-mod-nat-extra=y
 # CONFIG_PACKAGE_iptables-mod-quota2 is not set
 # CONFIG_PACKAGE_iptables-mod-sysrq is not set
 # CONFIG_PACKAGE_iptables-mod-tarpit is not set
-# CONFIG_PACKAGE_iptables-mod-tee is not set
+CONFIG_PACKAGE_iptables-mod-tee=y
 CONFIG_PACKAGE_iptables-mod-timerange=y
 # CONFIG_PACKAGE_iptables-mod-tproxy is not set
 # CONFIG_PACKAGE_iptables-mod-u32 is not set
Edit: corrected working commit id

Re: 'opkg list-installed' return nothing

Posted: Thu Nov 09, 2017 3:44 pm
by Lantis
Can you please check the same behaviour against one of the official builds?
I think this is unique to your environment.

Nothing in the patch rings alarm bells but I’m not entirely sure why this would happen

Re: 'opkg list-installed' return nothing

Posted: Fri Nov 10, 2017 4:07 pm
by rjdamod
Hi, just tested the official builds, they don't show the error on the archer and the 1043. I also noticed that my custom builds seemed to lack any of the pre-included plug-ins, i.e. openVPN was not preinstalled on the archer and the 1043. I will now try building the official images to check for problems with my machine.

Re: 'opkg list-installed' return nothing

Posted: Sun Nov 12, 2017 2:35 pm
by rjdamod
Build from source with standard config works so far. Must be something in my config, will check the build logs. Any hints on what to look for, e.g. how are the pre-installed packages build into the images?
RJ

PS: My 1043 has severe problems with being flashed, had to serially debrick it several times. Also bridging wan to lan port seems to break lan switching.

Re: 'opkg list-installed' return nothing

Posted: Sun Nov 12, 2017 3:39 pm
by Lantis
Check you have the ipkg clean option set to partial
Make sure all of the relevant Gargoyle config options are correct

Can you post your entire config rather than a diff?