Jump to content

Recommended Posts

Posted

Hi,

 

I was asked to set up a Debian virtual machine for the computing course in school. Set up wasnt a problem. It does everything they need to do for the assesment create folders and create users ect.

 

One thing they need to do is install tree so we are doing sudo apt-get install tre. The message i get is E: unable to locate package tree

 

linux.JPG

 

I have made sure that the proxy settings are correct but i still get presented with that message.

 

I have also tried to add in additional sources into the sources.list but i still get the same result. Does anyone have any ideas how to make it install the darn program?

linux2.JPG

 

Thanks in advance!

 

Nick

Posted

Hi,

 

I've just tried that, and i got this... i noticed that it had removed my proxy settings from the system.

 

added them back in and reran the update looked like it was going to do something then this

linux 5.JPG

Posted (edited)

Another thing, apt (the tool to install software) can use its own configuration file.

I tend to configure this independently of other settings.

 

I'm betting that your proxy expects domain credentials, so here's how you do this.

 

Edit the file /etc/apt/apt.conf (e.g. sudo gedit /etc/apt/apt.conf)

and paste these values in, substituting your values where appropriate. Don't forget the semi-colons on the end of the lines.

Acquire::http::proxy "http://DOMAIN\USERNAME:PASSWORD@PROXYSERVER:PORT/";
Acquire::https::proxy "http://DOMAIN\USERNAME:PASSWORD@PROXYSERVER:PORT/";

Edited by jinnantonnixx
Posted

I have stopped it using IPv6 as far as i can see its using a DHCP address that it is getting from my network adapter

 

i can ping the address and everything else.

Posted
We had to ensure that, as there was no opportunity for the user to type in credentials, all the necessary repositories had to be put into Authentication Exception on our filtering device

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...