Beaglebone repository access problem

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.

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.

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

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:~#

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!

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:

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,

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.

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
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/machine/beaglebone/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/debug/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/gstreamer/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/all/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/perl/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Downloading http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/python/Packages.gz.
wget: bad address ‘feeds.angstrom-distribution.org
Collected errors:

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

140.211.169.179 feeds.angstrom-distribution.org

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
140.211.169.179 feeds.angstrom-distribution.org

127.0.0.1 beaglebone
root@beaglebone:/etc#

Paul Tan.

Thanks Paul! I was having the same inability to access the repo with the new Angstrom flash.

David Scheltema

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

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

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.

Seems like the feeds are down again?
502 bad gateway error

Seems like the feeds are down again?
502 bad gateway er

Seems like the feeds are down again?
502 bad gateway er

They haven't been fixed yet:
http://wp.angstrom-distribution.org/?p=101

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?

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

|



beagleboard-feed.conf

|



debug-feed.conf

|



gstreamer-feed.conf

|



noarch-feed.conf

|

  • |


    No modification


    |



perl-feed.conf

|



python-feed.conf

|



sdk-feed.conf

|

  • |


    No modification


    |

Hope it work for you too.