Debian Bug report logs -
#743976
php5-json: Missing package dependencies prevent package removal
Reported by: Roger Leigh <rleigh@debian.org>
Date: Tue, 8 Apr 2014 22:21:02 UTC
Severity: serious
Found in version php5/5.5.0~rc1+dfsg-1
Fixed in version php5/5.5.11+dfsg-3
Done: Ondřej Surý <ondrej@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>:
Bug#743976; Package php5-json.
(Tue, 08 Apr 2014 22:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Roger Leigh <rleigh@debian.org>:
New Bug report received and forwarded. Copy sent to Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>.
(Tue, 08 Apr 2014 22:21:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-json
Version: 1.3.4-1
Severity: serious
Justification: Broken deps prevent deinstall
% sudo apt-get remove php5-json
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
php5-common php5-json
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 1,046 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 514336 files and directories currently installed.)
Removing php5-common (5.5.11+dfsg-2) ...
Removing php5-json (1.3.4-1) ...
/var/lib/dpkg/info/php5-json.prerm: 13: /var/lib/dpkg/info/php5-json.prerm: php5dismod: not found
dpkg: error processing package php5-json (--remove):
subprocess installed pre-removal script returned error exit status 127
/var/lib/dpkg/info/php5-json.postinst: 11: /var/lib/dpkg/info/php5-json.postinst: php5enmod: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
php5-json
E: Sub-process /usr/bin/dpkg returned an error code (1)
php5-common has a dependency upon php5-json
php5-json does not have a dependency upon php5-common
This results in php5-common being removed first, and php5-json's
prerm failing due to php5dismod not being found: it's already
been removed by this point. Note that when dpkg tries to
abort the transaction, the rerun of the postinst *also* fails due
to php5enmod also being removed, so this isn't strictly a
removal bug, it's also a bug for installation as well.
I'm not familiar with the php5 packaging, but it's clear that the
dependencies are incorrect here, and this leads to an inability to
deinstall, hence the serious severity. Suggestions, in decending
order of usefulness:
- can the dependencies be inverted? That is, make php5-json depend
on php5-common?
- can the prerm be made to clean up properly in the absence of
php5dismod? likewise the prerm and php4enmod
- if the dependencies are mutual, should the packages be merged?
Regards,
Roger
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (550, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages php5-json depends on:
ii libc6 2.18-4
ii libjson-c2 0.11-3
pn phpapi-20121212 <none>
ii ucf 3.0027+nmu1
php5-json recommends no packages.
php5-json suggests no packages.
-- no debconf information
Reply sent
to Lior Kaplan <kaplanlior@gmail.com>:
You have taken responsibility.
(Sat, 12 Apr 2014 16:48:18 GMT) (full text, mbox, link).
Notification sent
to Roger Leigh <rleigh@debian.org>:
Bug acknowledged by developer.
(Sat, 12 Apr 2014 16:48:18 GMT) (full text, mbox, link).
Message #10 received at 743976-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 1.3.4-1
This was fixed by another upload of php sources, and is related to #743890
Kaplan
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>:
Bug#743976; Package php5-json.
(Sat, 19 Apr 2014 13:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Hiroyuki Yamamoto <yama1066@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>.
(Sat, 19 Apr 2014 13:21:04 GMT) (full text, mbox, link).
Message #15 received at 743976@bugs.debian.org (full text, mbox, reply):
Control: reopen -1
I think this bug is not fixed,
because php5-json "real" package is "preferentially" installed
than "virtual" package provided by php5-common.
I think that this bug is not solved until php5-json real package is removed
form repository, or php5-common don't depend to php5-json.
Regards,
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
Bug reopened
Request was from Hiroyuki Yamamoto <yama1066@gmail.com>
to 743976-submit@bugs.debian.org.
(Sat, 19 Apr 2014 13:21:05 GMT) (full text, mbox, link).
No longer marked as fixed in versions 1.3.4-1.
Request was from Hiroyuki Yamamoto <yama1066@gmail.com>
to 743976-submit@bugs.debian.org.
(Sat, 19 Apr 2014 13:21:06 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>:
Bug#743976; Package php5-json.
(Sat, 19 Apr 2014 13:27:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>.
(Sat, 19 Apr 2014 13:27:11 GMT) (full text, mbox, link).
Message #24 received at 743976@bugs.debian.org (full text, mbox, reply):
There's no "virtual" php5-json provided by php5-common, there's only the
real one.
O.
On Sat, Apr 19, 2014, at 15:17, Hiroyuki Yamamoto wrote:
> Control: reopen -1
>
> I think this bug is not fixed,
> because php5-json "real" package is "preferentially" installed
> than "virtual" package provided by php5-common.
>
> I think that this bug is not solved until php5-json real package is
> removed
> form repository, or php5-common don't depend to php5-json.
>
> Regards,
> --
> Hiroyuki Yamamoto
> A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
>
> _______________________________________________
> Pkg-php-pecl mailing list
> Pkg-php-pecl@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-pecl
--
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>:
Bug#743976; Package php5-json.
(Sat, 19 Apr 2014 14:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Hiroyuki Yamamoto <yama1066@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>.
(Sat, 19 Apr 2014 14:03:05 GMT) (full text, mbox, link).
Message #29 received at 743976@bugs.debian.org (full text, mbox, reply):
Hmm,
I may be misled by description of php5-json's packages.debian.org page.
https://packages.debian.org/en/sid/php5-json
> Packages providing php5-json
> php5-common
> Common files for packages built from the php5 source
It is right that php5-common doesn't provide php5-json
according to apt-cache show php5-common.
Ondřej Surý wrote:
> There's no "virtual" php5-json provided by php5-common, there's only the
> real one.
>
> O.
>
> On Sat, Apr 19, 2014, at 15:17, Hiroyuki Yamamoto wrote:
>> Control: reopen -1
>>
>> I think this bug is not fixed,
>> because php5-json "real" package is "preferentially" installed
>> than "virtual" package provided by php5-common.
>>
>> I think that this bug is not solved until php5-json real package is
>> removed
>> form repository, or php5-common don't depend to php5-json.
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
Bug reassigned from package 'php5-json' to 'src:php5'.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Tue, 22 Apr 2014 11:21:04 GMT) (full text, mbox, link).
No longer marked as found in versions php-json/1.3.4-1.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Tue, 22 Apr 2014 11:21:05 GMT) (full text, mbox, link).
Marked as found in versions php5/5.5.0~rc1+dfsg-1.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Tue, 22 Apr 2014 11:21:06 GMT) (full text, mbox, link).
Marked as fixed in versions php5/5.5.11+dfsg-3.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Tue, 22 Apr 2014 11:21:07 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Tue, 22 Apr 2014 11:21:08 GMT) (full text, mbox, link).
Notification sent
to Roger Leigh <rleigh@debian.org>:
Bug acknowledged by developer.
(Tue, 22 Apr 2014 11:21:09 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 25 May 2014 07:41:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:49:41 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.