[php-maint] Bug#656495: marked as done (php5-sqlite: unmigrated sqlite.ini left behind as obsolete conffile)

Ondřej Surý ondrej at debian.org
Mon Jan 30 21:36:10 UTC 2012


Bob,

your theory is probably correct and the dpkg-maintscript-helper is probably
useless as is in that case, because +b1 is binNMU and maintainer has
no control over it, I'll set the version in d-m-t to 5.3.9~

O.

On Mon, Jan 30, 2012 at 18:56, Bob Proulx <bob at proulx.com> wrote:
> found 656495 5.3.9-2
> forcemerge 656495 657953
> thanks
>
>>  php5 (5.3.9-2) unstable; urgency=low
>>   * Handle sqlite.so removal (remove conffile) (Closes: #656495)
>
> I see in the rules file that it is now scripted to add snippets to
> postinst and preinst scripts for these snippets:
>
>  [ -x /usr/bin/dpkg-maintscript-helper ] && dpkg-maintscript-helper rm_conffile /etc/php5/conf.d/sqlite.ini 5.3.8.0-1 -- "@"
>
> Unfortunately this problem did not get fixed.  :-(
>
>  $ dpkg-query -W -f='${Conffiles}\n' php5-sqlite
>   /etc/php5/conf.d/pdo_sqlite.ini b992d31e9e85d4ebf32df52cdb71240b
>   /etc/php5/conf.d/sqlite3.ini 02744ae8db5d3187e23f850fb6d73a5b
>   /etc/php5/conf.d/sqlite.ini 68bef915e78cf2ec6b94771d2d49179e obsolete
>
> I think (not sure and have not been able to verify) that this is
> because the last version was 5.3.8.0-1+b1 not 5.3.8.0-1.
>
>  $ grep php5-sqlite /var/log/dpkg.log
>  2012-01-30 02:46:34 upgrade php5-sqlite 5.3.8.0-1+b1 5.3.9-4
>
> I think this should handle an upgrade from Squeeze to Wheezy however
> which is the most important thing.  I will do some more testing to
> verify this and if so then will reduce the severity to minor.
>
> I tried building a test package with the correct version but had
> difficulties due to quilt complaints.  I ran out of time but will
> resume that effort when able.
>
> This also merges another report of this issue.
>
> Bob



-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/





More information about the pkg-php-maint mailing list