Page 1 of 1

installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 1:23 am
by helloise
i am running ubuntu 8.04 and php 5.2.4 and when i try to ./symfony propel:build-model OR a build-sql get this:

[propel-sql] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.

how do i step by step fix this please???
i tried to: apt-get install php5-xsl
but got lots of errors!

please help?????

Re: installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 1:27 am
by Weirdan
i tried to: apt-get install php5-xsl
but got lots of errors!
and what those errors were?

Re: installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 1:42 am
by helloise
yikes, have no idea what all this means, please help???

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 libxslt1.1 php5-cli php5-common php5-mysql
The following NEW packages will be installed:
libxslt1.1 php5-xsl
The following packages will be upgraded:
libapache2-mod-php5 php5-cli php5-common php5-mysql
4 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 5571kB of archives.
After this operation, 553kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main php5-cli 5.2.4-2ubuntu5.12
404 Not Found [IP: 10.252.111.96 80]
Get:1 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main libxslt1.1 1.1.22-1ubuntu1.2 [220kB]
Err http://security.ubuntu.com hardy-security/main php5-cli 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-mysql 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main libapache2-mod-php5 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-common 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-xsl 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Fetched 220kB in 0s (689kB/s)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 2_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 2_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 2_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 2_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/ ... 2_i386.deb 404 Not Found [IP: 91.189.92.166 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Re: installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 1:45 am
by Weirdan
do 'sudo apt-get update' before trying to install anything. this will update package lists from server.

Re: installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 2:19 am
by helloise
i ran that and got:

Hit http://us-east-1.ec2.archive.ubuntu.com hardy Release.gpg
Ign http://us-east-1.ec2.archive.ubuntu.com hardy/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com hardy/universe Translation-en_US
Get:1 http://us-east-1.ec2.archive.ubuntu.com hardy-updates Release.gpg [198B]
Ign http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Translation-en_US
Hit http://us-east-1.ec2.archive.ubuntu.com hardy Release
Get:2 http://us-east-1.ec2.archive.ubuntu.com hardy-updates Release [58.5kB]
Hit http://us-east-1.ec2.archive.ubuntu.com hardy/main Packages
Hit http://us-east-1.ec2.archive.ubuntu.com hardy/universe Packages
Hit http://us-east-1.ec2.archive.ubuntu.com hardy/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com hardy/universe Sources
Get:3 http://security.ubuntu.com hardy-security Release.gpg [198B]
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Get:4 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Packages [513kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Packages [260kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Sources [188kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Sources [64.3kB]
Get:8 http://security.ubuntu.com hardy-security Release [58.5kB]
Get:9 http://security.ubuntu.com hardy-security/main Packages [291kB]
Get:10 http://security.ubuntu.com hardy-security/universe Packages [135kB]
Get:11 http://security.ubuntu.com hardy-security/main Sources [113kB]
Get:12 http://security.ubuntu.com hardy-security/universe Sources [29.3kB]
Fetched 1711kB in 2s (797kB/s)
Reading package lists... Done

and still get same problem when trying to build-model and build sql??

Re: installing sudo apt-get install php5-xsl problem

Posted: Tue Feb 22, 2011 2:43 am
by Weirdan
first update package lists: 'sudo apt-get update'
then install any packages you need: 'sudo apt-get install .....'