[Bug 863741] Re: apt doesn't want to replace portmap with rpcbind on upgrade

Launchpad Bug Tracker 863741 at bugs.launchpad.net
Thu Jun 7 19:20:15 UTC 2012


This bug was fixed in the package rpcbind - 0.2.0-7ubuntu1.1

---------------
rpcbind (0.2.0-7ubuntu1.1) precise-proposed; urgency=low

  * No-change rebuild of rpcbind so we can publish with a different version
    number to precise-updates, allowing apt to see that this package is
    Priority: standard so it will be installed in favor of portmap on
    upgrade.  LP: #863741.
 -- Steve Langasek <steve.langasek at ubuntu.com>   Wed, 30 May 2012 09:19:16 -0700

** Changed in: rpcbind (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  apt doesn't want to replace portmap with rpcbind on upgrade

Status in “nfs-utils” package in Ubuntu:
  Fix Released
Status in “rpcbind” package in Ubuntu:
  Invalid
Status in “nfs-utils” source package in Oneiric:
  Fix Released
Status in “rpcbind” source package in Oneiric:
  Fix Released
Status in “nfs-utils” source package in Precise:
  Invalid
Status in “rpcbind” source package in Precise:
  Fix Released

Bug description:
  [Test Case]
  It's recommended to run this test in a VM or chroot.
  1. On Ubuntu 10.04 LTS, run 'sudo apt-get install nfs-common'
  2. Check that lucid-proposed is not enabled in /etc/apt/sources.list, and disable it if it is.
  3. Run 'sudo do-release-upgrade -d' to upgrade to Ubuntu 12.04 LTS.
  4. Confirm that the portmap package is still installed, and that rpcbind has not been installed
  5. Repeat step 1 on a fresh 10.04 LTS environment.
  6. Enable lucid-proposed in /etc/apt/sources.list.
  7. Repeat step 3.
  8. Confirm that the portmap package has been removed, and that rpcbind has been installed.

  On upgrade from natty to oneiric, the old nfs-common got left behind
  because apt didn't want to replace portmap with rpcbind.

  $ sudo apt-get -oDebug::PkgProblemResolver=1 dist-upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Starting
  Starting 2
  Investigating (0) rpcbind [ amd64 ] < none -> 0.2.0-6ubuntu3 > ( net )
  Broken rpcbind:amd64 Conflicts on portmap [ amd64 ] < 6.0.0-2ubuntu5 > ( net )
    Considering portmap:amd64 1 as a solution to rpcbind:amd64 0
    Holding Back rpcbind:amd64 rather than change portmap:amd64
  Investigating (0) nfs-common [ amd64 ] < 1:1.2.2-4ubuntu5 -> 1:1.2.4-1ubuntu2 > ( net )
  Broken nfs-common:amd64 Depends on rpcbind [ amd64 ] < none -> 0.2.0-6ubuntu3 > ( net ) (>= 0.2.0-6ubuntu1)
    Considering rpcbind:amd64 0 as a solution to nfs-common:amd64 0
    Holding Back nfs-common:amd64 rather than change rpcbind:amd64
   Try to Re-Instate (1) nfs-common:amd64
  Done
  Done
  The following packages have been kept back:
    nfs-common
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  $

  I don't know why this is.  Maybe it has to do with the old portmap
  being Priority: standard, and rpcbind being Priority: optional?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/863741/+subscriptions




More information about the foundations-bugs mailing list