Active Topics

 


Reply
Thread Tools
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#11
Originally Posted by slartibartfass View Post
I posted a possible solution here:
http://talk.maemo.org/showpost.php?p...1&postcount=56
It doesn't work for me:

Code:
Nokia-N900:~# apt-get remove libsdl-ttf2.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsdl-ttf2.0 is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  python-pygame: Depends: libsdl-ttf2.0 (>= 2.0.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nokia-N900:~# apt-get remove python-pygame
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  destroid: Depends: python-pygame but it is not going to be installed
  flobby: Depends: python-pygame but it is not going to be installed
  python-runtime: Depends: python-pygame (>= 1.7.1release-4.2maemo1) but it is not going to be installed
  reactionfaceoff: Depends: python-pygame but it is not going to be installed
  vuvuzela: Depends: python2.5-pygame
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libsdl-ttf2.0
The following NEW packages will be installed:
  libsdl-ttf2.0
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
2 not fully installed or removed.
Need to get 0B/13,5kB of archives.
After this operation, 77,8kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
Nokia-N900:~# apt-get remove destroid flobby python-runtime  reactionfaceoff vuvuzela
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  maemo-python-device-env: Depends: python-runtime (>= 1.0-9) but it is not going to be installed
  python-pygame: Depends: libsdl-ttf2.0 (>= 2.0.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
Posts: 62 | Thanked: 6 times | Joined on Apr 2010
#12
Originally Posted by DaSilva View Post
It doesn't work for me:
What I did was purge (see above for command) all apllications that are not configured.

Took me some hours, but now the N900 is 'clean' again: no errors in X-Terminal anymore.

You do have to reinstall every - needed - purged application of course.

(You don't want to reinstall the applications that were - possible - cause of the conflicts)
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#13
With the update of libsdl-ttf.2.0-0 the problem was solved and I solved it with apt-get remove <every package with the dependency>

https://garage.maemo.org/pipermail/p...st/001506.html
 
Posts: 2 | Thanked: 16 times | Joined on Aug 2010 @ Belgium
#14
 

The Following 2 Users Say Thank You to vStone For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#15
Same problem for me and after a few apt magic I was able to resolve the dependency mess.

But now I have reinstalled python-pygame in order to run Maelophone, Maesynth and Destroids, but none of them work correctly. They all are installed, no broken packages but close after launch.

When I try to run them form terminal with python /path/program_name.py I receive this traceback:

Code:
~ $ python /opt/maesynth/maesynth.py
Traceback (most recent call last):
File "/opt/maesynth/maesynth.py", line 6, in <module>
from soundstub import MainWindow
File "/opt/maesynth/soundstub.py", line 7, in <module>
from pygame import mixer, init as pginit, error as pgerror, get_error as pgget_error
File "/usr/lib/python2.5/site-packages/pygame/__init__.py", line 254, in <module>
try: import pygame.sndarray
File "/usr/lib/python2.5/site-packages/pygame/sndarray.py", line 66, in <module>
import pygame._numpysndarray as numpysnd
File "/usr/lib/python2.5/site-packages/pygame/_numpysndarray.py", line 38, in <module>
import numpy
File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 132, in <module>
import add_newdocs
File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in <module>
from lib import add_newdoc
File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 13, in <module>
from polynomial import *
File "/usr/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 11, in <module>
import numpy.core.numeric as NX
AttributeError: 'module' object has no attribute 'core'

Last edited by ivgalvez; 2010-08-06 at 06:54.
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#16
@ivgalvez:

I have the same problem..

Anyone got a solution?
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#17
It seems that everyone is on holidays...
 
Posts: 80 | Thanked: 95 times | Joined on Aug 2010
#18
 

The Following User Says Thank You to zylor For This Useful Post:
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#19
Thanks, I already managed to solve the dependency issue as I said in earlier posts, but all pygame applications now crash even if the package is installed.
 
Posts: 85 | Thanked: 15 times | Joined on Sep 2010
#20
I have been getting the same error no matter what i try, and i am getting tired of it. I can't install or uninstall anything with Fast Application Manager, or with the default AppMan.

I followed the instructions here:
http://talk.maemo.org/showpost.php?p...1&postcount=56

And here:
http://talk.maemo.org/showpost.php?p=777400&postcount=5

Here is my output:
Code:
Nokia-N900:/home# dpkg --force-all -r libsdl-ttf2.0-0
(Reading database ... 35207 files and directories currently installed.)
Removing libsdl-ttf2.0-0 ...
Nokia-N900:/home# dpkg --force-all -r libsdl-ttf2.0
dpkg - warning: ignoring request to remove libsdl-ttf2.0 which isn't installed.
Nokia-N900:/home# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libsdl-ttf2.0 libsdl-ttf2.0-0
The following NEW packages will be installed:
  libsdl-ttf2.0 libsdl-ttf2.0-0
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
154 not fully installed or removed.
Need to get 16.0kB/29.5kB of archives.
After this operation, 156kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://repository.maemo.org fremantle-1.2/free libsdl-ttf2.0-0 2.0.9-1maemo2 [16.0kB]
Fetched 16.0kB in 0s (105kB/s)
Selecting previously deselected package libsdl-ttf2.0-0.
(Reading database ... 35200 files and directories currently installed.)
Unpacking libsdl-ttf2.0-0 (from .../libsdl-ttf2.0-0_2.0.9-1maemo2_armel.deb) ...
Unpacking libsdl-ttf2.0 (from .../libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb (--unpack):
 trying to overwrite `/usr/lib/libSDL_ttf-2.0.so.0.6.3', which is also in package libsdl-ttf2.0-0
Errors were encountered while processing:
 /var/cache/apt/archives/libsdl-ttf2.0_2.0.9-1osso0+0m5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have even tried uninstalling python-pygame, the games that depend on it, and everything else that depended on this stupid broken lib, but non of it work. I just get that stupid error over and over and over.

Help?
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:03.