Skip to content

pkgin: pkg_install package is not installed. #70

Description

@ShixiangWang

I follow the instruction https://pkgsrc.joyent.com/install-on-linux/, but error occur when I use command

[wangshx@HPC-login ~]$ pkgin -y update
pkgin: pkg_install package is not installed.

I check the directory but I cannot find pkg_install

[wangshx@HPC-login bin]$ ls
bmake         c2ph       instmodsh  lzmainfo         pkgin       ptargrep  xsubpp
bunzip2       c_rehash   json_pp    lzmore           pl2pm       reset     xz
bzcat         captoinfo  libnetcfg  ncurses6-config  pod2html    shasum    xzcat
bzcmp         clear      lzcat      openssl          pod2man     splain    xzcmp
bzdiff        corelist   lzcmp      perl             pod2text    sqlite3   xzdec
bzegrep       cpan       lzdiff     perl5.24.0       pod2usage   tabs      xzdiff
bzfgrep       enc2xs     lzegrep    perlbug          podchecker  tic       xzegrep
bzgrep        encguess   lzfgrep    perldoc          podselect   toe       xzfgrep
bzip2         h2ph       lzgrep     perlivp          prove       tput      xzgrep
bzip2recover  h2xs       lzless     perllink         pstruct     tset      xzless
bzless        infocmp    lzma       perlthanks       ptar        unlzma    xzmore
bzmore        infotocap  lzmadec    piconv           ptardiff    unxz      zipdetails

How can I do to fix it?

Activity

  1. jperkin commented on Jan 18, 2018

    @jperkin
    Collaborator

    Which bootstrap kit was this with? Sorry about that, these kits haven't been updated in a long time so may require a refresh.

  2. ShixiangWang commented on Jan 18, 2018

    @ShixiangWang
    Author

    bootstrap-trunk-x86_64-20170127.tar.gz in https://pkgsrc.joyent.com/packages/Linux/el7/bootstrap/ and https://pkgsrc.joyent.com/packages/Linux/el6/bootstrap/ all cannot use because of the lost of pkg_install.

  3. jperkin commented on Jan 18, 2018

    @jperkin
    Collaborator

    Hm, I tried to reproduce but it works fine for me. Can you confirm what commands you executed and whether /usr/pkg/.pkgdb/pkg_install-20160410nb1 exists after you unpack the tarball (and that there were no errors after unpacking)?

    For example on an EL7 test host:

    $ cat /etc/redhat-release
    CentOS Linux release 7.3.1611 (Core)
    $ curl -O https://pkgsrc.joyent.com/packages/Linux/el7/bootstrap/bootstrap-trunk-x86_64-20170127.tar.gz
    $ tar -zxpf bootstrap-trunk-x86_64-20170127.tar.gz -C /
    $ PATH=/usr/pkg/sbin:/usr/pkg/bin:$PATH
    $ pkgin up
    reading local summary...
    processing local summary...
    pkg_summary.xz                      100% 2015KB 335.8KB/s 350.8KB/s   00:06
    $ pkgin avail | wc -l
    16497
    

    Thanks.

  4. ShixiangWang commented on Jan 18, 2018

    @ShixiangWang
    Author

    @jperkin Really thanks your quick reply.

    First,

    [wangshx@HPC-login ~]$ curl -O https://pkgsrc.joyent.com/packages/Linux/el6/bootstrap/bootstrap-trunk-x86_64-20170127.tar.gz
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 34.2M  100 34.2M    0     0  2640k      0  0:00:13  0:00:13 --:--:-- 5024k
    
    [wangshx@HPC-login ~]$ tar -zxpf bootstrap-trunk-x86_64-20170127.tar.gz -C $HOME
    # No error occur when unpacking

    Second,

    # I am not a root user
    [wangshx@HPC-login ~]$ export PATH=$HOME/usr/pkg/sbin:$HOME/usr/pkg/bin:$PATH

    Then,

    [wangshx@HPC-login ~]$ pkgin up
    pkgin: error while loading shared libraries: libbz2.so.0: cannot open shared object file: No such file or directory

    I encounter this problem before, I fix it using

    export LD_LIBRARY_PATH=$HOME/usr/pkg/lib:$LID_LIBRARY_PATH

    Last, I check following commands and files you mentioned.

    [wangshx@HPC-login ~]$ pkgin up
    pkgin: pkg_install package is not installed.
    [wangshx@HPC-login ~]$ cd usr/pkg/
    [wangshx@HPC-login pkg]$ ls -al
    total 56
    drwxr-xr-x 14 wangshx liuxs 4096 Jan 28  2017 .
    drwxr-xr-x  3 wangshx liuxs 4096 Jan 19 00:10 ..
    drwxr-xr-x  2 wangshx liuxs 4096 Jan 28  2017 bin
    drwxr-xr-x  6 wangshx liuxs 4096 Jan 28  2017 etc
    drwxr-xr-x  6 wangshx liuxs 4096 Jan 28  2017 include
    drwxr-xr-x  2 wangshx liuxs 4096 Jan 28  2017 info
    drwxr-xr-x  5 wangshx liuxs 4096 Jan 28  2017 lib
    drwxr-xr-x  3 wangshx liuxs 4096 Jan 28  2017 libdata
    drwxr-xr-x  3 wangshx liuxs 4096 Jan 27  2017 libexec
    drwxr-xr-x  7 wangshx liuxs 4096 Jan 28  2017 man
    drwxr-xr-x 19 wangshx liuxs 4096 Jan 28  2017 .pkgdb
    drwxr-xr-x  4 wangshx liuxs 4096 Jan 28  2017 .pkgdb.refcount
    drwxr-xr-x  2 wangshx liuxs 4096 Jan 28  2017 sbin
    drwxr-xr-x 11 wangshx liuxs 4096 Jan 28  2017 share
    [wangshx@HPC-login pkg]$ cd .pkgdb
    [wangshx@HPC-login .pkgdb]$ ls -al
    total 996
    drwxr-xr-x 19 wangshx liuxs   4096 Jan 28  2017 .
    drwxr-xr-x 14 wangshx liuxs   4096 Jan 28  2017 ..
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 27  2017 bmake-20150505
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 27  2017 bootstrap-mk-files-20160908
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 bzip2-1.0.6nb1
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 27  2017 cwrappers-20170112
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 libarchive-3.2.1nb2
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 mozilla-rootcerts-1.0.20160610
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 ncurses-6.0nb3
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 openssl-1.0.2k
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 perl-5.24.0
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 pkg_alternatives-1.6
    -rw-r--r--  1 wangshx liuxs 942080 Jan 28  2017 pkgdb.byfile.db
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 pkgin-0.9.4nb4
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 pkg_install-20160410nb1
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 pkgsrc-gnupg-keys-20160519
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 readline-7.0
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 sqlite3-3.16.2
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 xz-5.2.3
    drwxr-xr-x  2 wangshx liuxs   4096 Jan 28  2017 zlib-1.2.8nb3
    [wangshx@HPC-login .pkgdb]$ cd pkg_install-20160410nb1/
    [wangshx@HPC-login pkg_install-20160410nb1]$ ls
    +BUILD_INFO     +COMMENT   +DEINSTALL  +DISPLAY  +PRESERVE     +SIZE_ALL
    +BUILD_VERSION  +CONTENTS  +DESC       +INSTALL  +REQUIRED_BY  +SIZE_PKG
    [wangshx@HPC-login pkg_install-20160410nb1]$ pkgin avail | wc -l
    pkgin: pkg_install package is not installed.
    0

    So, still the same error.

    How to interpret this? I am really curious and still have no clue to fix it.

  5. jperkin commented on Jan 18, 2018

    @jperkin
    Collaborator

    You can't install this kit to your home directory, it's built specifically to go into /usr/pkg. You'll need to build your own pkgsrc packages rather than use ours I'm afraid.

    The basic approach to doing that is:

    $ git clone [email protected]:NetBSD/pkgsrc.git
    $ cd pkgsrc/bootstrap
    $ ./bootstrap --prefix=$HOME/pkg
    $ PATH=$HOME/pkg/sbin:$HOME/pkg/bin:$PATH
    $ cd ../category/pkg; bmake install
    

    where category/pkg is whatever package you wish to install.

  6. ShixiangWang commented on Jan 19, 2018

    @ShixiangWang
    Author

    I figure it out. Thanks @jperkin

  7. ShixiangWang commented on Jan 19, 2018

    @ShixiangWang
    Author

    Hello @jperkin Here I have another question.
    I install git but it's still the older version

    [wangshx@HPC-login etc]$ pkgin -y install git
    calculating dependencies... done.
    /usr/pkg/lib/libz.so.1, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libunistring.so.2, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libssl.so.1.0.0, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libssh2.so.1, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libsasl2.so.3, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libpcre2-8.so.0, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libldap-2.4.so.2, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/liblber-2.4.so.2, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libidn2.so.0, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libexpat.so.1, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libcurl.so.4, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libcrypto.so.1.0.0, needed by git-base-2.15.1nb1 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libxcb.so.1, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libtcl86.so, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libpng16.so.16, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libfreetype.so.6, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libfontconfig.so.1, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libexpat.so.1, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libbz2.so.0, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libXrender.so.1, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libXft.so.2, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libX11.so.6, needed by tk-8.6.7 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libunistring.so.2, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libssl.so.1.0.0, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libssh2.so.1, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libsasl2.so.3, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libldap-2.4.so.2, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/liblber-2.4.so.2, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libidn2.so.0, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libcrypto.so.1.0.0, needed by curl-7.57.0nb1 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by pcre2-10.30nb1 is not present in this system.
    /usr/pkg/lib/libbz2.so.0, needed by pcre2-10.30nb1 is not present in this system.
    /usr/pkg/lib/libunistring.so.2, needed by libidn2-2.0.4 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by libssh2-1.8.0 is not present in this system.
    /usr/pkg/lib/libssl.so.1.0.0, needed by libssh2-1.8.0 is not present in this system.
    /usr/pkg/lib/libcrypto.so.1.0.0, needed by libssh2-1.8.0 is not present in this system.
    /usr/pkg/lib/libssl.so.1.0.0, needed by openldap-client-2.4.45 is not present in this system.
    /usr/pkg/lib/libsasl2.so.3, needed by openldap-client-2.4.45 is not present in this system.
    /usr/pkg/lib/libcrypto.so.1.0.0, needed by openldap-client-2.4.45 is not present in this system.
    /usr/pkg/lib/libxcb.so.1, needed by libX11-1.6.5 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by libX11-1.6.5 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by libX11-1.6.5 is not present in this system.
    /usr/pkg/lib/libxcb.so.1, needed by libXext-1.3.3 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by libXext-1.3.3 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by libXext-1.3.3 is not present in this system.
    /usr/pkg/lib/libX11.so.6, needed by libXext-1.3.3 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libxcb.so.1, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libpng16.so.16, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libfreetype.so.6, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libfontconfig.so.1, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libexpat.so.1, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libbz2.so.0, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libXrender.so.1, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libX11.so.6, needed by libXft-2.3.2 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by tcl-8.6.7nb2 is not present in this system.
    /usr/pkg/lib/libsqlite3.so.0, needed by tcl-8.6.7nb2 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by fontconfig-2.12.6nb1 is not present in this system.
    /usr/pkg/lib/libpng16.so.16, needed by fontconfig-2.12.6nb1 is not present in this system.
    /usr/pkg/lib/libfreetype.so.6, needed by fontconfig-2.12.6nb1 is not present in this system.
    /usr/pkg/lib/libexpat.so.1, needed by fontconfig-2.12.6nb1 is not present in this system.
    /usr/pkg/lib/libbz2.so.0, needed by fontconfig-2.12.6nb1 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by freetype2-2.8.1 is not present in this system.
    /usr/pkg/lib/libpng16.so.16, needed by freetype2-2.8.1 is not present in this system.
    /usr/pkg/lib/libbz2.so.0, needed by freetype2-2.8.1 is not present in this system.
    /usr/pkg/lib/libxcb.so.1, needed by libXrender-0.9.10 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by libXrender-0.9.10 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by libXrender-0.9.10 is not present in this system.
    /usr/pkg/lib/libX11.so.6, needed by libXrender-0.9.10 is not present in this system.
    /usr/pkg/lib/libXdmcp.so.6, needed by libxcb-1.12nb1 is not present in this system.
    /usr/pkg/lib/libXau.so.6, needed by libxcb-1.12nb1 is not present in this system.
    /usr/pkg/lib/libdb4-4.8.so.8, needed by cyrus-sasl-2.1.26nb6 is not present in this system.
    /usr/pkg/lib/libssl.so.1.0.0, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libsqlite3.so.0, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libsasl2.so.3, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libreadline.so.7, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libncurses.so.6, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libldap-2.4.so.2, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/liblber-2.4.so.2, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libfl.so.2, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libdb4-4.8.so.8, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libcrypto.so.1.0.0, needed by heimdal-1.5.3nb16 is not present in this system.
    /usr/pkg/lib/libz.so.1, needed by png-1.6.34 is not present in this system.
    
    nothing to upgrade.
    34 packages to be installed (66M to download, 546M to install):
    
    ncurses-6.0nb4 flex-2.6.4 libidn-1.33 p5-Net-SSLeay-1.82 p5-Net-LibIDN-0.12nb9 p5-Mozilla-CA-20160104nb2 p5-Socket6-0.28nb1 p5-Net-IP-1.26nb5 p5-IO-Socket-INET6-2.72nb3 libunistring-0.9.8 tcp_wrappers-7.6.4 libXdmcp-1.1.2 libXau-1.0.8 p5-GSSAPI-0.28nb8 p5-Digest-HMAC-1.03nb7 p5-Net-Domain-TLD-1.75nb1 p5-Net-DNS-1.14 p5-IO-CaptureOutput-1.11.04nb3 p5-TimeDate-2.30nb4 p5-IO-Socket-SSL-2.052 bzip2-1.0.6nb1 zlib-1.2.11 perl-5.26.1nb2 p5-Net-SMTP-SSL-1.04nb1 p5-MailTools-2.19 p5-Error-0.17025 p5-Email-Valid-1.202nb1 p5-Authen-SASL-2.16nb5 openssl-1.0.2nnb1 expat-2.2.4 git-gitk-2.15.1 git-docs-2.15.1 git-contrib-2.15.1 git-2.15.1
    
    the following packages have unmet requirements: 
    git-base-2.15.1nb1 tk-8.6.7 curl-7.57.0nb1 pcre2-10.30nb1 libidn2-2.0.4 libssh2-1.8.0 openldap-client-2.4.45 libX11-1.6.5 libXext-1.3.3 libXft-2.3.2 tcl-8.6.7nb2 fontconfig-2.12.6nb1 freetype2-2.8.1 libXrender-0.9.10 libxcb-1.12nb1 cyrus-sasl-2.1.26nb6 heimdal-1.5.3nb16 png-1.6.34
    
    downloading packages...
    ncurses-6.0nb4.tgz                                                   100% 1518KB 379.4KB/s 305.5KB/s   00:04    
    flex-2.6.4.tgz                                                       100%  330KB 164.8KB/s  77.5KB/s   00:02    
    libidn-1.33.tgz                                                      100%  306KB 152.9KB/s  85.7KB/s   00:02    
    p5-Net-SSLeay-1.82.tgz                                               100%  370KB 123.5KB/s  54.4KB/s   00:03    
    p5-Net-LibIDN-0.12nb9.tgz                                            100%   25KB  24.6KB/s  24.6KB/s   00:00    
    p5-Mozilla-CA-20160104nb2.tgz                                        100%  157KB 156.7KB/s  96.7KB/s   00:01    
    p5-Socket6-0.28nb1.tgz                                               100%   23KB  23.4KB/s  23.4KB/s   00:00    
    p5-Net-IP-1.26nb5.tgz                                                100%   32KB  31.7KB/s  31.7KB/s   00:00    
    p5-IO-Socket-INET6-2.72nb3.tgz                                       100%   16KB  16.0KB/s  16.0KB/s   00:00    
    libunistring-0.9.8.tgz                                               100% 1454KB 363.4KB/s 417.6KB/s   00:04    
    tcp_wrappers-7.6.4.tgz                                               100%   95KB  95.4KB/s  35.4KB/s   00:01    
    libXdmcp-1.1.2.tgz                                                   100%   37KB  37.4KB/s  37.4KB/s   00:00    
    libXau-1.0.8.tgz                                                     100%   17KB  17.0KB/s  17.0KB/s   00:00    
    p5-GSSAPI-0.28nb8.tgz                                                100%   59KB  59.3KB/s  15.3KB/s   00:01    
    p5-Digest-HMAC-1.03nb7.tgz                                           100%   12KB  12.0KB/s  12.0KB/s   00:00    
    p5-Net-Domain-TLD-1.75nb1.tgz                                        100%   34KB  34.1KB/s  34.1KB/s   00:01    
    p5-Net-DNS-1.14.tgz                                                  100%  347KB 115.7KB/s 143.2KB/s   00:03    
    p5-IO-CaptureOutput-1.11.04nb3.tgz                                   100%   15KB  14.6KB/s  14.6KB/s   00:00    
    p5-TimeDate-2.30nb4.tgz                                              100%   40KB  39.9KB/s  39.9KB/s   00:01    
    p5-IO-Socket-SSL-2.052.tgz                                           100%  176KB  88.1KB/s 116.1KB/s   00:02    
    bzip2-1.0.6nb1.tgz                                                   100%   94KB  94.2KB/s  34.2KB/s   00:01    
    zlib-1.2.11.tgz                                                      100%  130KB 130.5KB/s  70.5KB/s   00:01    
    perl-5.26.1nb2.tgz                                                   100%   18MB   1.5MB/s 362.1KB/s   00:12    
    p5-Net-SMTP-SSL-1.04nb1.tgz                                          100% 8366     8.2KB/s   8.2KB/s   00:00    
    p5-MailTools-2.19.tgz                                                100%   83KB  82.8KB/s  22.8KB/s   00:01    
    p5-Error-0.17025.tgz                                                 100%   23KB  22.9KB/s  22.9KB/s   00:00    
    p5-Email-Valid-1.202nb1.tgz                                          100%   18KB  18.1KB/s  18.1KB/s   00:00    
    p5-Authen-SASL-2.16nb5.tgz                                           100%   45KB  45.2KB/s  45.2KB/s   00:01    
    openssl-1.0.2nnb1.tgz                                                100% 4726KB 787.6KB/s 409.7KB/s   00:06    
    expat-2.2.4.tgz                                                      100%  201KB 201.4KB/s 125.4KB/s   00:01    
    git-gitk-2.15.1.tgz                                                  100%  465KB 232.5KB/s 229.0KB/s   00:02    
    git-docs-2.15.1.tgz                                                  100%  812KB 202.9KB/s 383.7KB/s   00:04    
    git-contrib-2.15.1.tgz                                               100%   19KB  18.6KB/s  18.6KB/s   00:00    
    git-2.15.1.tgz                                                       100% 2636     2.6KB/s   2.6KB/s   00:00    
    installing packages...
    installing ncurses-6.0nb4...
    installing flex-2.6.4...
    installing libidn-1.33...
    installing p5-Net-SSLeay-1.82...
    installing p5-Net-LibIDN-0.12nb9...
    installing p5-Mozilla-CA-20160104nb2...
    installing p5-Socket6-0.28nb1...
    installing p5-Net-IP-1.26nb5...
    installing p5-IO-Socket-INET6-2.72nb3...
    installing libunistring-0.9.8...
    installing tcp_wrappers-7.6.4...
    installing libXdmcp-1.1.2...
    installing libXau-1.0.8...
    installing p5-GSSAPI-0.28nb8...
    installing p5-Digest-HMAC-1.03nb7...
    installing p5-Net-Domain-TLD-1.75nb1...
    installing p5-Net-DNS-1.14...
    installing p5-IO-CaptureOutput-1.11.04nb3...
    installing p5-TimeDate-2.30nb4...
    installing p5-IO-Socket-SSL-2.052...
    installing bzip2-1.0.6nb1...
    installing zlib-1.2.11...
    installing perl-5.26.1nb2...
    installing p5-Net-SMTP-SSL-1.04nb1...
    installing p5-MailTools-2.19...
    installing p5-Error-0.17025...
    installing p5-Email-Valid-1.202nb1...
    installing p5-Authen-SASL-2.16nb5...
    installing openssl-1.0.2nnb1...
    installing expat-2.2.4...
    installing git-gitk-2.15.1...
    installing git-docs-2.15.1...
    installing git-contrib-2.15.1...
    installing git-2.15.1...
    pkg_install warnings: 0, errors: 0
    [wangshx@HPC-login etc]$ git --version
    git version 1.7.1

    By the way, where is the latest repository for packages via FTP and HTTP?

  8. ShixiangWang commented on Jan 19, 2018

    @ShixiangWang
    Author

    @jperkin You mentioned that "You'll need to build your own pkgsrc packages rather than use ours I'm afraid." It means I cannot use pkgin install to install packages? I have to use bmake?

  9. mamash commented on Jan 22, 2018

    @mamash

    pkgin only installs pre-built binary packages. However, binary packages are always hardcoded for a predefined prefix, and ours are for /usr/pkg.

    If you need packages under a different prefix, you cannot use our binary packages (and subsequently cannot use pkgin); you'll have to close the pkgsrc repository and build your own package from source using bmake.

  10. added a commit that references this issue on Jul 30, 2018
  11. added a commit that references this issue on Sep 24, 2018
  12. 150 remaining items

  13. added a commit that references this issue on May 14, 2026
  14. added a commit that references this issue on Jun 12, 2026
  15. added a commit that references this issue on Sep 9, 2026
  16. added a commit that references this issue on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions