help with apt-get on ubuntu

Soldato
Joined
18 Oct 2002
Posts
5,600
Location
Surrey
hi all,

I've got a server install (console only) and am trying to follow the instructions here: http://easylinux.info/wiki/Ubuntu#Apache_HTTP_Server for installing mySQL and apache. having a bit of a mare remembering how to use a *nix BUT I'm getting there. It's failing to install php as below:

$sudo apt-get install php4
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package php4

has anyone got any ideas how I can access php?

the update, MySQl-server and apache2 installs (and the vim install) seemed to go OK

edit:

OK php5 installed fine and I can see the phpinfo output from a remote machine :D but now protoftp is failing with the same error

HT
 
Last edited:
With proftpd it likes you to use a different package rather than the proftp base,

try sudo apt-get install proftpd-common
 
have you done a 'apt-get update'?

This updates your database of the currently downloadable software in your apt-get repositories. Then try your commands again.

Hope that helps!
 
By Default (iirc) the ubuntu install will only look for packages on the disk. You need to uncomment the file /etc/apt/sources and then do apt-get update, then try installing the package.

If the package still doesnt install, check that it exists by searching the ubuntu package search page which can be found here

I hope this is of some use. :)
 
Back
Top Bottom