angsrom linux opkg update 失败 解决方案[通俗易懂]

angsrom linux opkg update 失败 解决方案[通俗易懂]在这篇文章的指导下解决了,Opkgupdate失败的问题,问题出在开发板的网络DNS配置,开发板可以访问局域网的,但是不能访问互联网,另外angstromlinux软件源feeds地址改变了不在是原来的所有需要更改/etc/opkg/*下的conf文件。这样就可以执行opkgupdate命令来安装软件了How-toupdateopkgpackagefeeds

大家好,又见面了,我是你们的朋友全栈君。

在这篇文章的指导下解决了,Opkg update失败的问题,问题出在开发板的网络DNS配置,开发板可以访问局域网的,但是不能访问互联网,另外angstrom linux 软件源 feeds 地址改变了 不在是原来的 所有需要更改 /etc/opkg/*下的conf文件,前缀改成http://feeds.angstrom-distribution.org/feeds/,原来的地址是http://www.angstrom-distribution.org/feeds/,这个地址访问不通 。这样就可以执行opkg update命令 来安装软件了

How-to update opkg package feeds

Page historylast edited by 
Chris 
2 years ago

opkg is the default software package manager for Angstrom linux running on the 
Beagle Embedded starter kit hardware. It provides hundreds of open source software packages optimized specifically for the ARM platform architecture, similar to the heavy-weight apt-get package manager on desktop systems. The following describes how to update opkg feeds.

 

1. Make sure you have a live internet connection.

 

root@beagleboard:~# ping 
www.liquidware.com

 

If no internet is live, attach the ethernet cable (Beagle xM), or connect your 
ethernet adapter (Beagle C5), and execute the following commands:

 

root@beagleboard:~# ifdown usb0
root@beagleboard:~# ifup usb0

 

2. Look at what’s inside your opkg config file:

 

root@beagleboard:~#  cat /etc/opkg/beagleboard-feed.conf

 

3. Browse online for angstrom feeds to obtain a new URL here:

 

http://feeds.angstrom-distribution.org/feeds/ 

 

4. Edit each of your package feed configuration files located here using the URL from step 3:

 

root@beagleboard:~# ls -l /etc/opkg/*

 

-rw-r–r– 1 www-data www-data 157 Mar  2  2011 /etc/opkg/arch.conf 

 

-rw-r–r– 1 www-data www-data  87 Mar 11 02:58 /etc/opkg/base-feed.conf 
-rw-r–r– 1 www-data www-data 109 Mar 11 02:57 /etc/opkg/beagleboard-feed.conf 
-rw-r–r– 1 www-data www-data  89 Mar 11 03:00 /etc/opkg/debug-feed.conf 
-rw-r–r– 1 www-data www-data  98 Mar  2  2011 /etc/opkg/gstreamer-feed.conf 
-rw-r–r– 1 www-data www-data 103 Mar 11 03:00 /etc/opkg/locale-en-feed.conf 
-rw-r–r– 1 www-data www-data  83 Mar  2  2011 /etc/opkg/noarch-feed.conf 
-rw-r–r– 1 www-data www-data  87 Mar 11 02:59 /etc/opkg/perl-feed.conf 
-rw-r–r– 1 www-data www-data  91 Mar 11 02:59 /etc/opkg/python-feed.conf 
-rw-r–r– 1 www-data www-data  80 Mar  2  2011 /etc/opkg/sdk-feed.conf 

 

5. Execute commands:

 

 $ opkg update

 

Then, you will be able to use the install command to install new software packages.

 

 $ opkg install your-package

 

Additional documentation for opkg command:

http://wiki.openmoko.org/wiki/Opkg/Documentation#configuration_files

http://antipastohw.pbworks.com/w/page/53817795/How-to%20update%20opkg%20package%20feeds

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/145194.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号