[Bug 996916] Re: postgresql packages in the removal blacklist making it hard to upgrade

Stéphane Charette stephanecharette at gmail.com
Mon Jul 25 22:56:15 UTC 2016


>From a comment I left earlier this year on another bug ticket which is
now marked as a duplicate:

------------

Finally figured out why upgrades to 16.04 are prevented on many of my
computers. The trick is to run this after a failed upgrade:

> cd /var/log/dist-upgrade/
> tail -100 main.log

In my case, this was the problem:

> 2016-06-09 15:48:07,039 DEBUG blacklist expr '^postgresql-.*[0-9]\.[0-9].*' matches 'postgresql-plperl-9.4'
> 2016-06-09 15:48:07,039 DEBUG The package 'postgresql-plperl-9.4' is marked for removal but it's in the removal blacklist
> 2016-06-09 15:48:12,070 ERROR Dist-upgrade failed: 'The package 'postgresql-plperl-9.4' is marked for removal but it is in the removal blacklist.'
> 2016-06-09 15:48:12,071 DEBUG abort called

So the solution for me was to remove that package:

> sudo apt-get remove postgresql-plperl-9.4

However, even knowing this, I still think this bug is valid. The upgrade
process should provide more details when the upgrade refuses to run. For
example, it could have either shown the name of the offending package,
or perhaps even given me the option to remove it so the upgrade can
proceed.

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

Title:
  postgresql packages in the removal blacklist making it hard to upgrade

Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  I have got this pop-up error message while updating from Ubuntu
  version 11.04 to 11.10:

  Could not calculate the upgrade

  An unresolvable problem occurred while calculating the upgrade:
  The package 'postgresql-plperl-8.4' is marked for removal but it is in the removal blacklist.

   This can be caused by:
   * Upgrading to a pre-release version of Ubuntu
   * Running the current pre-release version of Ubuntu
   * Unofficial software packages not provided by Ubuntu

  If none of this applies, then please report this bug using the command
  'ubuntu-bug update-manager' in a terminal.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-manager 1:0.150.5.2
  ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
  Uname: Linux 2.6.38-15-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed May  9 15:17:02 2012
  GConfNonDefault:
   /apps/update-manager/check_new_release_ignore=oneiric
   /apps/update-manager/first_run=false
   /apps/update-manager/window_size=(600,600)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to natty on 2012-05-09 (0 days ago)
  VarLogDistupgradeApttermlog:
   
  VarLogDistupgradeHistorylog:
   
  VarLogDistupgradeSystemstatetargz:
   
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/996916/+subscriptions



More information about the foundations-bugs mailing list