How to install ROS-Melodic over proxy network [closed]

asked 2019-09-30 00:57:25 -0600

MjdKassem gravatar image

updated 2019-09-30 00:59:28 -0600

Maybe it is a repeated question, but really i have no solution

i am trying to install ROS melodic on Ubuntu 18.04.3 LTS, using my Wifi the things went good, but at my office where i have a desktop with restricted policy to use a proxy i have some problem

the ubuntu software & update can't install the updates even i have connected to internet and the proxy setting was setupped in system setting, when i tried sudo http_proxy=myproxy:myport apt-get update the update process failed with this message

some index failed to download, they have been ignored or old ones used instead

i try to install ROS even though the ubuntu updates were failed but again the terminal shows

Reading Package list...Done 
Building dependency tree Reading state information...Done 
Enable to locate package ros-melodic-desktop-full

I tried multiple solutions via google but all were failed.strong text Why isn't enough to setup the proxy from system setting one time ?

If i have windows10 which accessing the net using the same proxy, Can i get the update by connecting ubuntu to windows hotspot ?

If i take the hard disk where the ubuntu installed and try to get update using another computer, Can i get them correctly?

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by tfoote
close date 2019-09-30 13:56:04.504485

Comments

This is a general apt behind proxy issue. Please use the Ubuntu forums as this is not ROS related.

tfoote gravatar imagetfoote ( 2019-09-30 13:55:59 -0600 )edit