Package: ocsinventory-server
Version: 1.01-6
Severity: grave
Justification: renders package unusable

After installing ocsinventory-server, it doesn't work, because while the 
database has been created, there is no tables inside it.
The indications given in /usr/share/doc/ocsinventory-server/README.Debian are 
mainly wrong :

>Database
>The Debian package uses dbconfig to automatically create the database user and
>the database. The schema and data will be created by the install.php script
>(see later for instructions).
>If you choose not to use dbconfig, you will have to create them manually,
>and configure files /etc/ocsinventory/dbconfig.inc.php and
>/etc/ocsinventory/ocsinventory.conf
>
>Important: even if the debian package allows to change the database name,
>using a different name from the default (ocsweb) will probably cause problems,
>as the name is hardcoded in many files. This is being fixed.
>
>Post-installation notes
>-----------------------
>
>Please note that after first installation, or after an upgrade, it's 
>recommended
>to call http://localhost/ocsreports/install.php ; please also note that this
>particular page is restricted to localhost in 
>/etc/ocsinventory/ocsreports.conf.
>
>For security reasons, this script is protected by an apache authentication, 
>using
>/etc/ocsinventory/htpasswd.setup

install.php isn't a part of the package,
/etc/ocsinventory/dbconfig.inc.php isn't a part of the package

there isn't any ocsreports location or directory created by the package, the 
only configured are the locations
ocsinventory and ocsinterface so it's impossible to call 
http://localhost/ocsreports/install.php after installation
ocsreports/install.php

It seems that those file are parts of ocsinventory-reports, but there is no 
dependency

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages ocsinventory-server depends on:
ii  apache2                    2.2.3-4+etch6 Next generation, scalable, extenda
ii  apache2-mpm-prefork [apach 2.2.3-4+etch6 Traditional model for Apache HTTPD
ii  cdebconf [debconf-2.0]     0.114etch1    Debian Configuration Management Sy
ii  dbconfig-common            1.8.29+etch1  common framework for packaging dat
ii  debconf [debconf-2.0]      1.5.11etch2   Debian configuration management sy
ii  libapache-dbi-perl         1.04-0.1      Connect apache server to database 
ii  libapache2-mod-perl2       2.0.2-2.4     Integration of perl with the Apach
ii  libcompress-zlib-perl      1.42-2        Perl module for creation and manip
ii  libdbd-mysql-perl          3.0008-1      A Perl5 database interface to the 
ii  libdbi-perl                1.53-1etch1   Perl5 database interface by Tim Bu
ii  libnet-ip-perl             1.25-2        Perl extension for manipulating IP
ii  libxml-simple-perl         2.14-5        Perl module for reading and writin
ii  ucf                        2.0020        Update Configuration File: preserv

Versions of packages ocsinventory-server recommends:
pn  ocsinventory-reports          <none>     (no description available)

-- debconf information:
  ocsinventory-server/password-confirm: (password omitted)
  ocsinventory-server/mysql/admin-pass: (password omitted)
* ocsinventory-server/mysql/app-pass: (password omitted)
* ocsinventory-server/app-password-confirm: (password omitted)
  ocsinventory-server/internal/skip-preseed: true
  ocsinventory-server/remote/newhost:
  ocsinventory-server/install-error: abort
  ocsinventory-server/passwords-do-not-match:
  ocsinventory-server/upgrade-error: abort
  ocsinventory-server/remote/port:
* ocsinventory-server/mysql/method: unix socket
  ocsinventory-server/database-type: mysql
* ocsinventory-server/db/app-user: ocs
* ocsinventory-server/mysql/admin-user: root
  ocsinventory-server/remove-error: abort
  ocsinventory-server/internal/reconfiguring: true
* ocsinventory-server/dbconfig-install: true
  ocsinventory-server/dbconfig-upgrade: true
  ocsinventory-server/purge: false
  ocsinventory-server/upgrade-backup: true
  ocsinventory-server/remote/host:
* ocsinventory-server/dbconfig-reinstall: true
* ocsinventory-server/db/dbname: ocsweb
  ocsinventory-server/dbconfig-remove:



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to