Ernillew / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

ipkg.sh update segmentation fault #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "ipkg.sh install ipkg-opt" after ipkg.sh update
2.
3.

What is the expected output? What do you see instead?
[admin@Asus bin]$ ipkg.sh install ipkg-opt
The following package were previously requested but have not been installed:
ipkg-opt uclibc-opt
Install them now [Y/n] ? y

Downloading 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk ...
Segmentation fault
ipkg_download: ERROR: Failed to retrieve 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk, returning
ipkg_get_install: Perhaps you need to run `ipkg update'?

Downloading 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk ...
Segmentation fault
ipkg_download: ERROR: Failed to retrieve 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk, returning
ipkg_get_install: Perhaps you need to run `ipkg update'?

Downloading 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk ...
Segmentation fault
ipkg_download: ERROR: Failed to retrieve 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13
_mipsel.ipk, returning
ipkg_get_install: Perhaps you need to run `ipkg update'?

------------------------

[admin@Asus bin]$ ipkg.sh update
Downloading http://wl500g.googlecode.com/svn/ipkg/optware-d/Packages ...
Segmentation fault
ipkg_download: ERROR: Failed to retrieve 
http://wl500g.googlecode.com/svn/ipkg/optware-d/Packages, returning
ipkg_update: Error downloading 
http://wl500g.googlecode.com/svn/ipkg/optware-d/Packages to 
/opt/lib/ipkg/lists/wl500g-d
Downloading 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages ...
Segmentation fault
ipkg_download: ERROR: Failed to retrieve 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages, returning 
t
ipkg_update: Error downloading 
http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages to 
/opt/lib/ipkg/lists/optware

What version of the product are you using?
WL500gpv2-1.9.2.7-d-r1612.trx

Please provide any additional information below.
I try different flash, same problem

Original issue reported on code.google.com by miha.rat...@gmail.com on 1 Jul 2010 at 1:07

GoogleCodeExporter commented 9 years ago
Can you simply download anything by wget?

cd /tmp
wget http://wl500g.googlecode.com/svn/ipkg/optware-d/Packages

in case of you get error, than it is duplicate of issue 91

Original comment by lly.dev on 1 Jul 2010 at 6:46

GoogleCodeExporter commented 9 years ago
wget - Segmentation fault
/usr/bin/wget - works

i downgrade to WL500gpv2-1.9.2.7-d-r381
works fine

Original comment by miha.rat...@gmail.com on 1 Jul 2010 at 8:28

GoogleCodeExporter commented 9 years ago
So, ipkg.sh tries to use some external wget binary, which give Segmentation 
fault due to newer uClibc. Currently, you have to remove this binary until 
uclibc-opt will be installed, or correct PATH to exclude external utilities.

ipkg.sh will be fixed to use build-in /usr/bin/wget in next release.

Original comment by lly.dev on 1 Jul 2010 at 9:00

GoogleCodeExporter commented 9 years ago
Also check that you are use built-in /usr/bin/ipkg.sh, since it already has 
protection against use of external utilities 
(PATH=/sbin:/usr/sbin:/bin:/usr/bin)

Original comment by lly.dev on 1 Jul 2010 at 4:45