When it comes time to install
PHP5 and it's upporting modules:
http://howtoforge.com/perfect_server_ubuntu7.10_p6
Code:
root@giganetwireless:/home/bender# apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
I receive the following error:
Code:
Note, selecting php5-common instead of php5-json
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-idn: Depends: phpapi-20060613+lfs
php5-imagick: Depends: phpapi-20060613+lfs
php5-memcache: Depends: phpapi-20060613+lfs
php5-ming: Depends: phpapi-20060613+lfs
php5-ps: Depends: phpapi-20060613+lfs
php5-snmp: Depends: libsnmp9 (>= 5.2.3) but it is not installable
E: Broken packages
I ran '
apt-get build-dep' on the
7 problem packages listed above.
The output of this command follows:
Code:
root@giganetwireless:/home/bender# apt-get build-dep php5-idn
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
automake1.4 debhelper gettext html2text intltool-debian libidn11-dev
libssl-dev php5-common php5-dev pkg-config po-debconf shtool
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 5966kB of archives.
After unpacking 20.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
php5-common php5-dev
Install these packages without verification [y/N]? n
E: Some packages could not be authenticated
E: Failed to process build dependencies
root@giganetwireless:/home/bender# apt-get build-dep php5-imagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
automake1.4 debhelper dpatch gettext gsfonts html2text intltool-debian
libbz2-dev libexif-dev libexif12 libexpat1-dev libfreetype6-dev libice-dev
libjasper-dev libjasper1 libjpeg62-dev liblcms1 liblcms1-dev libltdl3-dev
libmagick9 libmagick9-dev libpng12-dev libsm-dev libssl-dev libtiff4-dev
libtiffxx0c2 libwmf-dev libwmf0.2-7 libx11-dev libxau-dev libxdmcp-dev
libxext-dev libxml2-dev libxt-dev php5-common php5-dev po-debconf shtool
x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
xtrans-dev
0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.4MB of archives.
After unpacking 78.3MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@giganetwireless:/home/bender# apt-get build-dep php5-memcache
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
automake1.4 cdbs debhelper diffstat gawk gettext html2text intltool-debian
libssl-dev php5-common php5-dev po-debconf quilt shtool
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 6530kB of archives.
After unpacking 23.3MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@giganetwireless:/home/bender# apt-get build-dep php5-ming
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
automake1.4 debhelper docbook docbook-to-man gettext html2text
intltool-debian libfreetype6-dev libpng12-dev libsp1c2 libssl-dev
libungif4-dev libungif4g php5-common php5-dev po-debconf python-all
python-all-dev python-dev python2.4 python2.4-dev python2.4-minimal
python2.5-dev sgml-base sgml-data shtool sp swig ttf-opensymbol xml-core
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.0MB of archives.
After unpacking 62.0MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@giganetwireless:/home/bender# apt-get build-dep php5-ps
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
automake1.4 debhelper gettext html2text intltool-debian libjpeg62-dev
libpng12-dev libssl-dev libungif4-dev libungif4g libxslt1.1 php5-common
php5-dev po-debconf pslib-dev pslib1 shtool xsltproc
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 6352kB of archives.
After unpacking 22.5MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@giganetwireless:/home/bender# apt-get build-dep php5-snmp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Build-Depends dependency for php5 cannot be satisfied because the package apache-dev cannot be found
root@giganetwireless:/home/bender# apt-get install apache-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache-dev
With respect to the last '
apt-get build-dep' command above- I tried running '
apt-get install apache-dev' and received the following error:
Code:
root@giganetwireless:/home/bender# apt-get install apache-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache-dev
At this point I feel that running the '
apt-get build-dep' command with all
7 problem packages and say '
Y' to installation of those dependent packages I should then be able to start over with the PH5 install and it should then install correctly wouldn't it?
What would be the best solution to working around this issue?
Thank you for your help
Regards