View Single Post
Old 21st December 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

It is likely that your pkgin configuration file is incorrect.

My /usr/pkg/etc/pkgin/repositories.conf
Code:
Kanga$ pwd
/usr/pkg/etc/pkgin
Kanga$ cat repositories.conf
# $Id: repositories.conf,v 1.3 2012/06/13 13:50:17 imilh Exp $
#
# Pkgin repositories list
#
# Simply add repositories URIs one below the other
#
# WARNING: order matters, duplicates will not be added, if two
# repositories hold the same package, it will be fetched from 
# the first one listed in this file.
#
# This file format supports the following macros:
# $arch to define the machine hardware platform
# $osrelease to define the release version for the operating system
#
# Remote ftp repository
#
# ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/5.1/All
#
# Remote http repository
#
# http://mirror-master.dragonflybsd.org/packages/$arch/DragonFly-$osrelease/stable/All
#
# Local repository (must contain a pkg_summary.gz or bz2)
#
# file:///usr/pkgsrc/packages/All
# NetBSD OS release can look like 6.0_STABLE, do not use it as-is
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$arch/7.0.2/All
In order for pkgin to function, it needs to downlowd the the compressed pkg_summary for the repository you are using.
Code:
ftp> ls *summary*
229 Entering Extended Passive Mode (|||54881|)
150 Opening ASCII mode data connection for '/bin/ls'.
-rw-r--r--  1 601  netbsd    88999 Jul  4 11:58 pkg_summary-utils-0.66.0.tgz
-rw-rw-r--  1 601  netbsd  2575593 Nov 30 12:33 pkg_summary.bz2
-rw-rw-r--  1 601  netbsd  3777183 Nov 30 12:33 pkg_summary.gz
226 Transfer complete.
ftp> pwd
Remote directory: /pub/pkgsrc/packages/NetBSD/x86_64/7.0_2016Q3/All
ftp> bye
221-
    Data traffic for this session was 0 bytes in 0 files.
    Total traffic for this session was 25070 bytes in 9 transfers.
221 Thank you for using the FTP service on ftp.NetBSD.org

Last edited by shep; 21st December 2016 at 08:14 PM.
Reply With Quote