Solved

uBuntu install NFS from command line

Posted on 2013-02-04
2
883 Views
Last Modified: 2013-04-08
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
Comment
Question by:zzhang2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Expert Comment

by:EMJSR
ID: 38853875
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 38854106
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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Local Printing Using Remote Desktop Windows 7 sometimes has issues with printing to a local printer using a Remote Desktop Connection (RDC). The 1st step is to verify that printers are checked on the Local Resources tab of the Remote Desktop C…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question