portupgrading only certain ports

2006-02-22 Thread Steve P.
I am trying to avoid upgrading two ports: kde and X.

What are the command line options to portupgrade to accomplish this?

For instance, I tried this and it failed:
#portupgrade -a -x 'kde*' -x 'x*'

Where am I going wrong?

I've read the pertinent handbook ports section, and did man portupgrade, but 
still I can not get it to work. Maybe it has something to do with pkg_glob, I 
don't know. 

Any help appreciated.
Steve. 

-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: portupgrading only certain ports

2006-02-22 Thread Peter

--- Steve P. [EMAIL PROTECTED] wrote:

 I am trying to avoid upgrading two ports: kde and X.
 
 What are the command line options to portupgrade to accomplish this?
 
 For instance, I tried this and it failed:
 #portupgrade -a -x 'kde*' -x 'x*'
 
 Where am I going wrong?
 
 I've read the pertinent handbook ports section, and did man portupgrade,
 but still I can not get it to work. Maybe it has something to do with
 pkg_glob, I don't know. 

I never tried this feature but from the man page it seems you do not need
the single quotes.  You probably can also just type the package names
(with no glob characters) with or without version numbers.






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrading only certain ports

2006-02-22 Thread Steve P.
Peter,

Apparently it was the quotes! 

Upgrade appears to be working right.
Thanks.
 - Original Message -
 From: Peter [EMAIL PROTECTED]
 To: Steve P. [EMAIL PROTECTED], freebsd-questions@freebsd.org
 Subject: Re: portupgrading only certain ports
 Date: Thu, 23 Feb 2006 00:23:20 -0500 (EST)
 
 
 
 --- Steve P. [EMAIL PROTECTED] wrote:
 
  I am trying to avoid upgrading two ports: kde and X.
 
  What are the command line options to portupgrade to accomplish this?
 
  For instance, I tried this and it failed:
  #portupgrade -a -x 'kde*' -x 'x*'
 
  Where am I going wrong?
 
  I've read the pertinent handbook ports section, and did man portupgrade,
  but still I can not get it to work. Maybe it has something to do with
  pkg_glob, I don't know.
 
 I never tried this feature but from the man page it seems you do not need
 the single quotes.  You probably can also just type the package names
 (with no glob characters) with or without version numbers.
 
 
   
 
   
   
 __
 Find your next car at http://autos.yahoo.ca
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: portupgrading only certain ports

2006-02-22 Thread Duane Whitty

Peter wrote:

--- Steve P. [EMAIL PROTECTED] wrote:


I am trying to avoid upgrading two ports: kde and X.

What are the command line options to portupgrade to accomplish this?

For instance, I tried this and it failed:
#portupgrade -a -x 'kde*' -x 'x*'

Where am I going wrong?

I've read the pertinent handbook ports section, and did man portupgrade,
but still I can not get it to work. Maybe it has something to do with
pkg_glob, I don't know. 


I never tried this feature but from the man page it seems you do not need
the single quotes.  You probably can also just type the package names
(with no glob characters) with or without version numbers.



Hi,

portupgrade -a upgrades all installed ports.  Try 
portupgrade -rR -x 'kde*' -x 'x*' *


Maybe use the -n option with the above to see what 
would happen without doing anything.


With a regex maybe this would work

portupgrade -rRx :[kde|x]  or something along 
these lines.  -n is a good safety valve I think


hth,

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


Re: portupgrading only certain ports

2006-02-22 Thread Richard Burakowski

Steve P. wrote:


I am trying to avoid upgrading two ports: kde and X.
 


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