Beaglebone repository access problem

6,123 views
Skip to first unread message

David Lambert

unread,
Dec 15, 2011, 3:14:42 PM12/15/11
to beagl...@googlegroups.com
I keep getting the following errors when attempting a package update
using "opkg update". Are there any known issues with the repository?

Dave.


wget: can't connect to remote host (140.211.169.179): Connection timed out
Collected errors:
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz,
wget returned 1.
* opkg_download: Failed to download
http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz,
wget returned 1.

Jason Kridner

unread,
Dec 15, 2011, 3:21:40 PM12/15/11
to beagl...@googlegroups.com
On Thu, Dec 15, 2011 at 3:14 PM, David Lambert <da...@lambsys.com> wrote:
> I keep getting the following errors when attempting a package update using
> "opkg update". Are there any known issues with the repository?

It does appear to be down to me at the moment as well.

>
> Dave.
>
>
> wget: can't connect to remote host (140.211.169.179): Connection timed out
> Collected errors:
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz,
> wget returned 1.
>  * opkg_download: Failed to download
> http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz,
> wget returned 1.
>

> --
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/beagleboard?hl=en.
>

Bill

unread,
Dec 19, 2011, 7:10:14 PM12/19/11
to Beagle Board
Any update on this? I am having the similar errors when running opkg
update on my beaglebone. (wget: bad address 'feeds.angstrom-
distribution.org')
A ping to feeds.angstrom-distribution.org works fine (~200ms).

Cheers,
-Bill

On Dec 15, 12:21 pm, Jason Kridner <jkrid...@beagleboard.org> wrote:


> On Thu, Dec 15, 2011 at 3:14 PM, David Lambert <d...@lambsys.com> wrote:
> > I keep getting the following errors when attempting a package update using
> > "opkg update". Are there any known issues with the repository?
>
> It does appear to be down to me at the moment as well.
>
>
>
>
>
>
>
>
>
> > Dave.
>
> > wget: can't connect to remote host (140.211.169.179): Connection timed out
> > Collected errors:
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/b...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/m...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/d...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/g...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Pack...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p...,


> > wget returned 1.
> >  * opkg_download: Failed to download

> >http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p...,

euge euge

unread,
Dec 20, 2011, 9:06:00 AM12/20/11
to beagl...@googlegroups.com
Hello, i have a beaglebone since yesterday.
No problems in the repository, but I had to make some commands for
make it work in my linux (a console only linux).
First, if the connection is with usb-ethernet gateway, in the console
I must put:
# eject /dev/sdb <---storage device of beaglebone
After this command the usb device of the usb-ethernet gateway emerges
and I can put a ip to the usb.

Next I can ssh to the device, and there is no resolver ni
/etc/resolv.conf, and no gateway in the ip's.
So to make it work:
# cat "nameserver 8.8.8.8" >> /etc/resolv.conf
# route add default gw 192.168.7.1

These changes are lost when I reset the board, I think it must be the
avahi daemon that rewrite the resolv.conf. The gateway also defaults
to nothing although it's written in /etc/network/interfaces, i suppose
it's also the avahi.

root@beaglebone:~# opkg update
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/base.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/beaglebone.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/debug.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/gstreamer.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/no-arch.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/perl.
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz.
Inflating http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz.
Updated list of available packages in /var/lib/opkg/lists/python.
root@beaglebone:~#

Bill

unread,
Dec 21, 2011, 12:54:08 PM12/21/11
to Beagle Board
OK, I manually changed the DNS server by editing the /etc/resolv.conf
file to have the line nameserver 208.67.222.222. After this, I am able
to successfully run opkg update and opkg upgrade.

Thanks!


On Dec 20, 6:06 am, euge euge <r0807....@gmail.com> wrote:
> Hello, i have a beaglebone since yesterday.
> No problems in the repository, but I had to make some commands for
> make it work in my linux (a console only linux).
> First, if the connection is with usb-ethernet gateway, in the console
> I must put:
> # eject /dev/sdb  <---storage device of beaglebone
> After this command the usb device of the usb-ethernet gateway emerges
> and I can put a ip to the usb.
>
> Next I can ssh to the device, and there is no resolver ni
> /etc/resolv.conf, and no gateway in the ip's.
> So to make it work:
> # cat "nameserver 8.8.8.8" >> /etc/resolv.conf
> # route add default gw 192.168.7.1
>
> These changes are lost when I reset the board, I think it must be the
> avahi daemon that rewrite the resolv.conf. The gateway also defaults
> to nothing although it's written in /etc/network/interfaces, i suppose
> it's also the avahi.
>
> root@beaglebone:~# opkg update
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/b....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/b....
> Updated list of available packages in /var/lib/opkg/lists/base.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/m....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/m....
> Updated list of available packages in /var/lib/opkg/lists/beaglebone.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/d....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/d....
> Updated list of available packages in /var/lib/opkg/lists/debug.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/g....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/g....
> Updated list of available packages in /var/lib/opkg/lists/gstreamer.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Pack....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Pack....
> Updated list of available packages in /var/lib/opkg/lists/no-arch.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p....
> Updated list of available packages in /var/lib/opkg/lists/perl.
> Downloadinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p....
> Inflatinghttp://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/p....
> Updated list of available packages in /var/lib/opkg/lists/python.
> root@beaglebone:~#
>

swaroop

unread,
Mar 29, 2012, 2:26:52 PM3/29/12
to beagl...@googlegroups.com
Hi!

i am trying to use opkg update on my beaglebone using ehternet-over-usb. My /etc/network/interfaces files reads somewhat like this:
....
# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
        address 192.168.7.2
        netmask 255.255.255.0
        network 192.168.7.0
        gateway 192.168.7.1
........

I also tried to configure Internet sharing as described in http://us.generation-nt.com/answer/ipmasq-natty-help-203740712.html in shine's post and also here http://www.ubuntugeek.com/sharing-internet-connection-in-ubuntu.html.

I have added my dns servers in /etc/resolv.conf

I have added my proxy server config in .bashrc as export http_proxy=http://username:pwd@proxyserver:port

I am getting the following response:

***************************************
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz.
wget: bad address 'feeds.angstrom-distribution.org'

Collected errors:
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/base/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/machine/beaglebone/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/debug/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/gstreamer/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/all/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/perl/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/Packages.gz, wget returned 1.

*************************************

Any help will be appreciated.

Thanks.


Jack Mitchell

unread,
Mar 30, 2012, 6:03:16 AM3/30/12
to beagl...@googlegroups.com
> -- To join: http://beagleboard.org/discuss
> To unsubscribe from this group, send email to:
> beagleboard...@googlegroups.com
> Frequently asked questions: http://beagleboard.org/faq

Can you reach the outside world? Have you tried pinging google.com? If
not then your network is incorrectly setup and needs fixing before you
can start using opkg with online repositories.

Regards,

--

Jack Mitchell (ja...@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk

--

Message has been deleted

Kleven Bingham

unread,
Jun 11, 2013, 7:26:38 PM6/11/13
to beagl...@googlegroups.com
The connman daemon is crashing which breaks DNS.

If you put an entry in /etc/resolv.conf before you run the upgrade you should be able to keep DNS functionality during the upgrade.

However, don't restart connman once it crashes unless you are using a serial connection. It resets the Ethernet interface when it starts and you will lose your ssh connection.

I don't know why it crashes during the upgrade - only that it does crash. And it doesn't always crash either.

Until that's fixed it's probably better not to do opkg update/upgrade unless you are sure what you are doing. If you've done lots of customizations I can see why it's preferential not to reflash - I've been down this road - but for now the upgrade is pretty tricky and its easy to render your installation unbootable. At that point you have to reflash anyway.

keimin...@gmail.com

unread,
Sep 13, 2013, 1:24:25 AM9/13/13
to beagl...@googlegroups.com
Seems like even touching the resolv.conf doesn't allow the DNS functionality when i tried to run this with a new board.  If anyone has any ideas, would be greatly appreciated. 

opkg update
Collected errors:
 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz, wget returned 1.

Paul Tan

unread,
Sep 14, 2013, 7:00:51 PM9/14/13
to beagl...@googlegroups.com, keimin...@gmail.com
I'm running into the same problem.  BBB brand new out of the box, just reflashed with 06-20-2013 image.

Currently trying a hack by editing /etc/hosts and adding in the line


It seems to be working without the bad address error now (my BBB is still upgrading).  **NOTE: THIS IS A HACK, you should remove the line afterwards from /etc/hosts

For clarity here is the lines in my /etc/hosts files

root@beaglebone:~# cd /etc
root@beaglebone:/etc# vi hosts
root@beaglebone:/etc# cat hosts
127.0.0.1       localhost.localdomain           localhost

127.0.0.1 beaglebone
root@beaglebone:/etc#

Paul Tan.

David Scheltema

unread,
Sep 18, 2013, 2:41:29 PM9/18/13
to beagl...@googlegroups.com, keimin...@gmail.com
Thanks Paul!  I was having the same inability to access the repo with the new Angstrom flash.

David Scheltema

Steve French

unread,
Sep 25, 2013, 3:11:03 PM9/25/13
to beagl...@googlegroups.com, keimin...@gmail.com
Thanks Paul!  Your hack worked for me!!!!!!

...however, my opkg update & opkg upgrade ended with this...
WARNING: could not open /lib/modules/3.8.13/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.8.13/modules.builtin: No such file or directory
WARNING: could not open /lib/modules/3.8.13/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.8.13/modules.builtin: No such file or directory

Not sure if this is a problem....I will ignore it for now....
thx!
frenchy

On Saturday, September 14, 2013 7:00:51 PM UTC-4, Paul Tan wrote:

frsal...@gmail.com

unread,
Dec 27, 2013, 4:09:41 AM12/27/13
to beagl...@googlegroups.com

Hi, Could I receive some advice about updating the BBB with opkg update. I reflashed the eMMc with  Cloud9 GNOME Image 2013.09.04. The OS is Angstrom v2012.12 (Core edition), Built from branch: angstrom-staging-yocto1.3. I am receiving the following error: Example of error without modifying the hosts file

Collected errors:


 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz, wget returned 1.

And After modifying the host files with 140.211.169.179 feeds.angstrom-distribution.org I am receiving the following errors:

Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz.

wget: can't connect to remote host (140.211.169.179): Network is unreachable

Collected errors:

 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz, wget returned 1.

 * opkg_download: Failed to download http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz, wget returned 1.

Would be great if somebody have some idea to solve this problem!


conrad...@gmail.com

unread,
Jan 5, 2014, 9:46:33 AM1/5/14
to beagl...@googlegroups.com
I followed the /etc/host fix, still had a problem.    Checked disk space using "df -k" and saw that /tmp was full.    opkg had run and failed a few times and written some temp files and filled it up.     Cleared a few files out of /tmp and voila, "opkg update" worked ok.

joerid

unread,
Mar 13, 2015, 9:18:40 AM3/13/15
to beagl...@googlegroups.com
Seems like the feeds are down again?
502 bad gateway er

Op donderdag 15 december 2011 21:14:42 UTC+1 schreef David:

joeri delvoy

unread,
Mar 13, 2015, 9:18:45 AM3/13/15
to beagl...@googlegroups.com
Seems like the feeds are down again?
502 bad gateway error



Op donderdag 15 december 2011 21:14:42 UTC+1 schreef David:
I keep getting the following errors when attempting a package update

Bill Traynor

unread,
Mar 13, 2015, 9:30:58 AM3/13/15
to beagl...@googlegroups.com
On Fri, Mar 13, 2015 at 6:41 AM, joerid <boterh...@gmail.com> wrote:
> Seems like the feeds are down again?
> 502 bad gateway er
>

They haven't been fixed yet:
http://wp.angstrom-distribution.org/?p=101
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

brett.r....@gmail.com

unread,
Jan 30, 2016, 3:13:01 PM1/30/16
to BeagleBoard
Hi there, I just encountered the same issue and had the same wget error response after trying the suggested /etc/hosts fix then running opkg update. Did you ever find a solution to this?

d.breto...@gmail.com

unread,
Sep 13, 2016, 6:57:59 AM9/13/16
to BeagleBoard, brett.r....@gmail.com
I've found that the file structure of the repository has changed so the configuration files in the beagle board are pointing to non existing routes.

I've tried to change this configuration files manually one by one and I think it worked.

So, you have to go into /ect/opkg/ and do the following:


arch.conf

No modification



base-feed.conf

src/gz base http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/base



beagleboard-feed.conf

src/gz beagleboard http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/machine/beagleboard



debug-feed.conf

src/gz debug http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/debug



gstreamer-feed.conf

src/gz gstreamer http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/gstreamer



noarch-feed.conf

No modification



perl-feed.conf

src/gz perl http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/perl



python-feed.conf

src/gz python http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a-vfp-neon/python



sdk-feed.conf

No modification


Hope it work for you too.

Reply all
Reply to author
Forward
0 new messages