Results 1 to 3 of 3

Thread: Failed to install ipkg

  1. #1

    Failed to install ipkg

    I got the following error when I try to install ipkg.

    Code:
    [admin@(none) /opt]$ ipkg.sh install ipkg
    
    Downloading http://wl500g.dyndns.org/ipkg/ipkg_0.99.149-2_mipsel.ipk ...
    Connecting to wl500g.dyndns.org[212.192.248.17]:80
    ipkg_0.99.149-2_mips 100% |***************************************| 71113       00:00 ETA
    Done.
    Unpacking ipkg...Done.
    Configuring ipkg...tar: Cannot create directory `./opt/bin': No such file or directory
    tar: ./opt/bin/ipkg: No such file or directory
    Done.
    I have followed the instruction to create /opt/tmp/ipkg. Currently, I don't create a swap partition. Is it a must? Could someone help? I am a beginner to Linux.

    Code:
    [admin@(none) root]$ free
                  total         used         free       shared      buffers
      Mem:        30140        14608        15532            0         3260
     Swap:            0            0            0
    Total:        30140        14608        15532
    [admin@(none) root]$ df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/root                 2944      2944         0 100% /
    /dev/discs/disc0/part1  10690160   2423880   7714452  24% /opt
    /dev/discs/disc0/part5  20659352   3896348  16763004  19% /tmp/harddisk
    [admin@(none) root]$

    Galleons

  2. #2
    Do you have proper filesystems on that HDD ?

  3. #3
    I think so because the log shows it and I can access the data in the drive.

    Code:
    Jan  1 08:00:04 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan  1 08:00:04 kernel:   Vendor: ST340015  Model: A                 Rev: 0811
    Jan  1 08:00:04 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
    Jan  1 08:00:04 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Jan  1 08:00:04 kernel: SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
    I think the reason it cannot create the directory is because the directory is just a link. And, the link is actually not valid.

    Code:
    [admin@(none) /]$ ls -l ./opt/bin
    lrwxrwxrwx    1 admin    root            9 Jan  1  1970 ./opt/bin -> /apps/bin
    But, I don't know how to change it and what should I change.

Similar Threads

  1. Инструкция по настройке роутера WL-500gP с нуля
    By OlegI in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 1259
    Last Post: 10-02-2011, 21:25
  2. ipkg install mc
    By scriptman in forum WL-500gP Q&A
    Replies: 6
    Last Post: 22-01-2009, 09:04
  3. Help install IPKG and Twonkymedia
    By harmonyfan in forum WL-HDD Q&A
    Replies: 7
    Last Post: 20-01-2007, 11:51
  4. WL500g Premium - 7f-pre6, теперь pre7
    By Oleg in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 44
    Last Post: 12-09-2006, 23:19
  5. Ctcs install
    By fisha in forum WL-HDD Q&A
    Replies: 0
    Last Post: 30-08-2006, 12:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •