subprocess post-installation script returned error exit status 10But it can be hacked to work. The following steps need to be made:
- Add buildix to you app sources just like its shown here
- Run apt-get install buildix and wait for install to fail
- Open /var/lib/dpkg/info/buildix.postinst in our favorite editor and comment out there lines
# Get the port that Mingle is using
. /usr/share/debconf/confmodule
db_get mingle/port
MINGLE_PORT=${RET}
db_stop
ed -s /etc/apache2/sites-available/buildix << END
,s/localhost\:\(.*\)\/mingle/localhost\:${MINGLE_PORT}\/mingle/g
,s/}:[0-9]\+/}:${MINGLE_PORT}/g
w
END
- Change a2enmod mod_python to a2enmod python
- Download trac extract archive then copy folder contrib to /usr/share/doc/trac/ and folder cgi-bin to /usr/share/trac/
in /usr/share/doc/trac/contrib run gzip trac-pre-commit-hook
- Run aptitude install buildix again this time it should finish properly.
- Navigate your browser to http://localhost/
- Login with username:buildix password:buildix, open config
- Uncheck enabled checkbox under Mingle options, click save.
Buildix 2.1 doesn't play well with Track 0.11 so you need to modify /usr/share/buildix/lib/buildix/modules/trac.py Find line
_execCmd("trac-admin " + trac + " initenv " + name + " sqlite:db/trac.db svn " + repo + " /usr/share/trac/templates",and change it to
"Error creating Trac Project: ")
_execCmd("trac-admin " + trac + " initenv " + name + " sqlite:db/trac.db svn " + repo,
"Error creating Trac Project: ")
and comment out this line
_execCmd("trac-admin " + trac + " permission add anonymous CRUISECONTROL_VIEW", "Error enabling Trac-CC")
restart apache
/etc/init.d/apache2 restart
Buildix should work properly. Have fun :)