Bug 1397671 - zoneminder needs php-mysql but nothing provides it
Summary: zoneminder needs php-mysql but nothing provides it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zoneminder
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Charles R. Anderson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-23 06:51 UTC by Henrique Martins
Modified: 2017-02-09 04:20 UTC (History)
6 users (show)

Fixed In Version: zoneminder-1.28.1-7.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-09 04:20:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Henrique Martins 2016-11-23 06:51:53 UTC
Description of problem:
Upgrade from f24 to f25 erases zoneminder.
There seems to be a f25 zoneminder package but doesn't install, claims it needs php-mysql but no one provides it.

Version-Release number of selected component (if applicable):
zoneminder-1.28.1-6.fc25.x86_64

How reproducible:
allways

Steps to Reproduce:
1. Upgrade to f25
2. dnf install zoneminder

Actual results:
Error: nothing provides php-mysql needed by zoneminder-1.28.1-6.fc25.x86_64

Expected results:
zoneminder installed

Additional info:
There is something called php-mysqlnd.  Maybe this is sufficient for zoneminder.

Comment 1 Henrique Martins 2016-11-23 19:18:44 UTC
Installed zoneminder-1.28.1-6.fc25.x86_64 with rpm --nodeps and the web part of zoneminder, which I believe is the only component that needs php, seems to work fine.  At least I was able to browse old events, which are db stored.

Comment 2 Fedora Admin XMLRPC Client 2017-01-02 01:54:34 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Update System 2017-01-06 16:34:35 UTC
zoneminder-1.28.1-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c3bccfcb91

Comment 4 Fedora Update System 2017-01-06 23:21:38 UTC
zoneminder-1.28.1-7.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c3bccfcb91

Comment 5 Federic 2017-01-18 14:44:27 UTC
This is still an issue since fedora 25 can not install zoneminder

#dnf install  zoneminder           
Last metadata expiration check: 0:43:19 ago on Wed Jan 18 14:00:19 2017.
Error: nothing provides php-mysql needed by zoneminder-1.28.1-6.fc25.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)


Though this dep seems to be bunk anyway, there is not an option like --nodeps for dnf !

Comment 6 Henrique Martins 2017-01-18 15:23:57 UTC
Install zoneminder-1.28.1-7.fc25.x86_64 from updates-testing, then provide feedback.  See comment #4

Comment 7 Charles R. Anderson 2017-01-18 15:33:44 UTC
You need zoneminder-1.28.1-7.fc25 from the updates-testing repo:

    dnf --enablerepo=update-testing install zoneminder

Although I would highly recommend you don't use the package from Fedora and use the dnf repository from https://zmrepo.zoneminder.com/ instead which is much newer and has fewer bugs.  zmrepo is in the process of being migrated to RPM Fusion.  Zoneminder in Fedora has been retired so will not be available in Fedora 26.  Hopefully by then it will be in RPM Fusion.

Comment 8 Federic 2017-01-18 16:10:52 UTC
Thanks Charles. updates-testing  tries to pull in a raft of updates ( presumably from that same rep ) so I'll go with the zmrepo recommendation.

Transaction test succeeded.
Running transaction
  Installing  : zmrepo-25-1.fc25.noarch                                                                                        1/1 
  Verifying   : zmrepo-25-1.fc25.noarch                                                                                        1/1 

Installed:
  zmrepo.noarch 25-1.fc25                                                                                                          

Complete!

However I do not get the README file which allegedly contains essential set up instructions :(

/usr/share/doc/zoneminder/README.Fedora: No such file or directory

Comment 9 Charles R. Anderson 2017-01-18 16:14:28 UTC
After installing zmrepo, you need to actually install zoneminder:

dnf install zoneminder

which will pull the package from the newly configured zmrepo dnf repository.

Comment 10 Federic 2017-01-18 16:15:18 UTC
sorry, my bad. I only had the repo.

Comment 11 Fedora Update System 2017-02-09 04:20:03 UTC
zoneminder-1.28.1-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.