Unable to install files with apt-get: "unable to locate package"

Posted by Ben Casling on Ask Ubuntu See other posts from Ask Ubuntu or by Ben Casling
Published on 2012-11-12T16:50:36Z Indexed on 2012/11/12 23:13 UTC
Read the original article Hit count: 300

Filed under:
|

I'm having issues with my ubuntu server version 12.04 installed on a HP550 laptop, when i try sudo apt-get install <programname>, e.g apache2 it will not work, saying E: Unable to locate package apache2.

I have tried to look/edit the sources. but they will not work either the gedit command is broken too, i am trying gedit /etc/apt/sources.list for those wondering, is this a case of the computer network not configured properly? it downloaded a language pack easily enough in the installation though. how do i fix this? a prompt reply would be appreciated.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about sudo