View Full Version : [ubuntu] trouble installing apache2 "E: Couldn't find package apache2"
rhythmiccycle
June 18th, 2009, 04:01 PM
i typed the code
sudo apt-get install apache2
put it says:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache2
what do i do?
cdenley
June 18th, 2009, 05:05 PM
Do you have an internet connection. Did you run "sudo apt-get update" first? What is this output?
cat /etc/lsb-release
grep ^[^#] /etc/apt/sources.list
rhythmiccycle
June 18th, 2009, 05:16 PM
sudo apt-get update
did the trick
thanks
aanca
July 10th, 2009, 05:58 AM
hi. i am totally new to ubuntu, tried to install apache2 and failed with the same error message. read replies on this forum, used command
sudo apt-get update
before installing apache and it worked for me also. after that i also read the explanation somewhere.
so, thanks.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.