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.
Ray1
September 11th, 2011, 01:45 AM
hello, I am getting the same error, it only seems to be checking my cd-drive
after I run the above cmd, it gave me this: deb cdrom:[ubuntu 7.0 _gutsy gibbon_ -release i386 (20071016)]/ gutsy main restricted
thank you for any help
Ray
rhythmiccycle
September 11th, 2011, 09:06 AM
hello, I am getting the same error, it only seems to be checking my cd-drive
after I run the above cmd, it gave me this: deb cdrom:[ubuntu 7.0 _gutsy gibbon_ -release i386 (20071016)]/ gutsy main restricted
thank you for any helphoww
Ray
What Camden are you running exactly?
Ray1
September 11th, 2011, 11:58 AM
sorry, new to linux here, what does "Camden" mean?
rhythmiccycle
September 11th, 2011, 01:59 PM
sorry, new to linux here, what does "Camden" mean?
Sorry, I ment to say "cmd" but the autospell on my phone changed it.
What command are you trying to run?
Ray1
September 11th, 2011, 07:51 PM
sudo apt-get install apache2
Which got me this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache2
I then found this forum, and tried :
sudo apt-get update
which got me this:
deb cdrom:[ubuntu 7.0 _gutsy gibbon_ -release i386 (20071016)]/ gutsy main restricted
Thats where i am as of right now.
rhythmiccycle
September 12th, 2011, 05:40 AM
what does:
lsb_release -a
return?
Ray1
September 13th, 2011, 12:24 AM
Distributor ID: Ubuntu
Description: Ubuntu 7.10
Release 7.10
Codename: gutsy
Ray1
September 13th, 2011, 01:53 AM
my problem is solved, thanks for the help.
mörgæs
September 13th, 2011, 07:56 PM
I just noticed that you are running 7.10.
This release ran out of support more than two years ago, meaning that security holes have not been patched. I would recommend that you do a fresh install of a supported release.
http://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Version_timeline
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.