首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >angsrom linux opkg update 失败 解决方案[通俗易懂]

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

作者头像
全栈程序员站长
发布2022-08-27 10:50:18
发布2022-08-27 10:50:18
2.2K0
举报

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

在这篇文章的指导下解决了,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.cn/145194.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年5月1,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • How-to update opkg package feeds
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档