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

bogstad bogstad at pobox.com
Fri May 24 04:05:59 UTC 2013


I'm seeing the same thing on a system recently upgraded directly from
10.04 to 12.04.   Here's the debugging output:

# 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 [ i386 ] < none -> 0.2.0-7ubuntu1.2 > ( net )
Broken rpcbind:i386 Conflicts on portmap [ i386 ] < 6.0.0-1ubuntu2.2 > ( net )
  Considering portmap:i386 1 as a solution to rpcbind:i386 1
  Holding Back rpcbind:i386 rather than change portmap:i386
Investigating (0) nfs-common [ i386 ] < 1:1.2.0-4ubuntu4.2 -> 1:1.2.5-3ubuntu3.1 > ( net )
Broken nfs-common:i386 Depends on rpcbind [ i386 ] < none -> 0.2.0-7ubuntu1.2 > ( net ) (>= 0.2.0-6ubuntu1)
  Considering rpcbind:i386 1 as a solution to nfs-common:i386 1
  Holding Back nfs-common:i386 rather than change rpcbind:i386
Investigating (0) nfs-kernel-server [ i386 ] < 1:1.2.0-4ubuntu4.2 -> 1:1.2.5-3ubuntu3.1 > ( net )
Broken nfs-kernel-server:i386 Depends on nfs-common [ i386 ] < 1:1.2.0-4ubuntu4.2 -> 1:1.2.5-3ubuntu3.1 > ( net ) (= 1:1.2.5-3ubuntu3.1)
  Considering nfs-common:i386 1 as a solution to nfs-kernel-server:i386 0
  Holding Back nfs-kernel-server:i386 rather than change nfs-common:i386
 Try to Re-Instate (1) nfs-common:i386
 Try to Re-Instate (1) nfs-kernel-server:i386
Done
Done
The following packages have been kept back:
  nfs-common nfs-kernel-server
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

-- 
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