PDA

View Full Version : problem installing pyqt4 on FREMANTLE_ARMEL


agathe
2010-06-09, 23:44
I first installed the nokia-binaries, then i tried to installed python2.5-qt4-dev-tools.
I got some errors, and when i try now to do
apt-get install -f, I get this:

Thanks for any help

Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following extra packages will be installed:
libqt4-gui libqt4-webkit libqt4-xmlpatterns
The following NEW packages will be installed:
libqt4-gui libqt4-webkit libqt4-xmlpatterns
0 upgraded, 3 newly installed, 0 to remove and 28 not upgraded.
40 not fully installed or removed.
Need to get 0B/12.7MB of archives.
After this operation, 36.0MB of additional disk space will be used.
Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated!
libqt4-gui libqt4-xmlpatterns libqt4-webkit
Install these packages without verification [y/N]? (Reading database ... 18617 files and directories currently installed.)
Unpacking libqt4-gui (from .../libqt4-gui_4.6.2~git20100401-0maemo1+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libqt4-gui_4.6.2~git20100401-0maemo1+0m5_armel.deb (--unpack):
trying to overwrite `/opt', which is also in package base-files
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libqt4-xmlpatterns (from .../libqt4-xmlpatterns_4.6.2~git20100401-0maemo1+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libqt4-xmlpatterns_4.6.2~git20100401-0maemo1+0m5_armel.deb (--unpack):
trying to overwrite `/opt', which is also in package base-files
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libqt4-webkit (from .../libqt4-webkit_4.6.2~git20100401-0maemo1+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libqt4-webkit_4.6.2~git20100401-0maemo1+0m5_armel.deb (--unpack):
trying to overwrite `/opt', which is also in package base-files
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libqt4-gui_4.6.2~git20100401-0maemo1+0m5_armel.deb
/var/cache/apt/archives/libqt4-xmlpatterns_4.6.2~git20100401-0maemo1+0m5_armel.deb
/var/cache/apt/archives/libqt4-webkit_4.6.2~git20100401-0maemo1+0m5_armel.deb

attila77
2010-06-11, 17:21
Interesting. This is not related to PyQt, but a mismatch between the SDK and the Qt version you’re installing. Did you update the SDK to the latest version or tinker with base-files ? The base-files package in my SDK does NOT contain the /opt directory. I would recommend removing PyQt, doing an update/upgrade of the SDK and THEN install PyQt.