OpenWRT:无法在USB sti上安装包

2024-05-19 17:38:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我无法在安装在USB上的文件系统上安装python包。它试图在覆盖上,但不是在usb上。有人能帮我吗?在

请查看下面的详细信息。在

版本:

root@LEDE:~# cat /etc/openwrt_release
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='17.01.4'
DISTRIB_REVISION='r3560-79f57e422d'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot 17.01.4 r3560-79f57e422d'
DISTRIB_TAINTS='no-all'

文件系统

^{pr2}$

OPKG配置

root@LEDE:~# cat /etc/opkg.conf
dest root /
dest ram /tmp
dest usb /mnt/usb
lists_dir ext /var/opkg-lists
option overlay_root /overlay
option check_signature 1

**安装Python**

root@LEDE:~# opkg install -d usb python
Installing python (2.7.14-5) to root...
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/mips_24kc/packages/python_2.7.14-5_mips_24kc.ipk
Installing python-codecs (2.7.14-5) to root...
Collected errors:
 * verify_pkg_installable: Only have 632kb available on filesystem /overlay, pkg python-codecs needs 837
 * opkg_install_cmd: Cannot install package python.

Tags: installetcrootlistscatdestusboption