opkg install is not working

6 messages Options
Embed this post
Permalink
kikiran

opkg install is not working

Reply Threaded More More options
Print post
Permalink
i had installed full gta02 shr distribution  
but i am trying to update    opkg update

then coming like this
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Collected errors:
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
error detail: Couldn't resolve host name


please help me

thanks....
abatrour

Re: opkg install is not working

Reply Threaded More More options
Print post
Permalink
kikiran wrote:
i had installed full gta02 shr distribution  
but i am trying to update    opkg update

then coming like this
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Collected errors:
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
error detail: Couldn't resolve host name


please help me

thanks....
How do you have it connected to the internet? Can you run ifconfig for me?
François-Léonard Gilbert

Re: opkg install is not working

Reply Threaded More More options
Print post
Permalink
Did you do the USB networking procedure in the Wiki?   If so, did you setup network forwarding on your PC?

The problem may also be that all the HTTP addresses contain double slashes (ex.:   ".../ipk//all/...") you could check the opkg setup files for errors.

François

On Wed, Sep 23, 2009 at 11:49 AM, abatrour <[hidden email]> wrote:


kikiran wrote:
>
> i had installed full gta02 shr distribution
> but i am trying to update    opkg update
>
> then coming like this
> Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
> Downloading
> http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
> Downloading
> http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
> Downloading
> http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
> Collected errors:
>  * Failed to download
> http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
> error detail: Couldn't resolve host name
>  * Failed to download
> http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
> error detail: Couldn't resolve host name
>  * Failed to download
> http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
> error detail: Couldn't resolve host name
>  * Failed to download
> http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
> error detail: Couldn't resolve host name
>
>
> please help me
>
> thanks....
>

How do you have it connected to the internet? Can you run ifconfig for me?


_______________________________________________
support mailing list
[hidden email]
https://lists.openmoko.org/mailman/listinfo/support
kikiran

Re: opkg install is not working

Reply Threaded More More options
Print post
Permalink
In reply to this post by abatrour

abatrour wrote:
kikiran wrote:
i had installed full gta02 shr distribution  
but i am trying to update    opkg update

then coming like this
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Collected errors:
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
error detail: Couldn't resolve host name


please help me

thanks....
How do you have it connected to the internet? Can you run ifconfig for me?
Thanking you for your early reply..
I configured usb networking and i am able to copy the files from desktop to openmoko.
but this opkg update is not working
root@om-gta02 ~/Desktop $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:CF:8F:0F:41  
          inet6 addr: fe80::212:cfff:fe8f:f41/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20032 (19.5 KiB)  TX bytes:717 (717.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:154 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12416 (12.1 KiB)  TX bytes:12416 (12.1 KiB)

usb0      Link encap:Ethernet  HWaddr 00:1F:11:01:76:F7  
          inet addr:192.168.0.202  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:11ff:fe01:76f7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1366 errors:0 dropped:0 overruns:0 frame:0
          TX packets:930 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:109667 (107.0 KiB)  TX bytes:110035 (107.4 KiB)

kikiran

Re: opkg install is not working

Reply Threaded More More options
Print post
Permalink
In reply to this post by François-Léonard Gilbert

François-Léonard Gilbert wrote:
Did you do the USB networking procedure in the Wiki?   If so, did you setup
network forwarding on your PC?

The problem may also be that all the HTTP addresses contain double slashes
(ex.:   ".../ipk//all/...") you could check the opkg setup files for errors.

François

On Wed, Sep 23, 2009 at 11:49 AM, abatrour <abatrour@gmail.com> wrote:

>
>
> kikiran wrote:
> >
> > i had installed full gta02 shr distribution
> > but i am trying to update    opkg update
> >
> > then coming like this
> > Downloading
> http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
> > Collected errors:
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
> > error detail: Couldn't resolve host name
> >
> >
> > please help me
> >
> > thanks....
> >
>
> How do you have it connected to the internet? Can you run ifconfig for me?
>

_______________________________________________
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support





hi,
thank u for your early reply
we are using proxy server for internet connection and we have done like this
linux-qgp3:~/Desktop # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0F:FE:ED:FB:30  
          inet addr:172.16.99.255  Bcast:172.16.103.255  Mask:255.255.248.0
          inet6 addr: fe80::20f:feff:feed:fb30/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:79823487 (76.1 Mb)  TX bytes:3657268 (3.4 Mb)
          Memory:f0180000-f01a0000

freerunne Link encap:Ethernet  HWaddr 00:1F:11:01:76:F8  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

linux-qgp3:~/Desktop #
linux-qgp3:~/Desktop # ifconfig freerunner 192.168.0.200 netmask 255.255.255.0 up
linux-qgp3:~/Desktop # route add -host 192.168.0.202 dev freerunner
linux-qgp3:~/Desktop # iptables -
Bad argument `-'
Try `iptables -h' or 'iptables --help' for more information.
linux-qgp3:~/Desktop # iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
linux-qgp3:~/Desktop # sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
linux-qgp3:~/Desktop # ip addr add 192.168.0.200/24 dev freerunner
RTNETLINK answers: File exists
linux-qgp3:~/Desktop # sysctl net.ipv4.conf.eth2.proxy_arp=1
/proc/sys/net/ipv4/conf/eth2/proxy_arp: No such file or directory
linux-qgp3:~/Desktop # sysctl net.ipv4.conf.freerunner.proxy_arp=1
net.ipv4.conf.freerunner.proxy_arp = 1
linux-qgp3:~/Desktop # ip link set freerunner up
linux-qgp3:~/Desktop # ifconfig freerunner up
linux-qgp3:~/Desktop # ssh root@192.168.0.202
root@192.168.0.202's password:
root@om-gta02 ~ $ op
openssl      ophonekitd   opkg         opkg-key
openvt       opimd-notes  opkg-cl
root@om-gta02 ~ $ opkg update
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Collected errors:
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
error detail: Couldn't resolve host name
root@om-gta02 ~ $
abatrour

Re: opkg install is not working

Reply Threaded More More options
Print post
Permalink

kikiran wrote:
François-Léonard Gilbert wrote:
Did you do the USB networking procedure in the Wiki?   If so, did you setup
network forwarding on your PC?

The problem may also be that all the HTTP addresses contain double slashes
(ex.:   ".../ipk//all/...") you could check the opkg setup files for errors.

François

On Wed, Sep 23, 2009 at 11:49 AM, abatrour <abatrour@gmail.com> wrote:

>
>
> kikiran wrote:
> >
> > i had installed full gta02 shr distribution
> > but i am trying to update    opkg update
> >
> > then coming like this
> > Downloading
> http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
> > Downloading
> > http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
> > Collected errors:
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
> > error detail: Couldn't resolve host name
> >  * Failed to download
> > http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
> > error detail: Couldn't resolve host name
> >
> >
> > please help me
> >
> > thanks....
> >
>
> How do you have it connected to the internet? Can you run ifconfig for me?
>

_______________________________________________
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support





hi,
thank u for your early reply
we are using proxy server for internet connection and we have done like this
linux-qgp3:~/Desktop # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0F:FE:ED:FB:30  
          inet addr:172.16.99.255  Bcast:172.16.103.255  Mask:255.255.248.0
          inet6 addr: fe80::20f:feff:feed:fb30/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40133 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:79823487 (76.1 Mb)  TX bytes:3657268 (3.4 Mb)
          Memory:f0180000-f01a0000

freerunne Link encap:Ethernet  HWaddr 00:1F:11:01:76:F8  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

linux-qgp3:~/Desktop #
linux-qgp3:~/Desktop # ifconfig freerunner 192.168.0.200 netmask 255.255.255.0 up
linux-qgp3:~/Desktop # route add -host 192.168.0.202 dev freerunner
linux-qgp3:~/Desktop # iptables -
Bad argument `-'
Try `iptables -h' or 'iptables --help' for more information.
linux-qgp3:~/Desktop # iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
linux-qgp3:~/Desktop # sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
linux-qgp3:~/Desktop # ip addr add 192.168.0.200/24 dev freerunner
RTNETLINK answers: File exists
linux-qgp3:~/Desktop # sysctl net.ipv4.conf.eth2.proxy_arp=1
/proc/sys/net/ipv4/conf/eth2/proxy_arp: No such file or directory
linux-qgp3:~/Desktop # sysctl net.ipv4.conf.freerunner.proxy_arp=1
net.ipv4.conf.freerunner.proxy_arp = 1
linux-qgp3:~/Desktop # ip link set freerunner up
linux-qgp3:~/Desktop # ifconfig freerunner up
linux-qgp3:~/Desktop # ssh root@192.168.0.202
root@192.168.0.202's password:
root@om-gta02 ~ $ op
openssl      ophonekitd   opkg         opkg-key
openvt       opimd-notes  opkg-cl
root@om-gta02 ~ $ opkg update
Downloading http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz
Downloading http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz
Collected errors:
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//all/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4t/Packages.gz.
error detail: Couldn't resolve host name
 * Failed to download http://build.shr-project.org/shr-unstable/ipk//om-gta02/Packages.gz.
error detail: Couldn't resolve host name
root@om-gta02 ~ $
Can you do a ping test for me? Also double check to see if the wifi is disabled, it's possible that your phone is trying to update through the wrong connection.