This is the dpkg output when trying to install mysql-common...
Nokia-N800-50-2:/media/mmc1/Mythtv debs# dpkg -D400 --install ./mysql-common_5.0.32-7chinook1_all.deb
Selecting previously deselected package mysql-common.
(Reading database ... 20997 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.0.32-7chinook1_all.deb) ...
dpkg (subprocess): unable to execute new pre-installation script: No such file or directory
dpkg: error processing ./mysql-common_5.0.32-7chinook1_all.deb (--install):
subprocess pre-installation script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
./mysql-common_5.0.32-7chinook1_all.deb
Nokia-N800-50-2:/media/mmc1/Mythtv debs#
and everything works fine, so I can't seem to repeat this bug :-S. Can anyone else? I've even checked the md5sum of the package I'm installing vs the one on the garage file releases, and they are identical.
Please post here if you have a successful install.
gazza_d: are you installing as root? I've only tested it as root, you must install gainroot and then in a terminal login as root with "sudo gainroot". Also try creating /etc/mysql, although I really don't think that's the problem. You should be able to install the other packages and use mythtv even with that error, but apt-get is going to complain that it hasn't finished configuring.
thanks for your efforts Yani. yes I am installing as root.
I have tried installing libmysqlclient15off forcing no-dependencies, as normally that wil not install due to no mysql-common, but that then fails with a post-install script error.
I have also tried copying the files to /home/use before installing them, as currently they are on a SD card.
Just tried it with your command string to see if it would just skip over the errors and install anyways.
Libxinerama1 and libxxf86vm1 need to be installed, as they are listed as dependancies of mythtv-frontend.
Thanks, I'll add those to the list. BTW I just re-created the problem on a clean install of OS2008, I think it was because the package I ported was a backport of mysql 5, and expects to be upgrading mysql 4. I'm going to remove the mysql-common dependency since you don't need it (it just makes /etc/mysql/my.cnf) for now, and update the libmysqlclient15off package.
Great Yani, at least I'm not turning mad or stupid :-)!
Can you please check libmysqlclient15off on a clean install before uploading, as I've been having problems, but it could be just the dependancy causing trouble, or it could be the backport.
Can you please check libmysqlclient15off on a clean install before uploading, as I've been having problems, but it could be just the dependancy causing trouble, or it could be the backport.
You'll probably have to run the following to remove the mysql-common problems (and for any other package that it complains it can't find a package for when you try to remove it)
I'm going to modify the libqt3-mt-mysql package so it depends on libmysqlclient15 instead of libmysqlclient15off, which is as it should, and that should allow us to use one of the available ports of libmysqlclient15 which are out there already such as: