Re: Can i make a CD of the Ports Collection

From: Giorgos Keramidas (keramida_at_ceid.upatras.gr)
Date: 08/05/04

  • Next message: Arek Czereszewski: "Re: IPFW - Allowed but Denied is shown in my logs"
    Date: Thu, 5 Aug 2004 16:10:00 +0300
    To: freebsd-questions@freebsd.org
    
    

    ## Top-posting removed.
    ## Please do not top-post in the middle of a bottom-posting thread.

    On 2004-08-04 23:54, BSDjunkie <gooober33-freebsd@yahoo.com> wrote:
    >Olaf Hoyer <ohoyer@ohoyer.de> wrote:
    >>On Wed, 4 Aug 2004, Peter Ryan wrote:
    >>> I am very new, and have been reinstalling FreeBSD many times to clean
    >>> up whatever mess i make and start again.
    >>>
    >>> I recently used cvsup to update my ports collection for the
    >>> 4.10_RELEASE.
    >>>
    >>> Now, when I reinstall, it takes much longer because i bring in the
    >>> updated ports collection rather than the ports collection on the
    >>> install CD (which i burnt from an ISO file)
    >>
    >> The whole portscollection is also available via ftp on ftp2.de.freebsd.org:
    >> [snip ftp get example]
    >> Simply download the tar.gz, and extract it to /usr/ports
    >>
    >> On each ISO of a release, like the 4.10R-CD #1, they take a snapshot of
    >> the ports tree when the make the assumption that it ist quite
    >> consistent. So when you download in say, 3 months a 4.10 ISO, the ports
    >> tree therein will be more than 3 months old.
    >>
    >> In that case, use whether cvsup or method above to get a recent ports
    >> tree.
    >
    > You can also reinstall the ports tree from the iso image.
    >
    > There's an install script on the cd that you can run if needed to
    > reinstall the release version of the ports tree.
    >
    > Updating should be done through cvsup if possible.

    I think that what the original poster meant is a bit different than this.
    When the /usr/ports tree is updated, the infrastructure bits that it
    contains will download updated, newer or fixed versions of the same ports
    if one tries to reinstall them. Since the release CD-ROMs do not contain
    the source files for these updated ports, they're downloaded over the
    network -- which can take a while if you're using a dialup connection or
    something similarly slow.

    The answer is that this cannot be avoided, since the source files of the
    new, updated versions of the packages were not available when the release
    CD-ROMs were prepared.

    <hint>

    To avoid downloading multiple times the same source files, I usually wait
    until one of my machines downloads the source tarballs and then burn a
    CD-ROM with the contents of my /usr/ports/distfiles or share this directory
    over NFS when that's possible.

    Peter,
    If you have a fast connection somewhere that can download these source
    files for you, you can copy the files from /usr/ports/distfiles from that
    machine to any other FreeBSD installation. The next time the ports try to
    locate the source tarball it's going to be where they expect it and no
    download will be attempted over the network.

    </hint>

    Giorgos

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Arek Czereszewski: "Re: IPFW - Allowed but Denied is shown in my logs"

    Relevant Pages

    • Re: FreeBSD over a modem? Too slow?
      ... >> I'm a modem user. ... > contains most of the ports on the last two cds. ... saving you an initial download of about 300MB. ... -RELEASE ports tree, even if you update your kernel/world. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: upgrading packages w/o ports
      ... portcheckout will allow you to download just the part of the ports tree ... that you need for a particular ports. ... A typical use would be to connect to the Internet, possibly download ... a new INDEX and ports upgrade kit, ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Pkgupgrade
      ... out the reference to OpenOffice from OLDPKGS and TOBUILD in UpgradeShell ... these lists. ... all the packages and ports were upgraded smoothly apart ... care if we download prebuilt packages) and adds them to the list of ports to ...
      (comp.unix.bsd.freebsd.misc)
    • Re: how to update freebsd? newbie
      ... > built or even download a pre-made package from ftp? ... extra applications that can be installed from the ports. ... When you cvsup, you download changes to the source code of the system. ... You can download and install precompiled, ...
      (freebsd-questions)
    • Re: Some more questions on FreeBsd usage
      ... If the package is on the ... then install cdrecord from the ports. ... existing medium anyway) just means you get to download it in one lump ...
      (comp.unix.bsd.freebsd.misc)