Bug#649264: 0.5.4+dfsg-1 to 0.6+dfsg-1 package upgrade fails while upgrading the database

2011-11-20 Thread Vincent Bernat
OoO En  ce début d'après-midi nuageux  du samedi 19  novembre 2011, vers
14:23, Moonwalker moonwal...@hotbox.ru disait :

 Package: roundcube-core
 Version: 0.6+dfsg-1
 
 ===
 -+ Configuring roundcube-core +-
 An error occurred while upgrading the database:
 /var/lib/dpkg/info/roundcube-core.postinst: 1:
 /var/lib/dpkg/info/roundcube-core.postinst: cannot create
 /var/cache/dbconfig-common/backups/roundcube_0.5.4+dfsg-1.mysql:
 Directory nonexistent

I   don't  know   how  you   could   get  this   error.  The   directory
/var/cache/dbconfig-common/backups is owned by dbconfig-common.
  
 Fortunately,
 /var/cache/dbconfig-common/backups/roundcube_0.5.4+dfsg-1.mysql holds
 a backup of the database, made just before the upgrade.

I  am not  sure to  understand.  Does /var/cache/dbconfig-common/backups
exist?  And does  it contain  roundcube_0.5.4+dfsg-1.mysql? If  yes, the
above error is mysterious.
-- 
Vincent Bernat ☯ http://vincent.bernat.im

Don't stop with your first draft.
- The Elements of Programming Style (Kernighan  Plauger)


pgp0DmQ59H5U9.pgp
Description: PGP signature


Bug#649264: 0.5.4+dfsg-1 to 0.6+dfsg-1 package upgrade fails while upgrading the database

2011-11-19 Thread Moonwalker
Package: roundcube-core
Version: 0.6+dfsg-1

===
-+ Configuring roundcube-core +-
An error occurred while upgrading the database:
/var/lib/dpkg/info/roundcube-core.postinst: 1: 
/var/lib/dpkg/info/roundcube-core.postinst: cannot create 
/var/cache/dbconfig-common/backups/roundcube_0.5.4+dfsg-1.mysql: Directory 
nonexistent
 
Fortunately, /var/cache/dbconfig-common/backups/roundcube_0.5.4+dfsg-1.mysql 
holds a backup of the database, made just before the upgrade.
===

in /var/log/dpkg.log:
2011-11-19 10:42:27 upgrade roundcube 0.5.4+dfsg-1 0.6+dfsg-1
2011-11-19 10:42:27 status half-configured roundcube 0.5.4+dfsg-1
2011-11-19 10:42:27 status unpacked roundcube 0.5.4+dfsg-1
2011-11-19 10:42:27 status half-installed roundcube 0.5.4+dfsg-1
2011-11-19 10:42:27 status half-installed roundcube 0.5.4+dfsg-1
2011-11-19 10:42:28 status unpacked roundcube 0.6+dfsg-1
2011-11-19 10:42:28 status unpacked roundcube 0.6+dfsg-1
2011-11-19 10:42:28 upgrade roundcube-core 0.5.4+dfsg-1 0.6+dfsg-1
2011-11-19 10:42:28 status half-configured roundcube-core 0.5.4+dfsg-1
2011-11-19 10:42:29 status unpacked roundcube-core 0.5.4+dfsg-1
2011-11-19 10:42:29 status half-installed roundcube-core 0.5.4+dfsg-1
2011-11-19 10:42:30 status half-installed roundcube-core 0.5.4+dfsg-1
2011-11-19 10:42:31 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:42:31 status unpacked roundcube-core 0.6+dfsg-1
...
2011-11-19 10:43:38 configure roundcube-core 0.6+dfsg-1 none
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status unpacked roundcube-core 0.6+dfsg-1
2011-11-19 10:43:38 status half-configured roundcube-core 0.6+dfsg-1




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