Bug#766784: libjson-pp-perl: can neither remove nor install newer version of this package

gregor herrmann gregoa at debian.org
Sat Oct 25 18:52:54 UTC 2014


Control: notfound -1 2.27300-1
Control: found -1 2.27300-2

On Sat, 25 Oct 2014 18:19:16 +0000, brian m. carlson wrote:

> Package: libjson-pp-perl
> Version: 2.27300-1
> Severity: grave
> 
> I'm unable to get dpkg to do anything useful with this package.  I can't
> upgrade to the supposedly fixed version, and now aptitude refuses to do
> anything else without either removing or upgrading libjson-pp-perl.
> 
>   vauxhall no % sudo dpkg -P libjson-pp-perl
>   (Reading database ... 511466 files and directories currently installed.)
>   Removing libjson-pp-perl (2.27300-1) ...
>   No diversion 'diversion of /usr/bin/json_pp to /usr/bin/json_pp.bundled by libjson-pp-perl', none removed.
>   Removing 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.1.bundled.gz by libjson-pp-perl'
>   dpkg-divert: error: rename involves overwriting `/usr/share/man/man1/json_pp.1.gz' with
>     different file `/usr/share/man/man1/json_pp.1.bundled.gz', not allowed
>   dpkg: error processing package libjson-pp-perl (--purge):
>    subprocess installed post-removal script returned error exit status 2
>   Errors were encountered while processing:
>    libjson-pp-perl
>   vauxhall no % sudo dpkg -i /var/cache/apt/archives/libjson-pp-perl_2.27300-2_all.deb
>   Selecting previously unselected package libjson-pp-perl.
>   (Reading database ... 511471 files and directories currently installed.)
>   Preparing to unpack .../libjson-pp-perl_2.27300-2_all.deb ...
>   Removing 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.1.bundled.gz by libjson-pp-perl'
>   dpkg-divert: error: rename involves overwriting `/usr/share/man/man1/json_pp.1.gz' with
>     different file `/usr/share/man/man1/json_pp.1.bundled.gz', not allowed
>   dpkg: error processing archive /var/cache/apt/archives/libjson-pp-perl_2.27300-2_all.deb (--install):
>    subprocess new pre-installation script returned error exit status 2
>   Errors were encountered while processing:
>    /var/cache/apt/archives/libjson-pp-perl_2.27300-2_all.deb

Hrm.
Something is broken here indeed; I'm just wondering how you got into
this situation; my aptitude log shows on Mon, Oct 20 2014:

[UPGRADE] libjson-pp-perl:amd64 2.27300-1 -> 2.27300-2

and this went obviously fine.
 

And I've never seen dpkg-divert saying "rename involves overwriting
.. with different file .., not allowed".


Let's try:

# dpkg -l libjson-pp-perl
..
ii  libjson-pp-perl      2.27300-2       all             module for manipulating JSON-formatted data (P

# aptitude purge libjson-pp-perl
[needs a downgrade of cpanminus. ok.]
Removing libjson-pp-perl (2.27300-2) ...
Removing 'diversion of /usr/bin/json_pp to /usr/bin/json_pp.bundled by libjson-pp-perl'
Removing 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.bundled.1.gz by libjson-pp-perl'
Purging configuration files for libjson-pp-perl (2.27300-2) ...
..

# aptitude install libjson-pp-perl=2.27300-1
..
Preparing to unpack .../libjson-pp-perl_2.27300-1_all.deb ...
Adding 'diversion of /usr/bin/json_pp to /usr/bin/json_pp.bundled by libjson-pp-perl'
Adding 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.1.bundled.gz by libjson-pp-perl'
Unpacking libjson-pp-perl (2.27300-1) ...
..

# aptitude install libjson-pp-perl=2.27300-2
..
Preparing to unpack .../libjson-pp-perl_2.27300-2_all.deb ...
Removing 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.1.bundled.gz by libjson-pp-perl'
Leaving 'diversion of /usr/bin/json_pp to /usr/bin/json_pp.bundled by libjson-pp-perl'
Adding 'diversion of /usr/share/man/man1/json_pp.1.gz to /usr/share/man/man1/json_pp.bundled.1.gz by libjson-pp-perl'
Unpacking libjson-pp-perl (2.27300-2) over (2.27300-1) ...
..


All as expected.


Anyone around with any idea?


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Kurt Ostbahn: Da Polifka Rudl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141025/ceeffd3c/attachment.sig>


More information about the pkg-perl-maintainers mailing list