Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 10:56:01 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: Portmaster 3.1 upgrade
Message-ID:  <AANLkTim75-0AoGuTaptR5MRChbXWFpe0kgmXieKFxY6X@mail.gmail.com>
In-Reply-To: <AANLkTimKKVeR_EsoDQv_3r%2B8hdh%2Ba9K_bAxWx4qi_cgW@mail.gmail.com>
References:  <AANLkTimKKVeR_EsoDQv_3r%2B8hdh%2Ba9K_bAxWx4qi_cgW@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 31, 2010 at 9:57 AM, Alexandre <axelbsd@ymail.com> wrote:
> I read in /usr/ports/UPGRADING the instructions to properly upgrade
> PORTMASTER 3.1.
> It is written to do :
>
> # pkg_delete -f portmaster*
>
> # cd /usr/ports/ports-mgmt/portmaster && make clean && make install clean
>
> But when I type the first one, I got the message :
> pkg_delete: No match.

The command shown in UPDATING is wrong.

The correct command is:  pkg_delete -xf portmaster

-x does name globbing internally to pkg_delete, and should be used
over any shell globbing (like *).

However, a more correct/safe command to use would be:  pkg_delete -xif
portmaster

-x to pick up all versions of portmaster listed in /var/db/pkg/
-i to ask the user to confirm each version to be deleted
-f to force the delete, even if other apps depend on it

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim75-0AoGuTaptR5MRChbXWFpe0kgmXieKFxY6X>