I am trying to install an NFS server on my Ubuntu 12.04 machine but everytime it gives me an error like this:
david@machineA:~$ sudo apt-get install nfs-common nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
nfs-common is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nfs-kernel-server : Depends: nfs-common (= 1:1.2.5-3ubuntu3) but 1:1.2.5-3ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Below is the output of lsb_release -a
:
david@machineA:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Is there anything wrong I am doing? How can I resolve this issue?
sudo apt-get update
first (and then install nfs) – Panther Feb 08 '15 at 23:581:1.2.5-3ubuntu3.2
now btw. – David Foerster Feb 09 '15 at 00:04sudo apt-get update
first and then tried installing nfs. – arsenal Feb 09 '15 at 00:04nfs-common
andnfs-kernel-server
manually in the latest version for your architecture from https://launchpad.net/ubuntu/precise/+source/nfs-utils and install them withdpkg -i
. – David Foerster Feb 09 '15 at 00:21apt-cache policy nfs-kernel-server
– A.B. Aug 17 '15 at 16:26