PDA

Bekijk de volledige versie : Error installing IPKG



Cyb
15-01-2007, 14:44
Product: WL-500g
Firmware: Oleg's 1.9.2.7-7f

I'm trying to install Ipkg as described on http://www.sprayfly.com/wiki/Ipkg, but I get an error when trying.


[admin@Asus root]$ cd /

[admin@Asus /]$ umount /tmp/harddisk
[admin@Asus /]$ mount /dev/discs/disc0/part1 /opt
[admin@Asus /]$ mkdir /opt/tmp
[admin@Asus /]$ mkdir /opt/tmp/ipkg


[admin@Asus /]$ ipkg.sh update
Downloading http://wl500g.dyndns.org/ipkg/Packages ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
Packages 100% |************************************************* *******************************| 754 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/wl500g


[admin@Asus /]$ ipkg.sh install ipkg
Downloading http://wl500g.dyndns.org/ipkg/ipkg_0.99.149-2_mipsel.ipk ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
ipkg_0.99.149-2_mips 100% |************************************************* *******************************| 71113 00:00 ETA
Done.
Unpacking ipkg...Done.
Configuring ipkg...md5sum: //opt/tmp/ipkg/ipkg/data/Package:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/ipkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Version:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/0.99.149-2: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Section:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/base: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Priority:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/required: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Essential:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/yes: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Architecture:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/mipsel: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Maintainer:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Pierluigi: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Frullani: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/<pigi@frumar.it>: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Source:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/http://www.handhelds.org/packages/ipkg/ipkg-0.99.149-2.tar.gz: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Description:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/lightweight: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/package: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/management: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/system: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/ipkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/is: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/the: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Itsy: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Package: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Management: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/System,: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/for: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/handling: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/installation: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/and: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/removal: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/of: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/packages: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/on: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/a: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/system.: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/It: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/can: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/recursively: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/follow: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/dependencies: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/and: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/download: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/all: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/packages: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/necessary: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/to: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/install: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/a: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/particular: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/package.: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/ipkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/knows: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/how: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/to: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/install: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/both: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/.ipk: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/and: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/.deb: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/packages.: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/ipkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/is: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/intended: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/to: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/serve: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/the: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/same: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/functions: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/(and: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/more): No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/for: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Familiar: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/that: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/dpkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/and: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/apt: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/serve: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/for: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Debian,: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/(while: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/taking: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/up: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/much: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/less: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/space).: No such file or directory
Done.
[admin@Asus /]$

As you can see, something went wrong when executing ipkg.sh install ipkg.

Someone here how knows a solution?

REO
17-01-2007, 11:55
How is the partition formatted, FAT or ext2(3) ?

REO

Julian
09-02-2007, 09:18
Hello,

I have the same problem to install ipkg. I'm using:
Product: WL-500gP
Firmware: Oleg's 1.9.2.7-7f

I have formatted my USB flash disk as ext2 filesystem:

[admin@Asus /usr]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2944 2944 0 100% /
/dev/discs/disc0/part1 2014944 768 2014176 0% /opt
[admin@Asus /usr]$ fdisk -l

Disk /dev/scsi/host0/bus0/target0/lun0/disc: 2063 MB, 2063597568 bytes
16 heads, 32 sectors/track, 7872 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 1 7710 1973744 83 Linux
/dev/scsi/host0/bus0/target0/lun0/part2 7711 7872 41472 82 Linux swap


ipkg update passes ok, but installation doesn't.


[admin@Asus /]$ ipkg.sh update
Downloading http://wl500g.dyndns.org/ipkg/Packages ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
Packages 100% |************************************************* ********| 754 00:00 ETA
Done.
Updated list of available packages in /opt/lib/ipkg/lists/wl500g

[admin@Asus /]$ ipkg.sh install ipkg

Downloading http://wl500g.dyndns.org/ipkg/ipkg_0.99.149-2_mipsel.ipk ...
Connecting to wl500g.dyndns.org[158.250.11.254]:80
ipkg_0.99.149-2_mips 100% |************************************************* ********| 71113 00:00 ETA
Done.
Unpacking ipkg...Done.
Configuring ipkg...md5sum: //opt/tmp/ipkg/ipkg/data/Package:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/ipkg: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Version:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/0.99.149-2: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Section:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/base: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Priority:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/required: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Essential:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/yes: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Architecture:: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/mipsel: No such file or directory
md5sum: //opt/tmp/ipkg/ipkg/data/Maintainer:: No such file or directory
...


I thought there is a problem with path construction (there is double slash at the beginning -> //opt/...). I have try to change directory constants within ipkong.sh script file, but always I got the same errors (but using /opt/...). I'm newbie in Linux and I try to do everything what I now...

Can someone help me please?
Thanks in advance,

Julain