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

2010-06-30 Thread Chris Stankevitz
--- On Wed, 6/30/10, Yuri Pankov  wrote:
> /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.

Perfect, thank you!

Chris 


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2010-06-30 Thread Yuri Pankov
On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote:
> > From: Kevin Kinsey 
> > > 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2010-06-30 Thread Chris Stankevitz
> From: Kevin Kinsey 
> > 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.

Thank you,

Chris


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2010-06-30 Thread Kevin Kinsey

Chris Stankevitz wrote:

pkg_add -r gnome2

This command fails repeatedly with "broken pipe" because the FTP 

> connection breaks.  When it dies, I just re-run the command.  I'm now on the 
fifth attempt.


The gnome2 package is a "meta" package that installs many other packages.

Q1: Is it bad for my FreeBSD system that I keep re-issuing the command 

> "pkg_add -r gnome2"?  I'm happy FreeBSD isn't responding "already installed".

Shouldn't be bad for the system, unless you get a lil' P.O.'ed (and hack it
to bits, for example).

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, or are you looking for
/usr/ports/x11/gnome2/Makefile?  (Which, as it's a meta-port, will
probably just mean you need to look at about 120 other Makefiles).

Q3: I've been using this internet connection for years downloading 

> packages for other OSes without trouble.  Why is pkg_add/fetch having so much 
trouble?

Firewall?  Try setting PASSIVE in your environment.  Otherwise,
I dunno.  Any error message from fetch?


HTH,

KDK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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

2010-06-30 Thread Chris Stankevitz

pkg_add -r gnome2

This command fails repeatedly with "broken pipe" because the FTP connection 
breaks.  When it dies, I just re-run the command.  I'm now on the fifth attempt.

The gnome2 package is a "meta" package that installs many other packages.

Q1: Is it bad for my FreeBSD system that I keep re-issuing the command "pkg_add 
-r gnome2"?  I'm happy FreeBSD isn't responding "already installed".

Q2: Where on my hard drive are the bytes that tell pkg_add to use 
ftp.freebsd.org when downloading packages?

Q3: I've been using this internet connection for years downloading packages for 
other OSes without trouble.  Why is pkg_add/fetch having so much trouble?

Thank you,

Chris


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"