pkg upgrade conflict

Mark Felder feld at FreeBSD.org
Wed Mar 5 17:19:58 UTC 2014


On Tue, Mar 4, 2014, at 7:37, (ツ) wrote:
> I'm facing this :
> 
> Conflict found on path /usr/local/bin/php between php5-5.4.25(lang/php5)
> and php53-5.3.28(lang/php53)
> 
> I already ran 
> 
> pkg set -o lang/php5:lang/php53 
> 
> and even
> 
> pkg set -a -o lang/php5:lang/php53 
> 
> But the conflict is still there, can anyone help ? I can provide any
> command output if needed
> 
> I'm running my own repos since several weeks with no issue, til today :
> 
> # pkg -vv
> Version                 : 1.2.6
> PACKAGESITE             : 
> PKG_DBDIR               : /var/db/pkg
> PKG_CACHEDIR            : /var/cache/pkg
> PORTSDIR                : /usr/ports
> PUBKEY                  : 
> HANDLE_RC_SCRIPTS       : yes
> ASSUME_ALWAYS_YES       : no
> REPOS_DIR               : [
>   /etc/pkg/,
>   /usr/local/etc/pkg/repos/,
> ]
> PLIST_KEYWORDS_DIR      : 
> SYSLOG                  : yes
> AUTODEPS                : yes
> ABI                     : freebsd:9:x86:64
> DEVELOPER_MODE          : no
> PORTAUDIT_SITE          : http://portaudit.FreeBSD.org/auditfile.tbz
> VULNXML_SITE            : http://www.vuxml.org/freebsd/vuln.xml.bz2
> MIRROR_TYPE             : SRV
> FETCH_RETRY             : 3
> PKG_PLUGINS_DIR         : /usr/local/lib/pkg/
> PKG_ENABLE_PLUGINS      : yes
> PLUGINS                 : [
> ]
> DEBUG_SCRIPTS           : no
> PLUGINS_CONF_DIR        : /usr/local/etc/pkg/
> PERMISSIVE              : no
> REPO_AUTOUPDATE         : yes
> NAMESERVER              : 
> EVENT_PIPE              : 
> FETCH_TIMEOUT           : 30
> UNSET_TIMESTAMP         : no
> SSH_RESTRICT_DIR        : 
> PKG_SSH_ARGS            : 
> PKG_ENV                 : {
> }
> DISABLE_MTREE           : no
> DEBUG_LEVEL             : 0
> ALIAS                   : {
>   all-depends: query %dn-%dv,
>   annotations: info -A,
>   build-depends: info -qd,
>   download: fetch,
>   iinfo: info -i -g -x,
>   isearch: search -i -g -x,
>   leaf: query -e "%a == 0" "%n-%v",
>   list: info -ql,
>   origin: info -qo,
>   provided-depends: info -qb,
>   raw: info -R,
>   required-depends: info -qr,
>   shared-depends: info -qB,
>   show: info -f -k,
>   size: info -sq,
> }
> 
> Repositories:
>   poudriere: { 
>     url             :
>     "pkg+http://xyz.invalid/poudriere/freebsd:9:x86:64",
>     enabled         : yes,
>     mirror_type     : "SRV"
>   }
> 
> 

Are you trying to make php 5.3 the default version for everything in
your repository? If so, you need to override PHP in your poudriere
make.conf

DEFAULT_VERSIONS= php=5.3


More information about the freebsd-pkg mailing list