Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks, OpenBSD 4.0 I need to install "rox-filer" On running; # pkg_add rox-filer It hung there for prolonged time. So ^C to exit it. On running; # pkg_info showpkg ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,814

    Problem on installing rox-filer-2.4.1


    Hi folks,


    OpenBSD 4.0


    I need to install "rox-filer"

    On running;
    # pkg_add rox-filer

    It hung there for prolonged time.

    So
    ^C
    to exit it.


    On running;
    # pkg_info showpkg rox-filer
    Code:
    Error from ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/amd64/:
    550 showpkg.tgz: No such file or directory
    Error from ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/amd64/:
    550 rox-filer.tgz: No such file or directory

    On browsing;
    ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/i386

    I found rox-filer-2.4.1 there.


    Then running;
    # export PATH=ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/i386

    # pkg_add rox-filer-2.4.1
    Code:
    ksh: pkg_add: not found
    # which pkg_add
    Code:
    ksh: which: not found

    # exit
    $ which pkg_add
    Code:
    /usr/sbin/pkg_add

    It is there. Please help. TIA


    B.R.
    satimis

  2. #2
    Just Joined!
    Join Date
    Jul 2007
    Posts
    1
    Quote Originally Posted by satimis View Post
    Then running;
    # export PATH=ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/i386

    # pkg_add rox-filer-2.4.1
    Code:
    ksh: pkg_add: not found
    # which pkg_add
    Code:
    ksh: which: not found
    # exit
    $ which pkg_add
    Code:
    /usr/sbin/pkg_add
    *sigh*

    First and foremost, man pkg_add. It's there for a reason and you've skipped it.

    pkg_add -i allows for variations should multiple options be found of a package.

    PATH is the env that is used to find local binaries, PKG_PATH is the env used to find remote package files.

    The proper command is
    Code:
    export PKG_PATH ftp://ftp.it.net.au/mirrors/OpenBSD/4.0/packages/amd64/; sudo pkg_add -i rox-filer
    I registered just to make sure to tell you to read the ****ing manual. rox-filer-2.4.1.tgz is there.

Posting Permissions

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