Your message dated Sun, 14 Jun 2015 08:22:47 +0000
with message-id <[email protected]>
and subject line Re: postinst fails: Table 'ocsweb.accesslog' doesn't exist
has caused the Debian Bug report #698633,
regarding postinst fails: Table 'ocsweb.accesslog' doesn't exist
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
698633: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698633
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ocsinventory-server
Version: 1.02.2-1.1
Severity: serious
User: [email protected]
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'lenny'.
It installed fine in 'lenny', then the upgrade to 'squeeze' fails.
>From the attached log (scroll to the bottom...):
Setting up ocsinventory-server (1.01-6) ...
dbconfig-common: writing config to
/etc/dbconfig-common/ocsinventory-server.conf
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
Please inform the package maintainer about this problem.
Creating config file /etc/dbconfig-common/ocsinventory-server.conf with new
version
Creating config file /etc/ocsinventory/ocsinventory.conf with new version
granting access to database ocsweb for ocs@localhost: success.
verifying access for ocs@localhost: success.
creating database ocsweb: success.
verifying database ocsweb exists: success.
dbconfig-common: flushing administrative password
[...]
Setting up ocsinventory-server (1.02.2-1.1) ...
Module perl already enabled
dbconfig-common: writing config to
/etc/dbconfig-common/ocsinventory-server.conf
Creating config file /etc/ocsinventory/ocsinventory.conf with new version
creating database backup in
/var/cache/dbconfig-common/backups/ocsinventory-server_1.01-6.mysql.
applying upgrade sql for 1.01-6 -> 1.02.
error encountered processing
/usr/share/dbconfig-common/data/ocsinventory-server/upgrade/mysql/1.02:
mysql said: ERROR 1146 (42S02) at line 120: Table 'ocsweb.accesslog' doesn't
exist
dbconfig-common: ocsinventory-server configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing ocsinventory-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ocsinventory-server
Looks like the database is only created in lenny but not populated.
cheers,
Andreas
ocsinventory-server_1.02.2-1.1.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: ocsinventory-server
Source-Version: 2.0-1
Hello
The problem was that lenny version may not have the database
initialised, so that database upgrade scripts failed.
> Version 2.0.5-1.3 of ocsinventory-server is marked for autoremoval
> from testing on 2015-06-25
ocsinventory-server maintainer scripts don't handle the database
anymore. dbconfig support has been dropped. So this is fixed. And it
certainly is no reason to remove the package from stretch.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
-- Nirgal
--- End Message ---