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)

markdk 2008-04-07 23:47

Python (Hildon Desktop) Error
 
I am currently having some problems installing applications that are apparently written using Python. Any time I try to get them installed I get an error from the installer indicating "Some application packages required for the installation are missing" and the details show "python-hildondesktop". I have look through several forum posting and tried what was suggested, but have not had any luck. Is there a distribution package that will install the missing package? Thanks.

here.david 2008-04-08 01:01

Re: Python (Hildon Desktop) Error
 
same here..."python-hildondesktop" needed yet does not show up in Maemo search or here or apt-get install python-hildondesktop from root...

Laughing Man 2008-04-08 01:13

Re: Python (Hildon Desktop) Error
 
It's in the maemo extras-deval repo.

here.david 2008-04-08 03:22

Re: Python (Hildon Desktop) Error
 
1 Attachment(s)
In hopes of starting a user friendly and less time spent by everyone...

when folks state they are unable to do something...such as can not install and/or missing items ...IF YOU SAY IT IS INSTALLED, "they may not come" a poor play on "If you build it they will come"
:D bad humor is my strong suit...

Would be very helpful if NO ans was given OR test it out and show what steps are needed...OR maybe we need two IT forums...one for PROs and one for those of us newbies....when replying to newbies I would like to suggest the following...yea I know the newbies mostly likely will not be able to give this much information HOWEVER, if one state it is so, IMHO, they really need to go the distance....yea more of the movie line....:rolleyes:


# apt-get install python-hildondesktop

Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package python-hildondesktop

here is what I have done to date:

A. download the debs
B. install the debs - NOT WORKING
C. spent hours reading different items in the posts
D. got the hildon-desktop-python-loader by apt-get
E. see above

As has been said many times by many folks..."Maybe it is just that the documentation isn't clear or people can't find out where it is?" so stating just use the extras-devel repository as listed all over the place yet it is only a very small, small, small and IMHO unhelpful....time drag on many folks....and runs some folks away from these wonderful times...

here is what is needed IMHO....that or do not answer...use the extras-devel repository

TESTING MAEMO EXTRAS
http://repository.maemo.org/extras-devel/
chinook
free

bunanson 2008-04-08 04:03

Re: Python (Hildon Desktop) Error
 
Maybe it is in some repo, but that is the way I did it yesterday....
go www.khertan.net, click download (Top menu choice #5), and dl python-hildondesktop 0.0.2 something like that, to your document folder (or mmc whatever you like).

fire up xterm, become root (sudo gainroot), and cd to your folder,

say you dl to the default document:

get online
xterm
sudo gainroot
cd ~/Mydocs/.documents
(turn off app manager)
dpkg -i python-hildondesktop_0.0.2.1_armel.deb

you got hildondesktop installed.


post if question,


bun

here.david 2008-04-08 16:32

Re: Python (Hildon Desktop) Error
 
Sorry not working...any ideas...

BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N810-51-3:~# whoami
root

Nokia-N810-51-3:/# cd ~/Mydocs/.documents
-sh: cd: can't cd to /root/Mydocs/.documents

Nokia-N810-51-3:/# ls
bin dev home media proc srv usr
boot etc initrd mnt root sys var
cdrom floppy lib opt sbin tmp

Nokia-N810-51-3:/# cd home

Nokia-N810-51-3:/home# cd MyDocs
-sh: cd: can't cd to MyDocs

Nokia-N810-51-3:/home# ls
user

Nokia-N810-51-3:/home# cd user

Nokia-N810-51-3:/home/user# cd MyDocs

Nokia-N810-51-3:/home/user/MyDocs# cd
.documents

Nokia-N810-51-3:/home/user/MyDocs/.documents# ls
Maps
python-hildondesktop_0.0.2-1_armel.deb

Nokia-N810-51-3:/home/user/MyDocs/.documents# dpkg -i python-hildondesktop_0.0.2.1_armel.deb
dpkg: error processing python-hildondesktop_0.0.2.1_armel.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
python-hildondesktop_0.0.2.1_armel.deb
Nokia-N810-51-3:/home/user/MyDocs/.documents#

phgerin 2008-04-08 17:06

Re: Python (Hildon Desktop) Error
 
Quote:

Originally Posted by here.david (Post 166895)
Nokia-N810-51-3:/home/user/MyDocs/.documents# dpkg -i python-hildondesktop_0.0.2.1_armel.deb
dpkg: error processing python-hildondesktop_0.0.2.1_armel.deb (--install):
cannot access archive: No such file or directory

you didnt type the correct filename, try :

dpkg -i python-hildondesktop_0.0.2-1_armel.deb

Khertan 2008-04-09 04:57

Re: Python (Hildon Desktop) Error
 
Quote:

two IT forums...one for PROs and one for those of us newbies....when replying to newbies I would like to suggest the following...
To here.david :

Great idea ... so there will be two community... newbie speaking to newbies ... and newbie posting question in 'pro section' that will be redirect to the newbie forum by the one you name 'the pro'

But if you prefer no answer than a short answer that will help you a bit too make the good research .... No problems ... it ll take less time for me ...

here.david 2008-04-09 06:07

Re: Python (Hildon Desktop) Error
 
phgerin - tx's for the excellent help...I did a 'cut&paste' for the instruction and did not see the difference in the file name....:eek:

qwerty12 2008-04-09 06:14

Re: Python (Hildon Desktop) Error
 
You got:
python-hildondesktop_0.0.2-1_armel.deb

Nokia-N810-51-3:/home/user/MyDocs/.documents# dpkg -i python-hildondesktop_0.0.2.1_armel.deb

Look between the 2 and the 1.

here.david 2008-04-09 06:33

Re: Python (Hildon Desktop) Error
 
Khertan, sorry you seem to have taken offense nor do I wish to start a public 'flame war' so I sent you a PM trying to explain your mis-understanding of what I was trying to state.

Khertan 2008-04-09 07:17

Re: Python (Hildon Desktop) Error
 
To explain my post, i'm not offended, just wake up with the wrong foot (french expression)...

I'm sorry if my post is offending, it was not the purpose of it. It s just that english isn't my native language, and sometimes, i don't write very well my thought and feeling. Sorry.

I would just say, that i don't think two forums will be good idea, because it ll divide the community, and i think the 'newbie' forum will turn to a forum with question only and no answer.

qwerty12 2008-04-09 07:22

Re: Python (Hildon Desktop) Error
 
Quote:

Originally Posted by Khertan (Post 167297)
To explain my post, i'm not offended, just wake up with the wrong foot (french expression)...

I'm sorry if my post is offending, it was not the purpose of it. It s just that english isn't my native language, and sometimes, i don't write very well my thought and feeling. Sorry.

I would just say, that i don't think two forums will be good idea, because it ll divide the community, and i think the 'newbie' forum will turn to a forum with question only and no answer.

Hehe, we say got out of the wrong side of the bed.

To say English, isn't your native language, I'd say you speak it well.

miind 2008-04-09 07:51

Re: Python (Hildon Desktop) Error
 
there is someerror in the deb file that prevents it from installing the regular way in the programmanager.. see the notes to homeip on maemo. http://maemo.org/downloads/product/OS2008/homeip/

here.david 2008-04-09 07:53

Re: Python (Hildon Desktop) Error
 
1 Attachment(s)
Thank's for the help...working...

Khertan 2008-04-09 11:33

Re: Python (Hildon Desktop) Error
 
It s not an error that python-hildondesktop is in usr/misc ... as it should not be visible in the application manager (same thing for python libs).

I think that make many repository isn't a great things. It s why i'm working on PyPackager to enable it to upload package directly to extras and extras-devel repository.

At this time, if PyPackager package is accepted in the extras repository, i ll upload all my python applet to extras-devel.

thureen 2008-04-13 06:15

Re: Python (Hildon Desktop) Error
 
Ah, sorry posted in the wrong thread. (edit)

ShyBoy 2008-04-19 00:59

Re: Python (Hildon Desktop) Error
 
Suddenly I start getting the following error since I install this package. Can someone please help?

thanks,

Code:

Nokia-N800-51-3:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  homecpuspeed: Depends: python2.5-hildondesktop but it is not installed
  homediskfree: Depends: python2.5-hildondesktop but it is not installed
  homeinternaltemp: Depends: python2.5-hildondesktop but it is not installed
  homeip: Depends: python2.5-hildondesktop but it is not installed
  homelightmeter: Depends: python2.5-hildondesktop but it is not installed
  homememfree: Depends: python2.5-hildondesktop but it is not installed
  homenetstats: Depends: python2.5-hildondesktop but it is not installed
  homewifilevel: Depends: python2.5-hildondesktop but it is not installed
E: Unmet dependencies. Try using -f.
Nokia-N800-51-3:~# apt-get upgrade -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following NEW packages will be installed:
  python2.5-hildondesktop
The following packages have been kept back:
  xournal
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
9 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 ... 25584 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:~#


Khertan 2008-04-20 18:53

Re: Python (Hildon Desktop) Error
 
apt-get remove python-hildondesktop
apt-get install homecpuspeed

ShyBoy 2008-04-20 21:29

Re: Python (Hildon Desktop) Error
 
Quote:

Originally Posted by Khertan (Post 172320)
apt-get remove python-hildondesktop
apt-get install homecpuspeed



That was good idea, but didn't help in my case. see the command and results down below.

The removed worked but after that when I try to install homecpuspeed or just the python-hildondesktop it gived me error again.

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
(Reading database ... 25542 files and directories currently installed.)
Unpacking python-hildondesktop (from .../python-hildondesktop_0.0.2-1_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/python-hildondesktop_0.0.2-1_armel.deb (--unpack):
 trying to overwrite `/usr/share/pygtk/2.0/defs/hildondesktop.defs', which is also in package python2.5-hildondesktop
Errors were encountered while processing:
 /var/cache/apt/archives/python-hildondesktop_0.0.2-1_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N800-51-3:~#


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 12:03.

vBulletin® Version 3.8.8