Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 901
  • Last Modified:

uBuntu install NFS from command line

I am try to install with this command:

aptitude install nfs-kernel-server nfs-common portmap
( and also tried sudo apt-get install nfs-kernal-server , with no luck)
It failed,  it seems can't find the right file to download. Here is my screen shot.


ze@ze-HP-Compaq-nc6120-PR125UA-ABA:~$ sudo apt-get install nfs-kernel-server
[sudo] password for ze:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  nfs-common portmap
The following NEW packages will be installed:
  nfs-common nfs-kernel-server portmap
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 429kB of archives.
After this operation, 1,241kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  portmap nfs-common nfs-kernel-server
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main portmap i386 6.0.0-2ubuntu
1.1
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main nfs-common i386 1:1.2.2-1u
buntu1.2
  404  Not Found [IP: 91.189.91.13 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick-updates/main nfs-kernel-server i386 1:1
.2.2-1ubuntu1.2
  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/portmap/portmap_6.0.0-2ub
untu1.1_i386.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/n/nfs-utils/nfs-common_1.2.
2-1ubuntu1.2_i386.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/n/nfs-utils/nfs-kernel-serv
er_1.2.2-1ubuntu1.2_i386.deb  404  Not Found [IP: 91.189.91.13 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ze@ze-HP-Compaq-nc6120-PR125UA-ABA:~$

..
Anyone can point to a correct location for a quick install from command like? Gui interface for me is not availabel because I am login from remote.
Thanks
0
zzhang2006
Asked:
zzhang2006
1 Solution
 
EMJSRCommented:
0
 
rindiCommented:
You are using an old version of Ubuntu (maverick) which isn't maintained anymore, and so the repositories for this version have been removed. For that reason you can't get the software packages anymore.

If you are using ubuntu for mission critical tasks and as a server, you should always use the LTS version (Long Time Support), which are supported for 5 Years, and then keep your distro up-to-date during that life-time. When the End of Life of an ubuntu version is about to be reached you should upgrade to the next LTS version. You can use the instructions in the following link to upgrade to newer versions:

http://fridge.ubuntu.com/2012/04/10/ubuntu-10-10-maverick-meerkat-end-of-life-reached-on-april-10-2012/

So in your situation you would have to first upgrade to ubuntu natty (11.04), then to ubuntu oneiric ocelot (11.10), and then the LTS version ubuntu precise pangolin (12.04). Version 11.04 has also reached it's EOL, but it's repos still seem available, 11.10 is still supported (until april, and 12.04 LTS is supported up to 2017. Once you have an LTS version installed you don't need to go through all the short time versions when upgrading after that, so from 12.04 you can upgrade directly to the next LTS version when it gets available.

Apart from the fact that these upgrades probably taking a long time, as you would have to go through all of them, chances are that it won't work out properly since you most likely didn't run the ubuntu updates while they were still available (if you check the link I posted above, it mentions that before running the upgrade, you should first make sure the version you are using is up-to-date, and since those repos aren't available anymore you can run those updates).

So your best option is to first make sure your backups are fine, and that you have properly documented your current setup, and after that install the newest ubuntu LTS version, set it up using the documentation you made, and then restore your data from the backups. After that you should also be able to install nfs the standard way.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now