Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Paul Hoffman
At 12:50 AM + 11/29/09, Frank Shute wrote:
You don't mention what command you are using to upgrade your
ports/packages.

Sorry: portupgrade -aPPR

You do realise that you don't have to upgrade your ports if you go
from 7.1 to 7.2. You can do but don't have to.

No, I didn't realize that. The FreeBSD Handbook indicates differently.

You should upgrade python25 to python26. See /usr/ports/UPDATING dated
20090608 for instructions on how to do so.

Thanks, but that didn't help. So, I have now done a long, painful 'portrupgrade 
-a', having it stop regularly to prompt me for configuration settings. We'll 
see what happens when I go to 8.

--Paul Hoffman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Boris Samorodov
On Sun, 29 Nov 2009 12:16:15 -0800 Paul Hoffman wrote:

 So, I have now done a long, painful
 portrupgrade -a', having it stop regularly to prompt me for
 configuration settings.

I'm sure portupgrade has an option to do a recursive configure
before actual upgrade. If it doesn't you may look at portmaster.

-- 
WBR, bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Warren Block

On Sun, 29 Nov 2009, Boris Samorodov wrote:


On Sun, 29 Nov 2009 12:16:15 -0800 Paul Hoffman wrote:


So, I have now done a long, painful
portrupgrade -a', having it stop regularly to prompt me for
configuration settings.


I'm sure portupgrade has an option to do a recursive configure
before actual upgrade.


Yes, it's -c or -C.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Frank Shute
On Sun, Nov 29, 2009 at 12:16:15PM -0800, Paul Hoffman wrote:

 At 12:50 AM + 11/29/09, Frank Shute wrote:

 You don't mention what command you are using to upgrade your
 ports/packages.
 
 Sorry: portupgrade -aPPR

My opinion is that you shouldn't use packages and compile from source
instead. In my experience it's less troublesome and because FreeBSD is
so good at multi-tasking it's possible to get on with your work whilst
it's doing the building.

Packages only if you've got weak hardware and/or limited bandwidth.

 
 You do realise that you don't have to upgrade your ports if you go
 from 7.1 to 7.2. You can do but don't have to.
 
 No, I didn't realize that. The FreeBSD Handbook indicates differently.

It shouldn't do. You only have to rebuild all your ports if you're
going from a major version to another major version e.g 7.* to 8.0

Between minor versions FreeBSD maintains things so it shouldn't be
necessary.

 
 You should upgrade python25 to python26. See /usr/ports/UPDATING dated
 20090608 for instructions on how to do so.
 

 Thanks, but that didn't help. So, I have now done a long, painful
 'portrupgrade -a', having it stop regularly to prompt me for
 configuration settings. We'll see what happens when I go to 8.

The other guys have pointed out the neato switch to portupgrade so
that you do the config beforehand. 

It's also possible to accept the default configs by putting:

BATCH=yes

in /etc/make.conf IIRC.

As to your problems, it could be that your ports tree is out of date.
Have you c[v]sup'd or portsnapped it recently?

 
 --Paul Hoffman
 
 
Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread RW
On Sun, 29 Nov 2009 12:16:15 -0800
Paul Hoffman phoff...@proper.com wrote:

 At 12:50 AM + 11/29/09, Frank Shute wrote:
 You don't mention what command you are using to upgrade your
 ports/packages.
 
 Sorry: portupgrade -aPPR

Packages for a release are built against the ports tree that's
distributed with the installation cd.  If you want portupgrade -aPP to
work you need to use csup with the port release tag which I think is
RELEASE_7_2_0. Otherwise use portupgrade -aP.

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


Re: portupgrade for binaries fails miserably, but not completely

2009-11-28 Thread Frank Shute
On Fri, Nov 27, 2009 at 07:47:03PM -0800, Paul Hoffman wrote:

 Greetings again. I used freebsd-update to upgrade a system from 7.1
 to 7.2. The main upgrade went fine, but upgrading the ports had huge
 problems. It could not find most (but not all) of the packages to
 upgrade. A typical part of the failure looks like:
 
 ---  Checking for the latest package of 'lang/python25' ---
[snip]

You don't mention what command you are using to upgrade your
ports/packages.

You do realise that you don't have to upgrade your ports if you go
from 7.1 to 7.2. You can do but don't have to.

You should upgrade python25 to python26. See /usr/ports/UPDATING dated
20090608 for instructions on how to do so.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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