View Single Post
  #5   (View Single Post)  
Old 31st March 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

Code:
$ echo $PKG_PATH
ftp://ftp.freebsdchina.org/pub/OpenBSD/5.0/packages/i386/
$ lynx -dump $PKG_PATH/index.txt > pkglist.txt
10:25:34 (0)(~) :$ grep -i openbox pkglist.txt
-rw-r--r--  1 276  0     337614 Aug 16 13:23:13 2011 openbox-3.4.11.2p0.tgz
$ sudo pkg_add -v openbox
Password:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LC_MESSAGES = "zh_CN.UTF-8",
        LC_CTYPE = "en_US.UTF-8",
        LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't find openbox
Maybe the mirror has some problem. After i change it to ftp.openbsd.org,
it works now.

thanks!
Reply With Quote