[BUG] Conflict between php74-pecl-imagick and ImageMagick6
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description
I defined two packages 'php74-pecl-imagick' and ImageMagick6 , after running state.apply, zero "Failed" was reported, but 'php74-pecl-imagick' was actually not installed.
Setup
php74-pecl-imagick:
pkg.installed
ImageMagick6:
pkg.installed
Please be as specific as possible and give set-up details.
- on-prem machine
- VM (Virtualbox, KVM, etc. please specify)
- VM running on a cloud service, please be explicit and add details
- container (Kubernetes, Docker, containerd, etc. please specify)
- or a combination, please be explicit
- jails if it is FreeBSD
Steps to Reproduce the behavior
(Include debug logs if possible and relevant)
Expected behavior
Errors should be reported, because installing this two package will result in a conflict.
Screenshots


php74-pecl-imagick was installed on first screen shot, but was removed when ImageMagick6 was installed.
Versions Report
salt --versions-report
Salt Version:
Salt: 3002.6
Dependency Versions:
cffi: 1.14.5
cherrypy: Not Installed
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.11.2
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: 2.20
pycrypto: Not Installed
pycryptodome: 3.10.1
pygit2: Not Installed
Python: 3.8.10 (default, Jun 12 2021, 01:13:14)
python-gnupg: Not Installed
PyYAML: 5.4.1
PyZMQ: 22.1.0
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: freebsd 13.0
locale: utf-8
machine: amd64
release: 13.0-STABLE
system: FreeBSD
version: FreeBSD 13.0
php74-pecl-imagick:
pkg.installed
ImageMagick6:
pkg.installed
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two pkg.installed declarations on FreeBSD 13.0 with Salt 3002.6 and inspect the state.apply result alongside the package installation outcome. The fix is done when the conflicting package request reports an error instead of silently leaving php74-pecl-imagick uninstalled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100