opkg install is not working
Mikhail Umorin
mikeumo at gmail.com
Mon Oct 5 02:03:01 CEST 2009
abatrour wrote:
>
>
>
> 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 at 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 at 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 at 192.168.0.202
>> root at 192.168.0.202's password:
>> root at om-gta02 ~ $ op
>> openssl ophonekitd opkg opkg-key
>> openvt opimd-notes opkg-cl
>> root at 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 at 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.
I think I have a similar problem: I get:
root at 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: Server returned nothing (no headers, no data)
* Failed to download http://build.shr-project.org/shr-
unstable/ipk//armv4/Packages.gz.
error detail: Server returned nothing (no headers, no data)
* Failed to download http://build.shr-project.org/shr-
unstable/ipk//armv4t/Packages.gz.
error detail: Server returned nothing (no headers, no data)
* Failed to download http://build.shr-project.org/shr-unstable/ipk//om-
gta02/Packages.gz.
error detail: Server returned nothing (no headers, no data)
I can ping www.google.com, no problems. Wifi is not a problem since it's not
working (I wish it would!).
How to change opkg settings to get rid of the double slashes? (though I have
not changed it and it worked fine before)
More information about the support
mailing list