Date: Thu, 23 Feb 2006 01:44:04 -0400 From: Duane Whitty <duane@greenmeadow.ca> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: portupgrading only certain ports Message-ID: <43FD4BA4.9080305@greenmeadow.ca> In-Reply-To: <20060223052320.86520.qmail@web60011.mail.yahoo.com> References: <20060223052320.86520.qmail@web60011.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter wrote: > --- "Steve P." <rczero@mail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43FD4BA4.9080305>