[Bug 863741] Re: apt doesn't want to replace portmap with rpcbind on upgrade
Dac Chartrand
863741 at bugs.launchpad.net
Thu May 31 18:53:46 UTC 2012
Seems to work for me. I rebooted. I can mount my Windows partition. I
can browse the internal Windows network. Nothing seems broken.
Some backstory: I discovered this bug when trying to solve my own
"askubuntu.com" problem, see:
http://askubuntu.com/questions/128933/cannot-update-nfs-the-update-
manager-shows-packages-but-wont-let-me-select-the
In the above URL, I am using the "Update Manager" GUI.
When trying to help solve this bug (eg. a reply to comment #7 by
cjwatson) I did 6 steps:
1) I went into the graphical "Ubutnu Software Centre" 2) I put a
checkmark next to "precise-proposed" in the Sources tab; Edit ->
Software Sources. 3) In "Update Manager" i clicked "Check." At this
point I was asked to upgrade something like 90+ packages. I freaked out
a bit and exited the GUI. Instead, I went to the terminal and I did 4)
-=-=-
$ sudo apt-get install rpcbind nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
portmap
The following NEW packages will be installed:
rpcbind
The following packages will be upgraded:
nfs-common
1 upgraded, 1 newly installed, 1 to remove and 91 not upgraded.
Need to get 279 kB of archives.
After this operation, 41.0 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main nfs-common amd64 1:1.2.5-3ubuntu3 [236 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-proposed/main rpcbind amd64 0.2.0-7ubuntu1.1 [42.6 kB]
Fetched 279 kB in 0s (474 kB/s)
(Reading database ... 199442 files and directories currently installed.)
Preparing to replace nfs-common 1:1.2.0-4ubuntu4.2 (using .../nfs-common_1%3a1.2.5-3ubuntu3_amd64.deb) ...
Unpacking replacement nfs-common ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
(Reading database ... 199455 files and directories currently installed.)
Removing portmap ...
portmap stop/waiting
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Selecting previously unselected package rpcbind.
(Reading database ... 199442 files and directories currently installed.)
Unpacking rpcbind (from .../rpcbind_0.2.0-7ubuntu1.1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up rpcbind (0.2.0-7ubuntu1.1) ...
Installing new version of config file /etc/init/portmap.conf ...
Installing new version of config file /etc/init/portmap-wait.conf ...
Removing any system startup links for /etc/init.d/rpcbind ...
portmap start/running, process 13937
Setting up nfs-common (1:1.2.5-3ubuntu3) ...
Installing new version of config file /etc/init/gssd.conf ...
Installing new version of config file /etc/init/idmapd.conf ...
Replacing config file /etc/idmapd.conf with new version
Replacing config file /etc/default/nfs-common with new version
statd stop/waiting
statd start/running, process 14226
gssd stop/pre-start, process 14255
idmapd start/running, process 14296
-=-=-
5) At this point I went back to Software Sources GUI and unchecked
"precise-proposed" 6) In the Update Manager GUI I clicked "Check" again
and this time I was asked to upgrade "nfs-kernel-server" which I did.
Hope this info is useful to someone.
Regards,
--
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 Committed
Bug description:
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