scp ipkg install - segmentation fault
Shakthi Kannan
shakthimaan at gmail.com
Mon Dec 3 12:26:40 CET 2007
Hi,
I am using a Makefile to install .ipk package from a host PC (Debian
Etch+unstable+testing) to the target Neo (/etc/version: 200709172031):
=== BEGIN Makefile snippet ===
COLON = :
install-package:
scp /home/foo/moko/build/tmp/deploy/glibc/ipk/armv4t/one_*
root at 192.168.0.202${COLON}/tmp; cat /dev/null
ssh -X root at 192.168.0.202 'ipkg install /tmp/one_*'
uninstall-package:
ssh -X root at 192.168.0.202 'cd /tmp; ls; ipkg remove one'
ssh -X root at 192.168.0.202 'rm /tmp/one_*'
== END ===
When doing 'make install-package', scp works fine, but, ssh with ipkg
install exits with the following error messages:
=== BEGIN ERROR ===
ssh -X root at 192.168.0.202 'ipkg install /tmp/one_*'
root at 192.168.0.202's password:
Installing one (1.0-r0) to root...
Installing one (1.0-r0) to root...
Installing one (1.0-r0) to root...
Installing one (1.0-r0) to root...
Installing one (1.0-r0) to root...
Segmentation fault
make: *** [install-package] Error 139
=== END ===
The executable built in the .ipk gets installed in /usr/bin/one, but,
because of segmentation fault, it doesn't update the repo on the Neo?
So, when doing "make uninstall-package" it says, "No packages removed.
Nothing to be done."
But, when I manually copy the .ipk to the target Neo and install it
using "ipkg install one_*", it installs fine, and I am also able to
uninstall it.
What could be the problem?
SK
--
Shakthi Kannan
http://www.shakthimaan.com
More information about the openmoko-devel
mailing list