Wow, im surprised nobody posted a step by step guide to fix this, it totally screwed up my mail server when trying to upgrade, and then took while to figure out how to fix it.
Here it goes:
download the 11.0.4 debian tarball, then extract it
Code: Select all
tar -zxvf scalix-11.0.4-GA-debian-intel.tgz
cd scalix-debian-11.0.4-GA/software/scalix_server/
ar x scalix-tomcat_5.5.16-263_all.deb
tar -zxvf control.tar.gz
delete the close parenthesis ')' at the end of line 21, save it.
Code: Select all
tar -czf control.tar.gz control conffiles md5sums postinst postrm prerm
ar -q scalix-tomcat.deb debian-binary control.tar.gz data.tar.gz
now the deb package is repacked! lets clean things up and get it ready for the etch install script....
Code: Select all
rm -rf conffiles control control.tar.gz data.tar.gz debian-binary postinst prerm postrm md5sums scalix-tomcat_5.5.16-263_all.deb
mv scalix-tomcat.deb scalix-tomcat_5.5.16-263_all.deb
cd ../../../
rm -rf scalix-11.0.4-GA-debian-intel.tgz && tar -czf scalix-11.0.4-GA-debian-intel.tgz scalix-debian-11.0.4-GA/
Now in the etch install script, comment out the wget line so it doesn't fetch the tarball, run the script from the same directory as the tarball and your golden.
# Download Scalix 11
#cd /tmp/
#wget -N $scalix11downloadurl
I don't understand why the Scalix guys are still distributing the broken tarball... But I hope they will fix it after this post.
-Greg
--
Greg Martin
Econet - Sentinel IPS
http://www.networkcloaking.com