Re: 4.x -> 5.x

From: Jonathan Chen (jonc_at_chen.org.nz)
Date: 11/05/03

  • Next message: Matthew Seaman: "Re: OpenOffice build"
    Date: Wed, 5 Nov 2003 21:30:36 +1300
    To: Mike Hoskins <mike@adept.org>
    
    

    On Wed, Nov 05, 2003 at 12:08:24AM -0800, Mike Hoskins wrote:

    [...]
    > my question is, what's the best way to move 4.x packages to 5.x? i'm
    > not talking binaries of course, but reproducing the set of installed
    > packages from data in /var/db/pkg. i've read through the man pages for
    > pkg*, portupgrade, etc... and i'm thinking it may be simple enough to
    > just tar /var/db/pkg under 4.x, restore under 5.x, and then portupgrade
    > the tree. i've tried it with a couple ports and it works, but i haven't
    > tried it with an entire tree yet (more complex, with more dependencies to
    > keep straight). am i headed in the right direction, or is this a "bad
    > idea". :) this is just to get the "same set of binaries" back on the 5.x
    > system, merging configs, etc. is given it's own blurbage.

    Actually, this sounds like a very clever way of reproducing your ports
    setup. A "portupgrade -fRr \*" should do the trick. Wish I'd thought
    of it first..

    Cheers.

    -- 
    Jonathan Chen <jonc@chen.org.nz>
    -----------------------------------------------------------------------
    "One, with God, is always a majority, but many a martyr has been burned
       at the stake while the votes were being counted."  -- Thomas B. Reed
    _______________________________________________
    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: Matthew Seaman: "Re: OpenOffice build"

    Relevant Pages

    • Re: (cvsup newbie questions)
      ... > IIRC, pkgtools.conf only works with the pkgtools apps, like portupgrade. ... > I don't think it works with making the port from the tree itself (like ... >> make describe output of all of the ports. ...
      (freebsd-questions)
    • Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update the ports ... tree once a week; this has worked well for years now. ... distfiles/tarballs and then report by mail what ports are out of date. ...
      (freebsd-questions)
    • portupgrade / ruby18 is eating up all CPU [FreeBSD 7.0-RELEASE-p3 amd64]
      ... When I try to restart and run portupgrade again it ... <ACPI PCI bus> on pcib0 ... usb0: USB revision 1.0 ... 2 ports with 2 removable, ...
      (freebsd-questions)
    • Re: Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update ... the ports tree once a week; this has worked well for years now. ... Recently though I changed to using portsnap to update the ports ... -arR' fails to upgrade anything. ...
      (freebsd-questions)
    • Re: Portupgrade fails to upgrade after using portsnap
      ... For a long time I've been using cvsup and portupgrade to update ... the ports tree once a week; this has worked well for years now. ... Recently though I changed to using portsnap to update the ports ... -arR' fails to upgrade anything. ...
      (freebsd-questions)