pkg delete --no-recursive

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Mar 16 17:39:47 UTC 2015


On 2015/03/16 16:52, David Newman wrote:
>> The best way to do a perl5.14 to perl5.20 upgrade is by simply
>> > upgrading from a package repo with all the perl stuff built against
>> > perl5.20. Works like a charm, and only reinstalls the necessary
>> > stuff.

> What command(s), specifically, to use?

pkg upgrade

So long as the repo(s) you're using are all consistent in being built
against the versions of perl or php or whatever that you want to use,
that should do what you want.  Generally it "just works"(tm).  If it
doesn't and it isn't obvious as to how to fix the problem (usually
something along the lines of 'delete pkg X, upgrade everything else,
reinstall pkg X') then ask again here.  pkg(8) will tell you what it is
going to do before it does anything, so you have plenty of chances to
stop before you trash anything important.

	Cheers,

	Matthew




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150316/c5f867cd/attachment.sig>


More information about the freebsd-questions mailing list