Re: Package conflict - What to do next?

From: Matthew X. Economou (xenophon+usenet_at_irtnog.org)
Date: 07/08/05


Date: 08 Jul 2005 10:49:06 -0400


>>>>> "nntp" == nntp <nntp@alexa.com> writes:

    nntp> What are my options here? pkg_delete 5.8.6 and pkg_add
    nntp> 5.8.7?

I only use pre-compiled packages to bootstrap the ports tree, and use
cvsup/portinstall/portupgrade from there on out to actually install
and update packages, building everything from source and using "-m
BATCH=yes" to keep myself from going insane. Keep an eye on
/usr/ports/UPDATING, because when really important packages like Perl
or Ruby rev, there are specific post-update instructions you must
follow to keep everything else in sync (e.g. for Perl, run
"perl-after-upgrade -f" to fixup all of those packages dependent on
the previous version of Perl, as mentioned in UPDATING).

For all of its customizability (THE reason I put up with the various
other brokenness it exhibits), the ports/pkgsrc tree can really suck
some times, especially if you are used to package management systems
like APT (which cleanly handles dependencies among pre-compiled
packages and pretty much Does The Right Thing, unlike pkg_add and
portupgrade).

One of these days, I'll figure out Ruby enough to fix all of the
upgrade-related problems I have with portupgrade
(i.e. "perl-after-upgrade -f" should run automagically), and I'll
figure out CVS enough to create my own -RELEASE (or at least -STABLE)
branches for the ports tree. One of these days, Alice! Bang! Zoom!

:)

Best wishes,
Matthew

-- 
"In the social equation, the value of a single life is nil; in the
cosmic equation, it is infinite."
    - Arthur Koestler, _The Invisible Writing_


Relevant Pages

  • Re: Synchronizing packages on several machines from a repository
    ... You must cvsup your ports tree before you execute the portupgrade. ... Synchronizing packages on several machines from a repository ... I have one main server and several slave machines. ...
    (freebsd-questions)
  • Re: Installation
    ... the community as a whole save to suggest that offering a DVD iso image ... swapping when adding packages. ... for the simple reason that the ports tree is a moving target - ...
    (freebsd-questions)
  • Re: updated ports tree
    ... so I had to install from the Ports tree, but the tree on the 5.2.1 CD only ... package of XFCE4, but presumably due to the dependencies and modules etc, it ... getting packages for each dependency and then misisng something and it ...
    (freebsd-questions)
  • Re: Questions about upgrading between releases
    ... to upgrade from one release to another: ... when ports are constantly upgraded (by security updates ... packages are not upgraded by their mainteners once ... After all packages are built, the ports tree is unfrozen again. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Looking for speed increases in "make index" and pkg_version for ports
    ... targets. ... I'm not sure it can be applied to the ports tree, ... Also, I was thinking in particular of the X.Org 7.2 packages, because the bulk majority of the packages are smaller, and compile in a short amount of time. ...
    (freebsd-hackers)