unreliable pkg upgrade of pecl / pear packages after flavors

Mathieu Arnold mat at FreeBSD.org
Tue Apr 3 11:59:54 UTC 2018


On Mon, Apr 02, 2018 at 10:14:06PM +0200, Miroslav Lachman wrote:
> UPDATING entry says it should be upgraded automatically but it was not.
> 
> "People using Poudriere 3.2+ and binary packages do not have to do
> anything."

Mmmmm, well, this sentence is partly right, and partly wrong.

If you install a PHP app, say wordpress, you do not have anything to do
because pkg will install the new pecl package and remove the old ones.

On the other hand, if you install php/pear/pecl ports manually, you do
have to rename them.

I will update the UPDATING entry.

> Our packages was built in Poudriere 3.2.4. pkg upgrade on target machines
> did upgrade of Apache, PHP, extensions etc. but PECL a PEAR packages was
> left untouched:
> 
> 
> 
> # pkg version -vRL =
> Updating codelab repository catalogue...
> codelab repository is up to date.
> All repositories are up to date.
> pear-1.10.5_1                      ?   orphaned: devel/pear
> pear-Net_DNS2-1.4.4                ?   orphaned: dns/pear-Net_DNS2
> pear-Net_IDNA-0.8.1                ?   orphaned: net/pear-Net_IDNA
> pear-OLE-1.0.0.r3                  ?   orphaned: devel/pear-OLE
> pear-Spreadsheet_Excel_Writer-0.9.4 ?   orphaned:
> textproc/pear-Spreadsheet_Excel_Writer
> pecl-memcached-3.0.4               ?   orphaned: databases/pecl-memcached
> pecl-xdebug-2.5.5_1                ?   orphaned: devel/pecl-xdebug
> 
> 
> Those packages must be upgraded manualy by "pkg upgrade -f devel/pear
> dns/pear-Net_DNS2 ..."
> 
> So.. is there an error in pkg or in UPDATING entry 20180308?
> 
> Miroslav Lachman
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20180403/02fb4a31/attachment.sig>


More information about the freebsd-ports mailing list