Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd October 2007, 23:56
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Post The Perfect Server - 7.10 Server (PHP5 & PHP5 Packages Install Snag)

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
Reply With Quote
Sponsored Links
  #2  
Old 23rd October 2007, 00:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

Please run:

apt-get update

and try to install the php packages again. If this still does not work, post the content of /etc/apt/sources.list
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
giganet (23rd October 2007)
  #3  
Old 23rd October 2007, 01:24
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Post

Thank you Till...

I ran 'apt-get update' then attempted re-installing PHP5 and it's modules with the same results.
Actually tried running 'apt-get update' then 'apt-get upgrade' then re-attempting to install PHP5 prior to posting this q

The contents of '/etc/apt/sources.list' follows:
Code:
deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## MySQL Update links provided by Falko Timme HowToForge.com (projectfarm.org)
## Must add to sources.list then run apt-get update & apt-get upgrade.
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

deb http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
Looking here I do see a few duplicates that I will get rid of.

Regards
Reply With Quote
  #4  
Old 23rd October 2007, 06:13
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Post

I removed the duplicate entry in '/etc/apt/sources.list', re-ran 'apt-get update' then 'apt-get-upgrade'.

After running those commands though I am still in the same boat, when I attempt to install PHP5 and it's packages- The installation fails with the same error.


Thanking you in advance for your time and help...


Regards
Reply With Quote
  #5  
Old 23rd October 2007, 19:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Why did you add the dotdeb repository to your sources.list? Gutsy comes with MySQL5 and PHP5, so there's no need for the dotdeb packages.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
giganet (23rd October 2007)
  #6  
Old 23rd October 2007, 20:03
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Post

'Why did you add the dotdeb repository to your sources.list?'

Assumptive I guess, I just thought it would be needed as in Dapper...

Anyhow thank you Falko- that resolved my issue and PHP5 is installing smoothly now <@;-)

Regards
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30
perfect install 5.04 isp on desktop image? bspratt Server Operation 5 6th November 2005 14:27


All times are GMT +2. The time now is 22:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.