Solved

uBuntu install NFS from command line

Posted on 2013-02-04
2
871 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
2 Comments
 
LVL 9

Expert Comment

by:EMJSR
Comment Utility
0
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 28
LDAP find expired users 8 40
LINUX, CPANEL & WHM 5 15
Install Dell OpenManage on Ubuntu PowerEdge R410 3 20
Remote Desktop Connections allow you to control remote host machines via the magic of the Internet and RDP (Remote Desktop Protocol). For the purposes of this article we will assume you are connecting from your home PC or laptop to a remote offic…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now