pkg_add fails due to 'broken pipe'. Is my system in a consistent state?

Yuri Pankov yuri.pankov at gmail.com
Thu Jul 1 06:16:42 UTC 2010


On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote:
> > From: Kevin Kinsey <kdk at daleco.biz>
> > > Q2: Where on my hard drive are the bytes that tell
> > > pkg_add to use 
> > > ftp.freebsd.org when downloading packages?
> > 
> > You mean like inode number, which cylinder
> 
> No, I am looking for a file name.

/usr/src/usr.sbin/pkg_install/add/main.c
static char * getpackagesite(void)

which constructs URL using ftp.freebsd.org unless PACKAGESITE and
PACKAGEROOT are defined.

> 
> Thank you,
> 
> Chris


HTH,
Yuri


More information about the freebsd-questions mailing list