Petr Gajdos changed bug 1022158
What Removed Added
CC   ma@suse.com
Flags   needinfo?(ma@suse.com)

Comment # 3 on bug 1022158 from
(In reply to Michael Andres from comment #1)
> Zypper just reports what the packages suggest, and 'php7' suggests
> 'php-suhosin', which is provided by php5-suhosin. Probably suggesting
> 'php7-suhosin' would have been a better choice.

However, there is also php7-suhosin that also provides php-suhosin symbol. This
is weird: 

[on tumbleweed system without any php package installed]

$ zypper in php5
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 11 NEW packages are going to be installed:
  apache2-mod_php5 php5 php5-ctype php5-dom php5-iconv php5-json php5-pdo
php5-sqlite php5-tokenizer php5-xmlreader php5-xmlwriter

The following 8 recommended packages were automatically selected:
  php5-ctype php5-dom php5-iconv php5-json php5-sqlite php5-tokenizer
php5-xmlreader php5-xmlwriter

The following 11 packages are suggested, but will not be installed:
  php5-gd php5-gettext php5-mbstring php5-mysql php5-pear php5-suhosin php7-gd
php7-gettext php7-mbstring php7-mysql php7-pear

11 new packages to install.
Overall download size: 3.6 MiB. Already cached: 0 B. After the operation,
additional 18.7 MiB will be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package php5-5.6.30-1.1.x86_64
[...]
$

Why recommended packages are chosen correctly but zypper suggests conflicting
packages with the to be installed ones?

Never mind, php{5,7} contains:

Recommends:     php-ctype php-dom php-iconv php-sqlite php-tokenizer
Recommends:     php-xmlreader php-xmlwriter php-json

Suggests:       php-mbstring php-gd php-pear php-gettext php-mysql php-suhosin

Should I change all to php{5,7}-* or rather to php-* = %{version}?


You are receiving this mail because: