maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Python (Hildon Desktop) Error (https://talk.maemo.org/showthread.php?t=18844)

Khertan 2008-04-21 06:00

Re: Python (Hildon Desktop) Error
 
Hum : to explain.

Old home* applet packages depends on python-hildondesktop.

But the new one (0.0.6) depends on python2.5-hildondesktop.

So if u install it by maemo.org with the install file it should be ok.

ShyBoy 2008-04-21 13:36

Re: Python (Hildon Desktop) Error
 
i have completely removed both hildondesktop
and then try to install it one by one, and that didn't help either.

see the results below.

Code:

Nokia-N800-51-3:/# apt-get install python-hildondesktop
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  python-hildondesktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/48.6kB of archives.
After unpacking 225kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  python-hildondesktop
Install these packages without verification [y/N]? y
Selecting previously deselected package python-hildondesktop.
(Reading database ... 25532 files and directories currently installed.)
Unpacking python-hildondesktop (from .../python-hildondesktop_0.0.2-1_armel.deb)                                                                              ...
Setting up python-hildondesktop (0.0.2-1) ...
Nokia-N800-51-3:/# apt-get install python2.5-hildondesktop
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  python2.5-hildondesktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/48.9kB of archives.
After unpacking 217kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  python2.5-hildondesktop
Install these packages without verification [y/N]? y
(Reading database ... 25542 files and directories currently installed.)
Unpacking python2.5-hildondesktop (from .../python2.5-hildondesktop_0.0.2-1_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb (--unpack):
 trying to overwrite `/usr/lib/python2.5/site-packages/hildondesktop.la', which is also in package python-hildondesktop
Errors were encountered while processing:
 /var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N800-51-3:/#

I am sure that I am not doing anything wrong, but whats wrong then? is this is the wrong package?

ShyBoy 2008-04-21 17:19

Re: Python (Hildon Desktop) Error
 
I think I am overwriting the lib, is that possible that two lib using the same name?

that's just a though but now sure how to fix.

Also I realize that my xournal is gone too, and can't re-install as it also throw the same error on libart2.0-2

yerga 2008-04-21 18:36

Re: Python (Hildon Desktop) Error
 
you are installing python-hildondesktop and then installing python2.5-hildondesktop.

you should do, apt-get remove python-hildondesktop and then apt-get install python2.5-hildondesktop

ShyBoy 2008-04-21 18:57

Re: Python (Hildon Desktop) Error
 
Quote:

Originally Posted by yerga (Post 172701)
you are installing python-hildondesktop and then installing python2.5-hildondesktop.

you should do, apt-get remove python-hildondesktop and then apt-get install python2.5-hildondesktop



That works great,
based on what "Khertan" said: I was thinking that first the python-hildondesktop and then python2.5-hildondesktop needs to be installed.

but you cleared it, and that solved the problem.

Thanks.

jdm 2008-04-25 20:43

Re: Python (Hildon Desktop) Error
 
Based on the very helpful posts on this thread, I was able to add the proper repository, then apt-get remove python-hildondesktop, and then the apt-get install python2.5-hildondesktop,
but I got the following error:

Nokia-N810-51-3:~# apt-get install python2.5-hildondesktop
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
python2.5-hildondesktop
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
4 not fully installed or removed.
Need to get 48.9kB of archives.
After unpacking 217kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
python2.5-hildondesktop
Install these packages without verification [y/N]? y
Get:1 http://repository.maemo.org chinook/free python2.5-hildondesktop 0.0.2-1 [48.9kB]
Fetched 48.9kB in 14s (3422B/s)
(Reading database ... 24764 files and directories currently installed.)
Unpacking python2.5-hildondesktop (from .../python2.5-hildondesktop_0.0.2-1_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/hildondesktop.la', which is also in package python-hildondesktop
Errors were encountered while processing:
/var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N810-51-3:~#

What is the resolution for this error?

yerga 2008-04-25 21:44

Re: Python (Hildon Desktop) Error
 
Same, you first need remove python-hildondesktop and then install python2.5-hildondesktop.

jdm 2008-04-25 22:39

Re: Python (Hildon Desktop) Error
 
Well, since, I have:
1 - apt-get remove python2.5-hildondesktop
[Package python2.5-hildondesktop is not installed, so not removed]
[complained about unmet dependencies]
[recommended running apt-get -f install (no package) to correct]
2 - apt-get remove python-hildondesktop
[complained about unmet dependencies]
[recommended running apt-get -f install (no package) to correct]
3 - apt-get -f install (with no package)
[Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
python2.5-hildondesktop
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
4 not fully installed or removed.
Need to get 0B/48.9kB of archives.
After unpacking 217kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
python2.5-hildondesktop
Install these packages without verification [y/N]? y
(Reading database ... 24764 files and directories currently installed.)
Unpacking python2.5-hildondesktop (from .../python2.5-hildondesktop_0.0.2-1_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb (--unpack):
trying to overwrite `/usr/lib/python2.5/site-packages/hildondesktop.la', which is also in package python-hildondesktop
Errors were encountered while processing:
/var/cache/apt/archives/python2.5-hildondesktop_0.0.2-1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)]

So, I'm back to my original problem.
Anyone have a recommendation?

yerga 2008-04-26 08:07

Re: Python (Hildon Desktop) Error
 
Please, write the complete output in the second step. It seems it isn't uninstalling python-hildondesktop.

ShyBoy 2008-04-26 09:57

Re: Python (Hildon Desktop) Error
 
Quote:

1. apt-get remove python-hildondesktop

2. apt-get remove python2.5-hildondesktop

3. apt-get -f install ( I usually use upgrade)

4. apt-get install python2.5-hildondesktop

thats it, you should have it now..


All times are GMT. The time now is 11:07.

vBulletin® Version 3.8.8