I've verified this fix using the test case that I've just added to the
bug description, so I think this can be considered done.

** Description changed:

+ [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       
+ 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
+   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
+   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
+   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?

** Tags removed: verification-needed
** Tags added: verification-done

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to