how to get the apt-get to work

September 2, 2017 304 views
Networking Debian

The apt-get repository dosent work ..i cant get them to work ive tried to add other but nothing works ...whats the problem. dont have much use of the the droplets if i cant install things i need.

4 Answers
Aprexer September 2, 2017
Accepted Answer

Well, it's pretty pointless if you're not telling us any outputs you're getting.

It should be pretty straightforward, once you know the name of the package you want to install.
"apt-get install <package-name>"
If you're not running as root, you'll need to sudo
"sudo apt-get install <package-name>"

Well i dont seem to have any outbound connection, this is my respond :Reading package lists... Done
Building dependency tree

Reading state information... Done
E: Unable to locate package

ive tried to update repository sources.list with no luck

Check package name. If it is correct apt-get must be work.
N yes dont forget to put sudo if not root user.

Have another answer? Share your knowledge.