[Pkg-roundcube-maintainers] roundcube-sqlite3

Vincent Bernat bernat at debian.org
Wed Jun 26 19:41:58 UTC 2013


 ❦ 26 juin 2013 17:52 CEST, Jan Wagner <waja at cyconet.org> :

>>> I stubled upon the new package roundcube-sqlite3 ... looking at
>>> http://packages.qa.debian.org/roundcube I discovered:
>>>
>>> roundcube-sqlite3/i386 unsatisfiable Depends: php5-sqlite3
>>>
>>> Looking a bit closer into recent php5 packaging, I can't find
>>> such a package in unstable not experimental. Did I miss
>>> anything?
>>
>> Yes, this is a mistake. I will correct this on next upload.
>
> I backported the package to squeeze .. there are some issues:
>
> Replacing config file /etc/roundcube/main.inc.php with new version
> Syntax error on line 10 of /etc/apache2/conf.d/roundcube:
> Invalid command '<IfVersion', perhaps misspelled or defined by a
> module not included in the server configuration
> Action 'configtest' failed.
> The Apache error log may have more information.
>
> It's needed to ensure that the version module of apache2 is enabled.

Yes. The guidelines for Apache packaging explicitly says that we should
expect it to be available as it is in wheezy and we should not try to
load it ourselves.

> dpkg: error processing
> /var/cache/apt/archives/roundcube-plugins_0.9.2-1~bpo60+1_all.deb
> (--unpack):
>  trying to overwrite
> '/etc/roundcube/plugins/zipdownload/config.inc.php', which is also in
> package roundcube-plugins-extra 0.7-20120110~bpo60+1
>
> Seems a break for roundcube-plugins-extra (<= 0.7-20120110) is needed.

Right. I am adding it. There is already a bug for that.

> A sqlite related issue ... actually debconf asks for mysql credentials
> unconditionally.
> Anyways .. if you want to provide a migration path from sqlite squeeze
> to sqlite3 jessie (would be cool for me):
>
> Applying upgrade sql for 0.7.2-9~bpo60+1 -> 0.9.1-1.
> Error: unable to open database
> "/var/lib/dbconfig-common/sqlite3/roundcube/roundcube": unable to open
> database file
> error encountered processing
> /usr/share/dbconfig-common/data/roundcube/upgrade/sqlite3/0.9.1-1:
>
> The database is in
> "/var/lib/dbconfig-common/sqlite/roundcube/roundcube" this is no
> wonder. Maybe here should be the database imported into sqlite3 before
> the updates are rolled out. ;)

The package is complicated enough already. It is difficult to provide an
automatic migration path from sqlite to sqlite3 with
dbconfig-common. There are some instructions on the wiki for migration
From sqlite to mysql and they should apply as well for sqlite3. The
upgrade files are just here to help this manual migration.

> Anyways .. also there should be a Break against roundcube-sqlite.

This would be purely semantic since roundcube-sqlite is an empty
package with no script attached.
-- 
Make sure comments and code agree.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20130626/82f6e29c/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list