Hi all,
I had faced the same issues with lawrence.
Here is my Error Log.
root@fog2:~/fog_1.2.0/bin/trunk/bin/trunk/bin# ./installfog.sh
+------------------------------------------+
| ..#######:. ..,#,.. .::##::. |
|.:###### .:;####:......;#;.. |
|...##... ...##;,;##::::.##... |
| ,# ...##.....##:::## ..:: |
| ## .::###,,##. . ##.::#.:######::.|
|...##:::###::....#. .. .#...#. #...#:::. |
|..:####:.. ..##......##::## .. # |
| # . ...##:,;##;:::#: ... ##.. |
| .# . .:;####;::::.##:::;#:.. |
| # ..:;###.. |
| |
+------------------------------------------+
| Free Computer Imaging Solution |
+------------------------------------------+
| Credits: http://fogproject.org/Credits |
| http://fogproject.org/Credits |
| Released under GPL Version 3 |
+------------------------------------------+
Version: 8329 Installer/Updater
* Found FOG Settings from previous install at: /opt/fog/.fogsettings
* Performing upgrade using these settings
Starting Debian based Installation
######################################################################
# FOG now has everything it needs for this setup, but please #
# understand that this script will overwrite any setting you may #
# have setup for services like DHCP, apache, pxe, tftp, and NFS. #
######################################################################
# It is not recommended that you install this on a production system #
# as this script modifies many of your system settings. #
######################################################################
# This script should be run by the root user. #
# It will prepend the running with sudo if root is not set #
######################################################################
# ** Notice ** FOG is difficult to setup securely #
# SELinux and IPTables are usually asked to be disabled #
# There have been strides in adding capabilities #
# The recommendations would now be more appropriate #
# to set SELinux to permissive and to disable firewall for now. #
# You can find some methods to enable SELinux and maintain firewall #
# settings and ports. If you feel comfortable doing so please do #
######################################################################
# Please see our wiki for more information at: #
######################################################################
# https://wiki.fogproject.org/wiki/index.php #
######################################################################
* Here are the settings FOG will use:
* Base Linux: Debian
* Detected Linux Distribution: Ubuntu
* Server IP Address: 192.168.0.20
* Server Subnet Mask:
* Interface: eth0
* Installation Type: Normal Server
* Donate: 1
* Internationalization: 0
* Image Storage Location: /images
* Using FOG DHCP: No
* DHCP will NOT be setup but you must setup your
| current DHCP server to use FOG for PXE services.
* On a Linux DHCP server you must set: next-server and filename
* On a Windows DHCP server you must set options 066 and 067
* Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.0.20)
* Option 067/filename is the bootfile: (e.g. undionly.kpxe)
* Are you sure you wish to continue (Y/N) Y
* Installation Started
* Installing required packages, if this fails
| make sure you have an active internet connection.
* Adding needed repository....................................OK
* Preparing Package Manager...................................OK
* Packages to be installed:
apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5
* Skipping package: apache2...................................(Already Installed)
* Skipping package: php5......................................(Already Installed)
* Installing package: php5-json...............................OK
* Skipping package: php5-gd...................................(Already Installed)
* Skipping package: php5-cli..................................(Already Installed)
* Skipping package: php5-curl.................................(Already Installed)
* Skipping package: mysql-server..............................(Already Installed)
* Skipping package: mysql-client..............................(Already Installed)
* Skipping package: tftpd-hpa.................................(Already Installed)
* Skipping package: tftp-hpa..................................(Already Installed)
* Skipping package: nfs-kernel-server.........................(Already Installed)
* Skipping package: vsftpd....................................(Already Installed)
* Skipping package: net-tools.................................(Already Installed)
* Skipping package: wget......................................(Already Installed)
* Skipping package: xinetd....................................(Already Installed)
* Skipping package: sysv-rc-conf..............................(Already Installed)
* Skipping package: tar.......................................(Already Installed)
* Skipping package: gzip......................................(Already Installed)
* Skipping package: build-essential...........................(Already Installed)
* Skipping package: cpp.......................................(Already Installed)
* Skipping package: gcc.......................................(Already Installed)
* Skipping package: g++.......................................(Already Installed)
* Skipping package: m4........................................(Already Installed)
* Skipping package: htmldoc...................................(Already Installed)
* Skipping package: lftp......................................(Already Installed)
* Skipping package: openssh-server............................(Already Installed)
* Skipping package: php-gettext...............................(Already Installed)
* Installing package: php5-mcrypt.............................OK
* Installing package: php5-mysqlnd............................OK
* Skipping package: curl......................................(Already Installed)
* Skipping package: libc6.....................................(Already Installed)
* Skipping package: libcurl3..................................(Already Installed)
* Skipping package: zlib1g....................................(Already Installed)
* Installing package: php5-fpm................................OK
* Installing package: libapache2-mod-php5.....................Failed!
root@fog2:~/fog_1.2.0/bin/trunk/bin/trunk/bin# ^C
root@fog2:~/fog_1.2.0/bin/trunk/bin/trunk/bin# cd error_logs/
root@fog2:~/fog_1.2.0/bin/trunk/bin/trunk/bin/error_logs# ls
fog_error_8329.log foginstall.log
root@fog2:~/fog_1.2.0/bin/trunk/bin/trunk/bin/error_logs# view fog_error_8329.log
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libapparmor1 amd64 2.7.102-0ubuntu3.10 [37.3 kB]
Fetched 2,798 kB in 8s (317 kB/s)
Selecting previously unselected package libapparmor1.^M
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 58067 files and directories currently installed.)^M
Unpacking libapparmor1 (from .../libapparmor1_2.7.102-0ubuntu3.10_amd64.deb) ...^M
Selecting previously unselected package php5-fpm.^M
Unpacking php5-fpm (from .../php5-fpm_5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~precise+1_amd64.deb) ...^M
Processing triggers for man-db ...^M
Processing triggers for ureadahead ...^M
Setting up libapparmor1 (2.7.102-0ubuntu3.10) ...^M
Setting up php5-fpm (5.6.23+dfsg-1+deprecated+dontuse+deb.sury.org~precise+1) ...^M
^M
Creating config file /etc/php5/fpm/php.ini with new version^M
php5_invoke: Enable module mysqli for fpm SAPI^M
php5_invoke: Enable module pdo for fpm SAPI^M
php5_invoke: Enable module pdo_mysql for fpm SAPI^M
php5_invoke: Enable module json for fpm SAPI^M
php5_invoke: Enable module opcache for fpm SAPI^M
php5_invoke: Enable module mysqlnd for fpm SAPI^M
php5_invoke: Enable module mysql for fpm SAPI^M
php5_invoke: Enable module mcrypt for fpm SAPI^M
php5_invoke: Enable module curl for fpm SAPI^M
php5_invoke: Enable module gd for fpm SAPI^M
php5-fpm start/running, process 22824^M
Processing triggers for libc-bin ...^M
ldconfig deferred processing now taking place^M
libapache2-mod-php5
libapache2-mod-php5filter
Reading package lists...
Building dependency tree...
Reading state information...
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:
libapache2-mod-php5 : Depends: apache2-api-20120211 but it is not installable
Depends: apache2 (>= 2.4)
E: Unable to correct problems, you have held broken packages.