Upgrading ports; am I missing something?

Upgrading ports; am I missing something?

Post by Kirk Strause » Wed, 09 Jan 2002 01:30:01



I administer several 4.4-STABLE boxen filling various roles.  I've started
using the portupgrade suite of tools for ports management, but had a couple
of questions:

1) Are a lot of people using portupgrade?  I've not had any problems with
   it, but it'd be nice to know that I'm not the only user on the planet.
   Any success stories?  Failures?

2) Some ports have a lot of compile-time options, ie mod_php4.  When I
   upgrade it, I want to use the same options.  Is there any way to handle
   this gracefully, short of making notes for future reference?
--
Kirk Strauser

 
 
 

Upgrading ports; am I missing something?

Post by Martin Anker » Wed, 09 Jan 2002 01:56:46


Quote:> 1) Are a lot of people using portupgrade?  I've not had any problems with

me uses it, there is a nice description at
http://www.freebsddiary.org/portupgrade.php

everything went fine for me, but it took about 1 1/2 days to compile
+download everything...

martinus
:wq!

 
 
 

Upgrading ports; am I missing something?

Post by c.. » Tue, 08 Jan 2002 03:01:53



>> 1) Are a lot of people using portupgrade?  I've not had any problems with
> me uses it, there is a nice description at
> http://www.freebsddiary.org/portupgrade.php

> everything went fine for me, but it took about 1 1/2 days to compile
> +download everything...

> martinus
> :wq!

I've been using it the last couple days, works great, just takes days to
update all the 160-some-odd ports I have installed.

--
Chip

<+><+><+><+><+><+><+><+>
Windows 95/NT - 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.
<+><+><+><+><+><+><+><+>

 
 
 

Upgrading ports; am I missing something?

Post by Robert Huf » Wed, 09 Jan 2002 12:18:31



> 1) Are a lot of people using portupgrade?  I've not had any problems with
>    it, but it'd be nice to know that I'm not the only user on the planet.
>    Any success stories?  Failures?

        Not in the "couldn't get it to work at all" sense.
        I will suggest your happiness may depend on the initial
correctness of the package database and /var/db/pkg/*.

                        Robert Huff

 
 
 

Upgrading ports; am I missing something?

Post by Michael J. Albanes » Thu, 10 Jan 2002 07:07:26



> 1) Are a lot of people using portupgrade?  I've not had any problems with
>    it, but it'd be nice to know that I'm not the only user on the planet.
>    Any success stories?  Failures?

I do a cvsup of my ports tree early every morning, immediately
followed by a portupgrade * of all entries in /var/db/pkg.

I haven't experienced difficulties, other than the occasional
bug in a port itself, usually resulting in a stop code displayed
for that particular port during the build. When that happens,
portupgrade just continues on with the next port in the list.

Of course, the duration of the process can vary greatly, depending
on how many (and which) ports were changed since the previous
cvsup. Most days, the whole thing is over in a minute, but there
are also those days when both XFree86 and KDE have upgrades in
the same morning -- and that can easily have things crunching
for more than an hour.

Quote:> 2) Some ports have a lot of compile-time options, ie mod_php4.  When I
>    upgrade it, I want to use the same options.  Is there any way to handle
>    this gracefully, short of making notes for future reference?

I haven't come up with an ideal solution to this yet. On some I can
handle things by setting environment variables, but for others such as
XFree86, I just hammer the responses in each time. I can see where it
would be nice to have it all automated in a hands-off batch style run,
but for my system it doesn't happen enough to be a real pain (yet!).

Mike

--
(remove 'revoke-my-' from address for email)