-1

I am trying to install a library but i am getting this error:

$ sudo apt-get install libkim-api-dev Reading package lists... Done Building dependency tree
Reading state information... Done The following additional packages will be installed: libkim-api2 The following NEW packages will be installed: libkim-api-dev libkim-api2 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 490 kB of archives. After this operation, 2,104 kB of additional disk space will be used. Do you want to continue? [Y/n] y Err:1 http://repo.iitd.ernet.in/ubuntu focal/universe amd64 libkim-api2 amd64 2.1.3-5build1 503 Service Unavailable [IP: 10.10.78.61 3128] Err:2 http://repo.iitd.ernet.in/ubuntu focal/universe amd64 libkim-api-dev amd64 2.1.3-5build1 503 Service Unavailable [IP: 10.10.78.61 3128] E: Failed to fetch http://repo.iitd.ernet.in/ubuntu/pool/universe/k/kim-api/libkim-api2_2.1.3-5build1_amd64.deb 503 Service Unavailable [IP: 10.10.78.61 3128] E: Failed to fetch http://repo.iitd.ernet.in/ubuntu/pool/universe/k/kim-api/libkim-api-dev_2.1.3-5build1_amd64.deb 503 Service Unavailable [IP: 10.10.78.61 3128] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

The bashrc file has the following relevant content: export https_proxy=https://proxy61.iitd.ernet.in:3128 export HTTPS_PROXY=https://proxy61.iitd.ernet.in:3128 export HTTP_PROXY=http://proxy61.iitd.ernet.in:3128 export http_proxy=http://proxy61.iitd.ernet.in:3128 .

My system proxy details are as follows: For non-browser Applications (Proxy_Name: proxy61.iitd.ac.in Proxy_IP: 10.10.78.61 Proxy_port: 3128). The sources.list file has been changed with the following commands:deb http://repo.iitd.ernet.in/ubuntu focal main restricted universe multiverse deb http://repo.iitd.ernet.in/ubuntu focal-updates main restricted universe multiverse deb http://repo.iitd.ernet.in/ubuntu focal-security main restricted universe multiverse deb http://repo.iitd.ernet.in/ubuntu focal-backports main restricted universe multiverse .

I am able to access the internet from the browser however not able to download any package. What is the fix for this?

Vinayak
  • 11

1 Answers1

0

In short: Check your settings and contact your proxy provider.

[EDIT] In your situation, you cannot connect to an APT mirror inside of the proxy network. CHeck your own network settings, or contact your proxy provider for details.


So, how to change?

If you are using GNOME, use the software-properties-gtk tool. There is one existing question entity using this method.

Give me more information about your computer (is it a server, if not, which Desktop Manager environment are you using) to allow me to give more targeting answers.

1F616EMO
  • 625