Bug#297704: flyspray: fails to upgrade with 'apt-get upgrade'

2005-03-02 Thread Niels de Vos
Package: flyspray
Version: 0.9.7-1
Severity: normal

Hello,

unfortunately 'apt-get upgrade' failed to upgrade flyspray. The problem
is simple, mysql-server was stopped for upgrading too. I had to upgrade
flyspray manually (with the available php-script). I don't know if it is
possible to do the upgrade after mysql has been started, but that would
solve this kind of problem.

In short: packaging bug, but only when mysql-server is updated at the
same time.

Thanks for your time debianizing flyspray :)

Niels


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages flyspray depends on:
ii  apache2-mpm-prefork [httpd]   2.0.53-5   traditional model for Apache2
ii  debconf   1.4.30.11  Debian configuration management sy
ii  libapache2-mod-php4   4:4.3.10-8 server-side, HTML-embedded scripti
ii  libphp-adodb  4.52-1 The 'adodb' database abstraction l
ii  php4  4:4.3.10-8 server-side, HTML-embedded scripti
ii  php4-cli  4:4.3.10-8 command-line interpreter for the p
ii  php4-mysql4:4.3.10-8 MySQL module for php4
ii  ucf   1.14   Update Configuration File: preserv
ii  wwwconfig-common  0.0.42 Debian web auto configuration

-- debconf information:
* flyspray/database_name: flyspray
* flyspray/databasemgr_type: MySQL
  flyspray/webgroup: www-data
* flyspray/welcome:
  flyspray/database_downgrade:
* flyspray/database_user: flyspray
* flyspray/purge_removes_data: false
  flyspray/cookie: xx
* flyspray/dbmyadmin: root
  flyspray/database_upgrade:
* flyspray/webserver_type: Apache2
* flyspray/databasemgr_server: localhost
  flyspray/webuser: www-data


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#297704: flyspray: fails to upgrade with 'apt-get upgrade'

2005-03-02 Thread Pierre Habouzit
Le Mer 2 Mars 2005 12:58, Niels de Vos a écrit :
 Package: flyspray
 Version: 0.9.7-1
 Severity: normal

 Hello,

 unfortunately 'apt-get upgrade' failed to upgrade flyspray. The
 problem is simple, mysql-server was stopped for upgrading too. I had
 to upgrade flyspray manually (with the available php-script). I don't
 know if it is possible to do the upgrade after mysql has been
 started, but that would solve this kind of problem.

 In short: packaging bug, but only when mysql-server is updated at the
 same time.

 Thanks for your time debianizing flyspray :)

 Niels


what happen exactly ? apt-get upgrade fails on flyspray
and if you then apt-get -f install

and then rerun apt-get upgrade ?

does that solves the problem ?

I would like to avoid a Pre-Depend on mysql ...
-- 
·O·  Pierre Habouzit
··O
OOOhttp://www.madism.org


pgpf7rYphR77p.pgp
Description: PGP signature


Bug#297704: flyspray: fails to upgrade with 'apt-get upgrade'

2005-03-02 Thread Niels de Vos
Hi,

well, after an 'apt-get update' there were new packages for mysql-server
and flyspray. During the upgrade the folowing happened:

1) mysql-server stopped
2) mysql-server upgraded
3) flyspray upgraded
4) mysql-server started again

This way, point 3 couldn't be fully completed. Note, there was no real
error to be seen, at least no blocking message or the like. apt-get just
went on upgrading some more packages. Flyspray-upgrade probably uses a
php-script to upgrade the database. In this case, the script was run,
but without succes (connection error?). The only error-message I found
was on the website, where normaly flyspray runs. It said 'Upgrade to
0.9.7 not complete', or at least something like that.

For me personally, it would be sufficient to give a message on how to
upgrade the database when mysql-server is back online again. Now it took
me some hours of looking what went wrong and how to correct it. Not a
problem, but maybe someone else isn't able to fix it manually.

I even tried to reinstall flyspray-0.9.6 via apt-get, but it wasn't
available anymore... After that I would have upgraded flyspray again,
this would have solved the problem too. More or less your suggestion.

On Wed, 2005-03-02 at 14:05 +0100, Pierre Habouzit wrote:
 Le Mer 2 Mars 2005 12:58, Niels de Vos a crit :
  Package: flyspray
  Version: 0.9.7-1
  Severity: normal
 
  Hello,
 
  unfortunately 'apt-get upgrade' failed to upgrade flyspray. The
  problem is simple, mysql-server was stopped for upgrading too. I had
  to upgrade flyspray manually (with the available php-script). I don't
  know if it is possible to do the upgrade after mysql has been
  started, but that would solve this kind of problem.
 
  In short: packaging bug, but only when mysql-server is updated at the
  same time.
 
  Thanks for your time debianizing flyspray :)
 
  Niels
 
 
 what happen exactly ? apt-get upgrade fails on flyspray
 and if you then apt-get -f install
 
 and then rerun apt-get upgrade ?
 
 does that solves the problem ?
 
 I would like to avoid a Pre-Depend on mysql ...
-- 
Niels de Vos
http://nixpanic.net/
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Bug#297704: flyspray: fails to upgrade with 'apt-get upgrade'

2005-03-02 Thread Pierre Habouzit
Le Mer 2 Mars 2005 16:20, Niels de Vos a écrit :
 Hi,

 well, after an 'apt-get update' there were new packages for
 mysql-server and flyspray. During the upgrade the folowing happened:

 1) mysql-server stopped
 2) mysql-server upgraded
 3) flyspray upgraded
 4) mysql-server started again

I understood that part ;)
my question was : does ap-get was enought to get it fixed.

apparently not, so I'll go implement your suggestion, that does not 
please me that much, but I have no other good choice ;)

 This way, point 3 couldn't be fully completed. Note, there was no
 real error to be seen, at least no blocking message or the like.
 apt-get just went on upgrading some more packages. Flyspray-upgrade
 probably uses a php-script to upgrade the database. In this case, the
 script was run, but without succes (connection error?). The only
 error-message I found was on the website, where normaly flyspray
 runs. It said 'Upgrade to 0.9.7 not complete', or at least something
 like that.

 For me personally, it would be sufficient to give a message on how to
 upgrade the database when mysql-server is back online again. Now it
 took me some hours of looking what went wrong and how to correct it.
 Not a problem, but maybe someone else isn't able to fix it manually.

well, I guess it's what I'll do, since like you experienced it, there is 
no way to be sure mysqld is running.

so in my next upload I'll try to detect if upgrade script failed, and 
I'll put then a warning to warn the user.
-- 
·O·  Pierre Habouzit
··O
OOOhttp://www.madism.org


pgp3gNFNgcgq2.pgp
Description: PGP signature