On Wed, 2012-01-25 at 19:32 -0700, Jesse Molina wrote: > Package: zoneminder > Version: 1.25.0-1 > Severity: normal > > Upgrade attempt failed badly. > > Looks like you are assuming the user has permissions which it does not > have. Very little local modification has occured here. >
Found it, Zoneminder has never needed to actually create a table for an upgrade during the time I've been packaging it. Until now. I'm modifying the postinst script to grant create privileges just during the upgrade (then revoking them). Can I give you a modified package to test with? (I presume you want an amd64 build) > > > Setting up zoneminder (1.25.0-1) ... > Installing new version of config file /etc/zm/zm.conf ... > Stopping ZoneMinder: DBD::mysql::st execute failed: Table 'zm.Logs' doesn't > exist at /usr/share/perl5/ZoneMinder/Logger.pm line 609. > Zoneminder already stopped > > > Initiating database upgrade to version 1.25.0 from version 1.24.4 > > Upgrading database to version 1.25.0 > Loading config from DB > No option 'ZM_EXTRA_DEBUG' found, removing at > /usr/share/perl5/ZoneMinder/ConfigAdmin.pm line 89. > No option 'ZM_EXTRA_DEBUG_TARGET' found, removing at > /usr/share/perl5/ZoneMinder/ConfigAdmin.pm line 89. > No option 'ZM_EXTRA_DEBUG_LEVEL' found, removing at > /usr/share/perl5/ZoneMinder/ConfigAdmin.pm line 89. > No option 'ZM_EXTRA_DEBUG_LOG' found, removing at > /usr/share/perl5/ZoneMinder/ConfigAdmin.pm line 89. > Saving config to DB > ERROR 1142 (42000) at line 10: CREATE command denied to user > 'zmuser'@'localhost' for table 'Logs' > Output: > Command 'mysql -hlocalhost -uzmuser -pzmpass zm < > /usr/share/zoneminder/db/zm_update-1.24.4.sql' exited with status: 1 > dpkg: error processing zoneminder (--configure): > subprocess installed post-installation script returned error exit status 1 > > > > > -- System Information: > Debian Release: wheezy/sid > Architecture: amd64 (x86_64) > > Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/dash > > Versions of packages zoneminder depends on: > ii apache2 2.2.21-5 > ii apache2-mpm-prefork [apache2] 2.2.21-5 > ii ffmpeg 5:0.9.1-0.1 > ii javascript-common 8 > ii libapache2-mod-php5 5.3.9-2 > ii libarchive-tar-perl <none> > ii libarchive-zip-perl 1.30-5 > ii libavcodec53 5:0.9.1-0.1 > ii libavdevice53 5:0.9.1-0.1 > ii libavformat53 5:0.9.1-0.1 > ii libavutil51 5:0.9.1-0.1 > ii libbz2-1.0 1.0.6-1 > ii libc6 2.13-24 > ii libdate-manip-perl 6.30-1 > ii libdevice-serialport-perl 1.04-2+b3 > ii libgcc1 1:4.6.2-12 > ii libgcrypt11 1.5.0-3 > ii libgnutls-openssl27 2.12.16-1 > ii libjpeg8 8c-2 > ii libjs-mootools 1.4.2~debian1-1 > ii libmime-lite-perl 3.028-1 > ii libmime-tools-perl 5.502-1 > ii libmysqlclient16 5.1.58-1 > ii libpcre3 8.12-4 > ii libphp-serialization-perl 0.34-1 > ii libstdc++6 4.6.2-12 > ii libswscale2 5:0.9.1-0.1 > ii libsys-mmap-perl 0.16-1+b1 > ii libwww-perl 6.03-1 > ii mysql-client 5.1.58-1 > ii mysql-client-5.1 [mysql-client] 5.1.58-1 > ii mysql-server 5.1.58-1 > ii mysql-server-5.1 [mysql-server] 5.1.58-1 > ii perl 5.14.2-6 > ii perl-modules [libmodule-load-perl] 5.14.2-6 > ii php5 5.3.9-2 > ii php5-mysql 5.3.9-2 > ii syslog-ng-core [system-log-daemon] 3.3.1.dfsg-1 > ii zip 3.0-4 > ii zlib1g 1:1.2.3.4.dfsg-3 > > zoneminder recommends no packages. > > zoneminder suggests no packages. > > -- Configuration Files: > /etc/zm/apache.conf [Errno 13] Permission denied: u'/etc/zm/apache.conf' > > -- no debconf information > -- Peter Howard <p...@northern-ridge.com.au> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org