From: Jerry on
On Sun, 28 Mar 2010 09:41:57 -0500, ajtiM <lumiwa(a)gmail.com>
articulated:

> On Sunday 28 March 2010 09:22:22 Programmer In Training wrote:
> > On 03/28/10 09:09, ajtiM wrote:
> > <snip>
> >
> > > Thank you but if I use:
> > > portmaster -r png-
> > > I got ===>>> No valid installed port, or port directory given
> > > ===>>> Try portmaster --help
> > >
> > > If I use portmaster -r /usr/ports/graphics/png-
> > >
> > > ===>>> No valid installed port, or port directory given
> > > ===>>> Try portmaster --help
> > >
> > > What I am doing wrong, please?
> > >
> > > Mitja
> >
> > Get rid of the trailing hyphen.
> >
>
> portmaster -r png
>
> ===>>> No valid installed port, or port directory given
> ===>>> Try portmaster --help
>
> or portmaster -r graphics/png

Or: portmanager graphics/png -l -f


--
Jerry
FreeBSD-Ports.user(a)seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

Kinkler's First Law:
Responsibility always exceeds authority.

Kinkler's Second Law:
All the easy problems have been solved.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 03/28/10 07:09, ajtiM wrote:

> What I am doing wrong, please?

Nothing, the mistake is mine. The docs say that 'portmaster -r' accepts
a glob pattern, but that's not accurate. I will work on fixing that bug
asap, but meanwhile you can do this:

portmaster -r `echo /var/db/pkg/png-1* | sed s#.*/##`


Sorry for the confusion,

Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"