Maven Installation Failed



0

Team

i tried to access Maven in Virtual Machine as follows

cloudera@cloudera-vm:~$ mvn
The program 'mvn' is currently not installed.  You can install it by typing:
sudo apt-get install maven2

 

it says it was not installed, so i tried to install as follows

cloudera@cloudera-vm:~$ sudo apt-get install maven2

But i am getting following error, could you please help

Err http://us.archive.ubuntu.com/ubuntu/ maverick/main libexcalibur-logkit-java all 2.0-4ubuntu1
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe libganymed-ssh2-java all 250-1
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main libslf4j-java all 1.5.11-2
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe libmaven-scm-java all 1.3-2
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe libnekohtml-java all 1.9.14-1
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe libmaven2-core-java all 2.2.1-4
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/main libqdox-java all 1.11-1
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe libservlet2.4-java all 5.0.30-12
  404  Not Found [IP: 91.189.91.26 80]
Err http://us.archive.ubuntu.com/ubuntu/ maverick/universe maven2 all 2.2.1-5
  404  Not Found [IP: 91.189.91.26 80]
Err http://security.ubuntu.com/ubuntu/ maverick-security/main libservlet2.5-java all 6.0.28-2ubuntu1.2
  404  Not Found [IP: 91.189.88.152 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxerces2-java/libxerces2-java_2.9.1-4.1ubuntu2_all.deb  404  Not Found [IP: 91.189.91.26 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/ant/ant_1.8.0-4_all.deb  404  Not Found [IP: 91.189.91.26 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/ant/ant-optional_1.8.0-4_all.deb  404  Not Found [IP: 91.189.91.26 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/a/antlr/libantlr-java_2.7.7-16ubuntu1_all.deb  404  Not Found [IP: 91.189.91.26 80]

 


1 Answer(s)


0

Hi Venu,

This is issue related to internet connectivity.

Check the question:
https://www.dezyre.com/course/question-feed/course_question_id/4941

Please follow the same step with maven.


Please let me know if this works for you.

Thanks.