Active Topics

 



Notices


Reply
Thread Tools
Posts: 35 | Thanked: 18 times | Joined on Dec 2007
#11
It's in one of the extra repositories for 2008, but I have no idea which one, so I've added it to the file list on the garage project site.
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#12
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#

hop this helps..
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#13
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#14
Nah, afraid adduser has not fixed it. Still getting the error as described above. A powercycle has not done anything either.

Cheers

Gaz
 
Posts: 35 | Thanked: 18 times | Joined on Dec 2007
#15
I've tried removing all associated packages, and all the mysql/mythtv users & config from my n810:

apt-get remove mysql-common libmysqlclient15off libqt3-mt libqt3-mt-mysql libmyth-0.21 mythtv-common mythtv-frontend mythtv-themes
userdel mythtv
groupdel mythtv
rm -rf /etc/mysql/ /etc/mythtv/

and then re-installing with the following command:

dpkg -i mysql-common_5.0.32-7chinook1_all.deb libmysqlclient15off_5.0.32-7chinook1_armel.deb libqt3-mt_3.3.7-4chinook1_armel.deb libqt3-mt-mysql_3.3.7-4chinook1_armel.deb libmyth-0.21_0.21-maemo0_armel.deb mythtv-common_0.21-maemo0_all.deb mythtv-frontend_0.21-maemo0_armel.deb mythtv-themes_0.21-0.0_all.deb

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.

Last edited by yani; 2008-03-25 at 05:44.
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#16
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.
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#17
Yani

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.

below is the dpkg output...

Nokia-N800-50-2:/media/mmc1/Mythtv debs# dpkg -i mysql-common_5.0.32-7chinook1_all.deb libmysqlclient15off_5.0.32-7chinook1_armel.deb libqt3-mt_3.3.7-4chinook1_armel.deb libqt3-mt-mysql_3.3.7-4chinook1_armel.deb libmyth-0.21_0.21-maemo0_armel.deb mythtv-common_0.21-maemo0_all.deb mythtv-frontend_0.21-maemo0_armel.deb mythtv-themes_0.21-0.0_all.deb
Selecting previously deselected package mysql-common.
(Reading database ... 21064 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
Preparing to replace libmysqlclient15off 5.0.32-7chinook1 (using libmysqlclient15off_5.0.32-7chinook1_armel.deb) ...
Unpacking replacement libmysqlclient15off ...
Selecting previously deselected package libqt3-mt.
Unpacking libqt3-mt (from libqt3-mt_3.3.7-4chinook1_armel.deb) ...
Selecting previously deselected package libqt3-mt-mysql.
Unpacking libqt3-mt-mysql (from libqt3-mt-mysql_3.3.7-4chinook1_armel.deb) ...
Selecting previously deselected package libmyth-0.21.
Unpacking libmyth-0.21 (from libmyth-0.21_0.21-maemo0_armel.deb) ...
Selecting previously deselected package mythtv-common.
Unpacking mythtv-common (from mythtv-common_0.21-maemo0_all.deb) ...
Selecting previously deselected package mythtv-frontend.
Unpacking mythtv-frontend (from mythtv-frontend_0.21-maemo0_armel.deb) ...
dpkg: error processing mythtv-themes_0.21-0.0_all.deb (--install):
cannot access archive: No such file or directory
dpkg: dependency problems prevent configuration of libmysqlclient15off:
libmysqlclient15off depends on mysql-common (>= 5.0.32-7chinook1); however:
Package mysql-common is not installed.
dpkg: error processing libmysqlclient15off (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt3-mt:
libqt3-mt depends on libxinerama1; however:
Package libxinerama1 is not installed.
dpkg: error processing libqt3-mt (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt3-mt-mysql:
libqt3-mt-mysql depends on libmysqlclient15off (>= 5.0.27-1); however:
Package libmysqlclient15off is not configured yet.
libqt3-mt-mysql depends on libqt3-mt (>= 3:3.3.7); however:
Package libqt3-mt is not configured yet.
libqt3-mt-mysql depends on libxinerama1; however:
Package libxinerama1 is not installed.
dpkg: error processing libqt3-mt-mysql (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libmyth-0.21:
libmyth-0.21 depends on libqt3-mt (>= 3:3.3.7); however:
Package libqt3-mt is not configured yet.
libmyth-0.21 depends on libxinerama1; however:
Package libxinerama1 is not installed.
libmyth-0.21 depends on libxxf86vm1; however:
Package libxxf86vm1 is not installed.
libmyth-0.21 depends on libqt3-mt-mysql | libqt3c102-mt-mysql; however:
Package libqt3-mt-mysql is not configured yet.
Package libqt3c102-mt-mysql is not installed.
dpkg: error processing libmyth-0.21 (--install):
dependency problems - leaving unconfigured
Setting up mythtv-common (0.21-maemo0) ...

dpkg: dependency problems prevent configuration of mythtv-frontend:
mythtv-frontend depends on libmyth-0.21 (>= 0.21); however:
Package libmyth-0.21 is not configured yet.
mythtv-frontend depends on libqt3-mt (>= 3:3.3.7); however:
Package libqt3-mt is not configured yet.
mythtv-frontend depends on libxinerama1; however:
Package libxinerama1 is not installed.
mythtv-frontend depends on libxxf86vm1; however:
Package libxxf86vm1 is not installed.
dpkg: error processing mythtv-frontend (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-common_5.0.32-7chinook1_all.deb
mythtv-themes_0.21-0.0_all.deb
libmysqlclient15off
libqt3-mt
libqt3-mt-mysql
libmyth-0.21
mythtv-frontend
Nokia-N800-50-2:/media/mmc1/Mythtv debs#
 
Posts: 35 | Thanked: 18 times | Joined on Dec 2007
#18
Originally Posted by gazza_d View Post
Yani

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.
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#19
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.

cheers

Gaz
 
Posts: 35 | Thanked: 18 times | Joined on Dec 2007
#20
Originally Posted by gazza_d View Post
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)

dpkg --remove --force-remove-reinstreq mysql-common

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:

http://sourceforge.net/project/showf...kage_id=225202

at least until I work out what I screwed up with my packages!

Last edited by yani; 2008-03-25 at 11:40.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:13.