Re: portupgrade: Download -> single user -> upgrade

2007-03-23 Thread Gerard
On Friday March 23, 2007 at 07:24:52 (AM) Karol Kwiatkowski wrote:


> Kyrre Nygård wrote:
> > Hey!
> > 
> > I was wondering if anybody could give me a quick cheat sheet for how to
> > automatically:
> > 
> > 1) Download all outdated ports
> > 2) Switch to single user mode
> > 3) Upgrade those ports
> > 
> > Running portupgrade -a doesn't work very well when it's time to upgrade
> > running processes.
> 
> What problems are you seeing?
> 
> Normally, you don't need to go into single user mode. Like Pietro said,
> portupgrade -F will fetch distfiles for you. Then you can do the
> upgrade, check config files and restart services later.

Both 'portupgrade' and 'portmanager' have configuration files that can
contain information on programs you want stopped and started when being
updated, as well as ones you want ignored completely.

-- 
Gerard

"Being with a woman all night never hurt no professional baseball player.
It's staying up all night looking for a woman that does him in."

Casey Stengel 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade: Download -> single user -> upgrade

2007-03-23 Thread Karol Kwiatkowski
Kyrre Nygård wrote:
> Hey!
> 
> I was wondering if anybody could give me a quick cheat sheet for how to
> automatically:
> 
> 1) Download all outdated ports
> 2) Switch to single user mode
> 3) Upgrade those ports
> 
> Running portupgrade -a doesn't work very well when it's time to upgrade
> running processes.

What problems are you seeing?

Normally, you don't need to go into single user mode. Like Pietro said,
portupgrade -F will fetch distfiles for you. Then you can do the
upgrade, check config files and restart services later.

HTH,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: portupgrade: Download -> single user -> upgrade

2007-03-22 Thread Pietro Cerutti

On 3/22/07, Kyrre Nygård <[EMAIL PROTECTED]> wrote:

Hey!

I was wondering if anybody could give me a quick cheat sheet for how
to automatically:

1) Download all outdated ports

man portupgrade
(hint: -F option)


2) Switch to single user mode
3) Upgrade those ports


Please someone correct me if I'm wrong, but I think you can't "go into
single user mode and then run application X" automatically.


Thanks a lot.


Hope this helps,


All the best,

;-)


Kyrre



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

portupgrade: Download -> single user -> upgrade

2007-03-22 Thread Kyrre Nygård

Hey!

I was wondering if anybody could give me a quick cheat sheet for how 
to automatically:


1) Download all outdated ports
2) Switch to single user mode
3) Upgrade those ports

Running portupgrade -a doesn't work very well when it's time to 
upgrade running processes.


I assume this involves a bit more than just the portupgrade commands?

Thanks a lot.

All the best,
Kyrre

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"