Hi,
While performing this Makefile:
and when getting tot the piece:
"dab task php" I get following error:
dab task php
install: libt1-5
install: php5-common
install: php5-cli
install: libjpeg62
install: php5-gd
install: apache2-mpm-prefork
install: libapache2-mod-php5
install: libgd2-xpm
install: php5
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /libt1-5_5.1.2-3_i386.deb /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /php5-cli_5.2.6.dfsg.1-1+lenny4_i386.deb /libjpeg62_6b-14_i386.deb /php5-gd_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /libgd2-xpm_2.0.36~rc1~dfsg-3+lenny1_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
When replacing "dab task php" with "dab install php5" same thing happens:
shn:/home/smilie/proxmox_related/dab_appliance/creation/debian-5.0-lamp# dab install php5
install: php5-common
install: apache2-mpm-prefork
install: libapache2-mod-php5
install: php5
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
Will now test to see if this template is gonna work...
Cheers,
Aleks
While performing this Makefile:
Code:
BASEDIR:=$(shell dab basedir)
all: info/init_ok
dab bootstrap
# Install Apache2, MySQL and PHP
dab install apache2
dab task mysql --password=random
dab task php
dab install php5-mysql
dab finalize
mv debian-5.0-lamp_5.0-3_i386.tar.gz /var/lib/vz/template/cache/.
info/init_ok: dab.conf
dab init
touch $@
.PHONY: clean
clean:
dab clean
rm -f *~
and when getting tot the piece:
"dab task php" I get following error:
dab task php
install: libt1-5
install: php5-common
install: php5-cli
install: libjpeg62
install: php5-gd
install: apache2-mpm-prefork
install: libapache2-mod-php5
install: libgd2-xpm
install: php5
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /libt1-5_5.1.2-3_i386.deb /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /php5-cli_5.2.6.dfsg.1-1+lenny4_i386.deb /libjpeg62_6b-14_i386.deb /php5-gd_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /libgd2-xpm_2.0.36~rc1~dfsg-3+lenny1_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
When replacing "dab task php" with "dab install php5" same thing happens:
shn:/home/smilie/proxmox_related/dab_appliance/creation/debian-5.0-lamp# dab install php5
install: php5-common
install: apache2-mpm-prefork
install: libapache2-mod-php5
install: php5
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
command 'vzctl exec2 90000 defenv dpkg --force-depends --force-confold --install /php5-common_5.2.6.dfsg.1-1+lenny4_i386.deb /apache2-mpm-prefork_2.2.9-10+lenny6_i386.deb /libapache2-mod-php5_5.2.6.dfsg.1-1+lenny4_i386.deb /php5_5.2.6.dfsg.1-1+lenny4_all.deb' failed with exit code 1
Will now test to see if this template is gonna work...
Cheers,
Aleks