maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Missing python2.5-cairo (https://talk.maemo.org/showthread.php?t=26080)

TheGogmagog 2009-01-08 09:47

Missing python2.5-cairo
 
This missing package is reqired for both Gcompri and MyTube.
Code:

hildon-application-manager 2.1.19.1
apt-worker: Not handling unrelated package python2.5-bluez.
apt-worker: Not handling unrelated package python2.5-numeric.
E: I wasn't able to locate a file for the python2.5-cairo package. This might mean you need to manually fix this package. (due to missing arch)
apt-worker: Not handling unrelated package python2.5-bluez.
apt-worker: Not handling unrelated package python2.5-numeric.
E: I wasn't able to locate a file for the python2.5-cairo package. This might mean you need to manually fix this package. (due to missing arch)
-----
Installing mytube 0.1.5-1
apt-worker: Not handling unrelated package python2.5-bluez.
apt-worker: Not handling unrelated package python2.5-numeric.
E: I wasn't able to locate a file for the python2.5-cairo package. This might mean you need to manually fix this package. (due to missing arch)


TheGogmagog 2009-01-09 13:53

Re: Missing python2.5-cairo
 
Find damaged dependancies "dpkg -l" tells me
Code:

ii  promo-applet                                      0.2.12-1                                  Maemo desktop Promo Applet
ii  python2.5                                          2.5.2-1osso4                              An interactive high-level object-oriented la
iU  python2.5-bluez                                    0.9.1-1osso2                              Python wrappers around BlueZ
iHR python2.5-cairo                                    1.4.0-1osso2                             
ii  python2.5-dbus                                    0.82-4osso2                                Python wrappers around D-Bus.
ii  python2.5-dispatcher                              0.1.1-maemo2                              Python bindings for Ecore

So Acording to the key at the beginning, iHR, it's Half installed and needs Reinstalled.

So here's what you do.
1) Take note of the missing dependancies.
2) Try step 7, if that doesn't work then try the following steps
3) Find the repository the library resides in and make sure it's active (use search tool at gronmayer).
4) Install the repository from gronmayer or make sure it's enabled in Application Manager.
5) If you are still getting errors make sure there aren't conflicts. For example gronmayer lists extras/devel twice, once for Chinook once for Diablo. For GCompri, I had to install gstreamer0.10-plugins-ivorbis from Chinook, then disable the chinook repository because the rest of the dependancies were in Diablo. Note: Don't install automatic updates while you have the Chinook repository enabled and don't forget to switch back to Diablo.
6) Close Application Manager, it prevents the command line from installing.
7) Enter X terminal commands:
sudo gainroot (Needs rootsh installed)
apt-get autoremove (cleans up unusable and unused packages)
apt-get install python2.5-cairo (should work for any other missing package?)
You should get a few prompts confirming the install or an error message why it didn't.
8) Return to Application Manager and Install your program.

darethehair 2009-01-09 14:07

Re: Missing python2.5-cairo
 
So what happens when you try to (re-)get 'python2.5-cairo'?

For me, it appears to be a valid selection, even though I already have it:

Nokia-N800-23-14:~# apt-get install python2.5-cairo
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-cairo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

When I recently reflashed and re-installed everything, the 'python' packages that I had to re-request were:

python2.5
python2.5-runtime
python2.5-dev
python2.5-gpsbt
python2.5-hildondesktop

Since I did not (apparently) explicitly ask for 'python2.5-cairo', I suppose it was included in one of the other requests.

TheGogmagog 2009-01-14 22:33

Re: Missing python2.5-cairo
 
Quote:

Originally Posted by darethehair (Post 255789)
So what happens when you try to (re-)get 'python2.5-cairo'?

Since I did not (apparently) explicitly ask for 'python2.5-cairo', I suppose it was included in one of the other requests.

I don't know (anything) but would be suprised if it installed after your reflash. You could install gcompri or mytube with just that?
Oddly, here is my re-try of a working installation. Two things are different from yours. 5packages and the 'set to manual' on my first run. I thought it would force an install on the second attempt.
Code:

/home/user # apt-get install python2.5-cairo
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-cairo is already the newest version.
python2.5-cairo set to manual installed.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
/home/user # apt-get install python2.5-cairo
Reading package lists... Done
Building dependency tree
Reading state information... Done
python2.5-cairo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
/home/user #

I don't see a forced install option with apt-get help. You could just apt-get remove python2.5-cairo then re Apt-get install python2.5-cairo if you are stiill having problems.

darethehair 2009-01-15 14:33

Re: Missing python2.5-cairo
 
TheGogmagog:

Nope, I have not installed 'gcompri' or 'mytube', so 'python2.5-cairo' would not have been brought into my tablet from them. I really don't know what else to say -- starting from a fresh re-flash, with no duplicate/messy repositories, and everything seems OK for me :)


All times are GMT. The time now is 21:16.

vBulletin® Version 3.8.8