apt doesn't want to replace portmap with rpcbind on upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Oneiric |
Fix Released
|
Medium
|
Michael Vogt | ||
Precise |
Invalid
|
Medium
|
Steve Langasek | ||
rpcbind (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
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/
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/
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:
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?
Changed in nfs-utils (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
Changed in nfs-utils (Ubuntu Oneiric): | |
importance: | Undecided → Medium |
Changed in nfs-utils (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in rpcbind (Ubuntu): | |
status: | New → Invalid |
Changed in rpcbind (Ubuntu Oneiric): | |
status: | New → Fix Released |
Changed in rpcbind (Ubuntu Precise): | |
status: | New → Fix Committed |
Changed in nfs-utils (Ubuntu Precise): | |
status: | Fix Committed → Invalid |
I bumped the priority of rpcbind in the archive to 'standard', and that let apt figure out the upgrade. Problem solved. :)