Results 1 to 5 of 5
Thread: FreeBSD Ports Problem
-
05-31-2005, 01:35 AM #1Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 2,197
FreeBSD Ports Problem
I'm having a problem installing a ports package. When I try to install mysql40-server for example I get the following error message:
>> mysql-4.0.21.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from ftp://planetmirror.com/pub/mysql/Downloads/MySQL-4.0/.
fetch: ftp://planetmirror.com/pub/mysql/Dow...4.0.21.tar.gz: File unavailable (e.g., file not found, no access)
This error message shows for all mirrors. It looks like it is searching for an old port and is not able to find it?
Does anybody have any idea how this can be fixed? Does it require a ports upgrade.
Any help is greatly appreciated.
-
05-31-2005, 01:47 AM #2Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
you should upgrade your ports. That is old. I generally just
rm -rf /usr/ports
cd /usr
fetch ftp://ftp.freebsd.org/pub/FreeBSD/po...s/ports.tar.gz
tar -zxf ports.tar.gz
rm -f ports.tar.gz
for a quick and easy upgradeSteven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
05-31-2005, 01:51 AM #3Web Hosting Master
- Join Date
- Jul 2003
- Location
- Nothing but, net
- Posts
- 2,064
cd /usr/ports/net/cvsup-without-gui/
make install clean
rehash
Put this in a text file:
*default host=cvsup6.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
ports-all
That will sync your ports tree to the latest available from any cvsup server.
-
05-31-2005, 01:52 AM #4Problem Solver
- Join Date
- Mar 2003
- Location
- California USA
- Posts
- 13,681
usually just replacing it with the tarball is faster
Steven Ciaburri | Industry's Best Server Management - Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance
-
05-31-2005, 02:15 AM #5Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 2,605
Even easier: Use portsnap. :-)
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/