Project

General

Profile

Actions

Bug #4408

closed

PHP 5.4 conflicts with PHP 5.2 on /hipster

Added by Predrag Zečević over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2013-12-20
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi,

latest php update brought new problems:

$ uname -rosv
SunOS 5.11 illumos-59d8f10 Solaris

$ pkg publisher -a
PUBLISHER                   TYPE     STATUS P LOCATION
openindiana.org              origin   online F http://pkg.openindiana.org/hipster/
sfe                         origin   online F http://pkg.openindiana.org/sfe/
sfe-encumbered              origin   online F http://pkg.openindiana.org/sfe-encumbered/

Actually, i wanted to add some packages and got this:

$ pfexec pkg refresh --full
$ pfexec pkg install -vn network/fail2ban web/service/drupal sfe/desktop/torrent/transmission
Creating Plan (Checking for conflicting actions): /
pkg install: The following packages deliver conflicting action types to usr/share/man/man1/php.1:

  link:
    pkg://openindiana.org/web/php-54/php-cli@5.4.23,5.11-0.151.1.8.1:20131213T130726Z
  file:
    pkg://openindiana.org/web/php-52@5.2.17,5.11-0.151.1.8:20130305T141855Z

These packages may not be installed together. Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/php/lib' with conflicting attributes:

    1 package delivers 'link mediator=php mediator-version=5.4.23 path=usr/php/lib target=./5.4/lib':
        pkg://openindiana.org/web/php-54/php-common@5.4.23,5.11-0.151.1.8.1:20131213T130721Z
    1 package delivers 'link path=usr/php/lib target=./5.2/lib':
        pkg://openindiana.org/web/php-52@5.2.17,5.11-0.151.1.8:20130305T141855Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/php/include' with conflicting attributes:

    1 package delivers 'link mediator=php mediator-version=5.4.23 path=usr/php/include target=./5.4/include':
        pkg://openindiana.org/web/php-54/php-common@5.4.23,5.11-0.151.1.8.1:20131213T130721Z
    1 package delivers 'link path=usr/php/include target=./5.2/include':
        pkg://openindiana.org/web/php-52@5.2.17,5.11-0.151.1.8:20130305T141855Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/php/bin' with conflicting attributes:

    1 package delivers 'link mediator=php mediator-version=5.4.23 path=usr/php/bin target=./5.4/bin':
        pkg://openindiana.org/web/php-54/php-common@5.4.23,5.11-0.151.1.8.1:20131213T130721Z
    1 package delivers 'link path=usr/php/bin target=./5.2/bin':
        pkg://openindiana.org/web/php-52@5.2.17,5.11-0.151.1.8:20130305T141855Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.

The requested change to the system attempts to install multiple actions
for link 'usr/php/man' with conflicting attributes:

    1 package delivers 'link mediator=php mediator-version=5.4.23 path=usr/php/man target=./5.4/share/man':
        pkg://openindiana.org/web/php-54/php-common@5.4.23,5.11-0.151.1.8.1:20131213T130721Z
    1 package delivers 'link path=usr/php/man target=./5.2/man':
        pkg://openindiana.org/web/php-52@5.2.17,5.11-0.151.1.8:20130305T141855Z

These packages may not be installed together.  Any non-conflicting set may
be, or the packages must be corrected before they can be installed.
           Packages to install: 17
       Create boot environment: No
Create backup boot environment: No
          Rebuild boot archive: No
...

I have no php installed at all .

Regards.

Actions #1

Updated by Predrag Zečević over 7 years ago

It was drupal package which requires php...

Actions #2

Updated by Alexander Pyhalov over 7 years ago

pkg info -r pkg://openindiana.org/web/php-52
Name: web/php-52
Summary:
State: Not installed (Obsolete)
Publisher: openindiana.org
Version: 5.2.17
Branch: 0.151.1.8
Packaging Date: November 15, 2013 11:18:59 AM
Size: 0.00 B
FMRI: pkg::20131115T111859Z

Yes, php versions < 5.4 are obsolete. However, perhaps php 5.4 should optionally depend on them to allow smooth installation. I think we don't have drupal in repository. Perhaps, it's one more SFE and /hipster inconsistency.

Actions #3

Updated by Ken Mays over 7 years ago

  • Status changed from New to Closed

Ensure your PHP 5.4.23 is properly installed with the correct extra PHP components. 'Cleaning' of the hipster IPS with legacy packages in the catalog index is due to avoid user confusion upon IPS search and installments.

Actions

Also available in: Atom PDF