severity 548752 important thanks On Mon, Sep 28, 2009 at 11:50:22AM -0400, David Gibson wrote: > Package: glpi > Version: 0.72.2-1 > Severity: grave > Justification: renders package unusable > > When upgrading to from 0.72-1 to 0.72.2-1, I'm prompted to let > dbconfig-common update the database. If I let it, the next time I access > glpi, it prompts to update the database. The result is an > error: > 0.72.2 reorder search.constant Error during the database updateDuplicate > entry '11-34-0' for key 'display' > > If I say no to the dbconfig-common, I get the same prompt from glpi to > update the database. This time it is successful. >
Hi, This seems related to some changes in GLPI configuration after the first installation (before the upgrade), since an install + upgrade on a fresh install succeeds: dell1:~# dpkg -i glpi_0.72-1_all.deb Selecting previously deselected package glpi. (Reading database ... 161232 files and directories currently installed.) Unpacking glpi (from glpi_0.72-1_all.deb) ... Setting up glpi (0.72-1) ... dbconfig-common: writing config to /etc/dbconfig-common/glpi.conf Creating config file /etc/dbconfig-common/glpi.conf with new version Creating config file /etc/glpi/config/config_db.php with new version granting access to database glpi for g...@localhost: success. verifying access for g...@localhost: success. creating database glpi: success. verifying database glpi exists: success. populating database via sql... done. dbconfig-common: flushing administrative password Reloading web server config: apache2 dell1:~# dpkg -i glpi_0.72.2-1_all.deb (Reading database ... 162669 files and directories currently installed.) Preparing to replace glpi 0.72-1 (using glpi_0.72.2-1_all.deb) ... Unpacking replacement glpi ... Setting up glpi (0.72.2-1) ... Installing new version of config file /etc/glpi/config/define.php ... dbconfig-common: writing config to /etc/dbconfig-common/glpi.conf creating database backup in /var/cache/dbconfig-common/backups/glpi_0.72-1.mysql. applying upgrade sql for 0.72-1 -> 0.72.1. applying upgrade sql for 0.72-1 -> 0.72.2. dbconfig-common: flushing administrative password Reloading web server config: apache2. I'll contact GLPI to see if the ugrade script is wrong and find a fix. In the meantime, I'll downgrading the severity to important as the upgrade is still possible using the interface. Regards, Pierre > > -- System Information: > Debian Release: 5.0.3 > APT prefers stable > APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable') > Architecture: i386 (i686) > > Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages glpi depends on: > ii apache2 2.2.13-2 Apache HTTP Server metapackage > ii apache2-mpm-prefork [h 2.2.13-2 Apache HTTP Server - > traditional n > ii dbconfig-common 1.8.41 common framework for packaging > dat > ii debconf [debconf-2.0] 1.5.24 Debian configuration management > sy > ii libapache2-mod-php5 5.2.10.dfsg.1-2.2 server-side, HTML-embedded > scripti > ii php5 5.2.10.dfsg.1-2.2 server-side, HTML-embedded > scripti > ii php5-mysql 5.2.10.dfsg.1-2.2 MySQL module for php5 > > glpi recommends no packages. > > glpi suggests no packages. > > -- debconf information: > glpi/mysql/admin-pass: (password omitted) > glpi/app-password-confirm: (password omitted) > glpi/password-confirm: (password omitted) > glpi/mysql/app-pass: (password omitted) > glpi/remote/newhost: > glpi/dbconfig-remove: > glpi/internal/reconfiguring: false > glpi/remove-error: abort > * glpi/dbconfig-upgrade: true > glpi/webserver: apache, apache-ssl, apache-perl, apache2 > glpi/db/app-user: glpi > glpi/db/dbname: glpi > glpi/dbconfig-reinstall: false > glpi/mysql/method: unix socket > glpi/upgrade-backup: true > * glpi/configuration: > glpi/database-type: mysql > glpi/remote/port: > glpi/internal/skip-preseed: false > glpi/passwords-do-not-match: > glpi/install-error: abort > glpi/missing-db-package-error: abort > glpi/remote/host: > * glpi/dbconfig-install: true > glpi/purge: false > glpi/upgrade-error: abort > glpi/mysql/admin-user: root -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org