I think that the problem somehow involves perl being upgraded from
5.22.1 to 5.26 but 5.22.1 still being used when the trigger for doc-base
is invoked.

>From the dpkg terminal log:

<snip>

Preparing to unpack .../perl_5.26.1-6ubuntu0.3_amd64.deb ...
Unpacking perl (5.26.1-6ubuntu0.3) over (5.22.1-9ubuntu0.6) ...
Selecting previously unselected package perl-modules-5.26.
Preparing to unpack .../perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ...
Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ...

<snip>

Processing triggers for doc-base (0.10.7) ...
Database error: Cannot read file `/var/lib/doc-base/info/status.yml': Can't 
locate PerlIO.pm in @INC (you may need to install the PerlIO module) (@INC 
contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 
/usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at 
/usr/share/perl5/YAML/Tiny.pm line 183.
BEGIN failed--compilation aborted.

<snip>

Note that despite the fact that perl 5.22.1 has been replaced with perl
5.26, @INC still contains /usr/share/perl/5.22.1/ .

I have made a pre-upgrade btrfs snapshot. I plan to revert to it then
uninstall doc-base and re-run the upgrade, then re-install doc-base. I
plan to keep the snapshot if any developer would like me to test upgrade
again with a fixed package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1869410

Title:
  package doc-base 0.10.7 failed to install/upgrade: installed doc-base
  package post-installation script subprocess returned error exit status
  10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/doc-base/+bug/1869410/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to