我的yocto系统当前正在运行旧的opkg version 0.2.2
。无法安装某些软件包。出于测试目的,我尝试使用以下方法将opkg升级到opkg version 0.2.3
,但也失败了-
root@cs15ka.99:/tmp# ls | grep opkg
opkg-0.2.3.tar.gz
root@cs15ka.99:/etc/opkg# ls
arch.conf base-feeds.conf opkg.conf
root@cs15ka.99:/etc/opkg# opkg install opkg-0.2.3.tar.gz
Unknown package 'opkg-0.2.3.tar.gz'.
Collected errors:
* opkg_install_cmd: Cannot install package opkg-0.2.3.tar.gz.
无论如何,我是否可以调整可能解决该问题的feeds
或opkg
文件?
feeds
文件中没有任何内容。 opkg.conf
看起来像这样-
# Must have one or more source entries of the form:
#
# src <src-name> <source-url>
#
# and one or more destination entries of the form:
#
# dest <dest-name> <target-path>
#
# where <src-name> and <dest-names> are identifiers that
# should match [a-zA-Z0-9._-]+, <source-url> should be a
# URL that points to a directory containing a Familiar
# Packages file, and <target-path> should be a directory
# that exists on the target system.
# Proxy Support
#option http_proxy http://proxy.tld:3128
#option ftp_proxy http://proxy.tld:3128
#option proxy_username <username>
#option proxy_password <password>
# Enable GPGME signature
# option check_signature 1
# Offline mode (for use in constructing flash images offline)
#option offline_root target
dest root /
lists_dir ext /var/lib/opkg
谢谢!