zoneminder's postun fails as it assumes MySQL is up & running: # urpme php-mysql To satisfy dependencies, the following 2 packages will be removed (9.8MB): php-mysql-5.3.12-2.mga2.x86_64 zoneminder-1.25.0-9.mga2.tainted.x86_64 (due to missing php-mysql) Remove 2 packages? (y/N) y removing php-mysql-5.3.12-2.mga2.x86_64 zoneminder-1.25.0-9.mga2.tainted.x86_64 DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Config.pm line 89 Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Config.pm line 91. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Config.pm line 100. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 37. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37. removing package zoneminder-1.25.0-9.mga2.tainted.x86_64 removing package php-mysql-3:5.3.12-2.mga2.x86_64 writing /var/lib/rpm/installed-through-deps.list
Assignee: bugsquad => zen25000
Hmm - yes. This is an issue with zmpkg.pl which should really check for mysql and die quietly if it's not running. Reported upstream. I have applied a temporary fix to the unit file until an upstream fix is available.
Status: NEW => ASSIGNED
Closing as fixed.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED