Results 1 to 5 of 5
  1. #1

    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.

  2. #2
    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 upgrade
    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

  3. #3
    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
    cvsup <nameofthefile>

    That will sync your ports tree to the latest available from any cvsup server.

  4. #4
    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

  5. #5
    Even easier: Use portsnap. :-)
    Dr. Colin Percival, FreeBSD Security Officer
    Online backups for the truly paranoid: http://www.tarsnap.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •