Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 19:11:06 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Derrick Edwards <dantavious@comcast.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: pkg_add error on STABLE
Message-ID:  <20041128191105.GB37244@submonkey.net>
In-Reply-To: <200411280521.35885.dantavious@comcast.net>
References:  <200411280521.35885.dantavious@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--7knXg9dK90d7f3Md
Content-Type: multipart/mixed; boundary="KGCJ2evWaA3eb4zZ"
Content-Disposition: inline


--KGCJ2evWaA3eb4zZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 28, 2004 at 05:21:35AM -0500, Derrick Edwards wrote:
> 	Everytime I try to install a package via pkg_add I get the following err=
or. =20
> There is not a packages-5-current directory but there is a=20
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable directory.=
 =20
> How do I fix this?=20
>=20
> %pkg_add -r mysqlcc
> Error: FTP Unable to get=20
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/my=
sqlcc.tbz:=20
> File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch=20
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/m=
ysqlcc.tbz'=20
> by URL

See if the attached patch does the right thing.

Ceri
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--KGCJ2evWaA3eb4zZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pkg_install.diff"

Index: pkg_install/add/main.c
===================================================================
RCS file: /a/FreeBSD/ncvs/src/usr.sbin/pkg_install/add/main.c,v
retrieving revision 1.59.2.1
diff -u -r1.59.2.1 main.c
--- pkg_install/add/main.c	24 Oct 2004 09:42:10 -0000	1.59.2.1
+++ pkg_install/add/main.c	28 Nov 2004 19:09:07 -0000
@@ -72,7 +72,8 @@
 	{ 503000, 503099, "/packages-5.3-release" },
 	{ 300000, 399000, "/packages-3-stable" },
 	{ 400000, 499000, "/packages-4-stable" },
-	{ 503100, 599000, "/packages-5-current" },
+	{ 502100, 502128, "/packages-5-current" },
+	{ 503100, 599000, "/packages-5-stable" },
 	{ 0, 9999999, "/packages-current" },
 	{ 0, 0, NULL }
 };

--KGCJ2evWaA3eb4zZ--

--7knXg9dK90d7f3Md
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBqiLJocfcwTS3JF8RAtQiAJ4o4WUybY/QJegU18Ww1RwzkK0PNACgnGBr
j4rELqG7Hc2Lve4ii/f3spM=
=124T
-----END PGP SIGNATURE-----

--7knXg9dK90d7f3Md--



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