Getting error while installing ssh in Ubuntu 15.10

Asked by Srinu

I have installed Java and Hadoop and now when trying to install ssh in my Ubuntu 15.10 getting below errors.

"Do you want to continue? [Y/n] Y
Err http://in.archive.ubuntu.com/ubuntu/ wily-updates/main openssh-client amd64 1:6.9p1-2ubuntu0.1
  404 Not Found [IP: 91.189.91.23 80]
Err http://security.ubuntu.com/ubuntu/ wily-security/main openssh-client amd64 1:6.9p1-2ubuntu0.1
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com/ubuntu/ wily-security/main openssh-sftp-server amd64 1:6.9p1-2ubuntu0.1
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com/ubuntu/ wily-security/main openssh-server amd64 1:6.9p1-2ubuntu0.1
  404 Not Found [IP: 91.189.88.152 80]
Err http://security.ubuntu.com/ubuntu/ wily-security/main ssh all 1:6.9p1-2ubuntu0.1
  404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-client_6.9p1-2ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-sftp-server_6.9p1-2ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-server_6.9p1-2ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssh/ssh_6.9p1-2ubuntu0.1_all.deb 404 Not Found [IP: 91.189.88.152 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? "

I am new to ubuntu and please never mind if my question is invalid. Please suggest me how can I fix this error. Thanks-Srinu.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get update
sudo apt-get install openssh-server

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Two days ago ssh version 1:6.9p1-2ubuntu0.1 has been replaced by version 1:6.9p1-2ubuntu0.2
You have to reload your package inventory.

The commands given by actionparsnip should help.

Revision history for this message
Srinu (cnu876) said :
#3

Thanks actionparsnip, that solved my question.