pkg_add error on STABLE

Ceri Davies ceri at submonkey.net
Sun Nov 28 11:11:07 PST 2004


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 error.  
> There is not a packages-5-current directory but there is a 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable directory.  
> How do I fix this? 
> 
> %pkg_add -r mysqlcc
> Error: FTP Unable to get 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/mysqlcc.tbz: 
> File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch 
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-current/Latest/mysqlcc.tbz' 
> by URL

See if the attached patch does the right thing.

Ceri
-- 
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)
-------------- next part --------------
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 }
 };
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041128/08224f8e/attachment.bin


More information about the freebsd-stable mailing list