[FS#1022] opkg doesn't list available packages, doesn't find anything

LEDE Bugs lede-bugs at lists.infradead.org
Thu Sep 28 16:06:56 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - mdbuerkle (mdbuerkle) 

Attached to Project - LEDE Project
Summary - opkg doesn't list available packages, doesn't find anything
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - root at OpenWrt:~# cat /etc/os-release 
NAME="LEDE"
VERSION="SNAPSHOT, Reboot"
ID="lede"
ID_LIKE="lede openwrt"
PRETTY_NAME="LEDE Reboot SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r4940-00e9a7aacb"
LEDE_BOARD="ar71xx/generic"
LEDE_ARCH="mips_24kc"
LEDE_TAINTS=""
LEDE_DEVICE_MANUFACTURER="LEDE"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="LEDE Reboot SNAPSHOT r4940-00e9a7aacb"
root at OpenWrt:~# cat /etc/openwrt_release 
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r4940-00e9a7aacb'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r4940-00e9a7aacb'
DISTRIB_TAINTS=''
root at OpenWrt:~# 

package-info: 
root at OpenWrt:~# opkg info opkg
Package: opkg
Version: 2017-07-28-4bd8601e-1
Depends: libc, uclient-fetch, libpthread, libubox
Status: install user installed
Architecture: mips_24kc
Conffiles:
 /etc/opkg.conf b73c0a02cb7bc300b2e6c7c29e8e6d38bdb6ded314319e89be3b352f59fff5ab
 /etc/opkg/customfeeds.conf 61d1f3aa62fe977614ed0c2f0ad3b2ee2f7b451bfb34812071d86d31a4d43d4a
Installed-Time: 1506583771

root at OpenWrt:~# 

# opkg list | wc -l
110
#


- "opkg list" does only list *installed* packages, not *available* packages:
root at OpenWrt:~# opkg list-installed | wc -l; opkg list | wc -l
110
110
root at OpenWrt:~# 
root at OpenWrt:~# opkg -A list | wc -l
110
root at OpenWrt:~# opkg list -A | wc -l
110
root at OpenWrt:~# 

- "opkg find" doesn't find anything:
root at OpenWrt:~# opkg find .
root at OpenWrt:~# opkg find /
root at OpenWrt:~# opkg find a
root at OpenWrt:~# opkg find '.*'
root at OpenWrt:~# 

am I wrong?

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1022



More information about the lede-bugs mailing list