Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 23:10:50 -0700
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Fwd: sudo pkg_add -r gives "Syntax error..."
Message-ID:  <7d6fde3d0804012310h6c615a86v20e9d3d77c65809a@mail.gmail.com>
In-Reply-To: <7d6fde3d0804012309p129f94c1u6c33f75cd29b7b25@mail.gmail.com>
References:  <47F2AF3E.4010604@FreeBSD.org> <47F30AAD.6040504@p6m7g8.com> <7d6fde3d0804012309p129f94c1u6c33f75cd29b7b25@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 1, 2008 at 9:25 PM, Philip M. Gollucci <pgollucci@p6m7g8.com>
wrote:

> Pietro Cerutti wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Hi list,
> >
> > since a few days I cannot add packages with "sudo pkg_add -r " anymore..
> >
> > Example:
> >
> > | sudo pkg_add -r screen
> > Error: FTP Unable to get
> >
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/screen.tbz
> :
> AFAIK: you can't package screen, see the Makefile, but I think this is
> fixed and the restriction should be removed.
>
> probably unrelated to whatever you are seeing, FWIW, I always use 'sudo'
> for this.


I think that a variable being returned during or as part of the fetch is
NULL and a sprintf is being done with that NULL variable, because I just ran
into an issue like this compiling a piece of code on my own. I tried
reproducing that, but given the fact that I don't have 7.0 release right in
front of me, I can't really reproduce the issue.

HTH,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0804012310h6c615a86v20e9d3d77c65809a>