webOS Nation Forums >  webOS smartphones (Pre, Pixi, Veer) >  Palm Pre and Pre Plus > Duplicate Applications directory?
Duplicate Applications directory?

  Reply
 
LinkBack Thread Tools Display Modes
Old 02/23/2010, 05:16 AM   #1 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default Duplicate Applications directory?

I was playing around with Internalz this morning and noticed something strange. I have a duplicate applications directory. It appears both contain the same information.

See screenshot below, I can't delete anything because Internalz won't allow it and I can't access the path via USB drive because it's in the /media/cryptofs/apps/usr/palm directory.

I wonder if this could be related to the issue that I'm having where it says application updates are available but doesn't show any when you go to the app catalog?


Last edited by Trekker; 02/23/2010 at 05:31 AM. Reason: Corrected misspelled word
Trekker is offline   Reply With Quote
Old 02/23/2010, 05:21 AM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 360
Likes Received: 0
Thanks: 10
Thanked 66 Times in 35 Posts
Default

That doesn't seem right. Linux wouldn't let you have two identical directories, I don't think it is possible. Unless one has a space after it or something like that.

Hard to tell whats really there without a shell command.
joshewah is offline   Reply With Quote
Old 02/23/2010, 05:28 AM   #3 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by joshewah View Post
That doesn't seem right. Linux wouldn't let you have two identical directories, I don't think it is possible.
Nevertheless, it's there. I have to run to work now so I won't be able to look into it until later tonight. Strange to say the least.
Trekker is offline   Reply With Quote
Old 02/23/2010, 05:33 AM   #4 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Trekker View Post
I was playing around with Internalz this morning and noticed something strange. I have a duplicate applications directory. It appears both contain the same information.

See screenshot below, I can't delete anything because Internalz won't allow it and I can't access the path via USB drive because it's in the /media/cryptofs/apps/usr/palm directory.

I wonder if this could be related to the issue that I'm having where it says application updates are available but doesn't show any when you go to the app catalog?

There was a problem for a while with Jason's LED Torch package. Check inside one of those two directories, and I bet you find a led torch directory under usr/palm/applications. The one which only has that single package in it is the bogus one.

Ask Jason how to get rid of it :-) I suggested that he release a new version of the LED torch which cleans up the bogus directory automatically.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked By: Trekker
Old 02/23/2010, 05:34 AM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 360
Likes Received: 0
Thanks: 10
Thanked 66 Times in 35 Posts
Default

If you can get a terminal, or use webos quick install to enter the command:
ls -al /media/cryptofs/apps/usr/palm/

That will show the full details of whats there. Normally you couldn't really have two directories with the same name, but maybe there is something going on with cryptofs.
joshewah is offline   Reply With Quote
Thanked By: Trekker
Old 02/23/2010, 05:36 AM   #6 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Thanks for the replies, guys. I'll send Jason a quick message then I have to run to work.
Trekker is offline   Reply With Quote
Old 02/23/2010, 05:37 AM   #7 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by rwhitby View Post
There was a problem for a while with Jason's LED Torch package. Check inside one of those two directories, and I bet you find a led torch directory under usr/palm/applications.
Yes, I do have his LED torch app installed, I'll check with him and see if there is a way to fix it. Thanks again.
Trekker is offline   Reply With Quote
Old 02/23/2010, 05:43 AM   #8 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by joshewah View Post
If you can get a terminal, or use webos quick install to enter the command:
ls -al /media/cryptofs/apps/usr/palm/

That will show the full details of whats there. Normally you couldn't really have two directories with the same name, but maybe there is something going on with cryptofs.
One of the directories will have an extra backslash in it, which is not shown when you list it in Internalz.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked By: Trekker
Old 02/23/2010, 06:15 AM   #9 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

yea, it's a bug with one previous bugged version's ipk. Uninstalling that ipk would fix that.

However, if you're on the current version of LED Torch, you've have already upgraded past that option.

i'll release an update that will fix the problem soon. In the meantime, those additional directories won't affect normal device operations
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Thanked By: Trekker
Old 02/23/2010, 08:00 AM   #10 (permalink)
Member
 
Join Date: Jan 2010
Posts: 84
Likes Received: 0
Thanks: 0
Thanked 3 Times in 2 Posts
Default

i also have the 2 application directories in the palm folder. but i also have 2 palm folders which have 2 application directories within them...? and 2 usr directories above that? all with identical files within them?
videogmike is offline   Reply With Quote
Old 02/23/2010, 08:23 AM   #11 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by videogmike View Post
i also have the 2 application directories in the palm folder. but i also have 2 palm folders which have 2 application directories within them...? and 2 usr directories above that? all with identical files within them?
Yep, exactly the same symptoms and cause.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 02/23/2010, 08:50 AM   #12 (permalink)
Member
 
Join Date: Jan 2010
Posts: 84
Likes Received: 0
Thanks: 0
Thanked 3 Times in 2 Posts
Default

oh good, i happily await the fix with others
videogmike is offline   Reply With Quote
Old 02/23/2010, 08:46 PM   #13 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

On a related note...the reason I found the duplicate directories was because I was trying to figure out why my Pre said updates were available when I clicked on the updates button, but no actual updates were listed when I checked the app catalog.

Long story short, I had installed "The Helicopter Game" from the app catalog and removed it via Preware instead of using the orange button/click on the app delete method. This seems to have been the cause of the problem.

I re-installed The Helicopter Game, checked for updates on the Pre and this time got the correct "Your phone is up to date" screen instead of the one saying updates were available.

I then deleted The Helicopter Game using the orange button/click on app method, checked for updates and got the correct "your phone is up to date" screen again.

So in this case it appears that installing this particular app from the catalog and removing it via Preware somehow hosed things up.

So, next question...if we install apps from the app catalog, should we always use the orange button/click on app delete method if we want to delete the app? I didn't think it mattered in the past.
Trekker is offline   Reply With Quote
Old 02/23/2010, 08:49 PM   #14 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Trekker View Post
On a related note...the reason I found the duplicate directories was because I was trying to figure out why my Pre said updates were available when I clicked on the updates button, but no actual updates were listed when I checked the app catalog.

Long story short, I had installed "The Helicopter Game" from the app catalog and removed it via Preware instead of using the orange button/click on the app delete method. This seems to have been the cause of the problem.

I re-installed The Helicopter Game, checked for updates on the Pre and this time got the correct "Your phone is up to date" screen instead of the one saying updates were available.

I then deleted The Helicopter Game using the orange button/click on app method, checked for updates and got the correct "your phone is up to date" screen again.

So in this case it appears that installing this particular app from the catalog and removing it via Preware somehow hosed things up.

So, next question...if we install apps from the app catalog, should we always use the orange button/click on app delete method if we want to delete the app? I didn't think it mattered in the past.
OK, this is good new info. We need to get some detailed debug info from the next person who has this problem.

If we can identify what is causing the app catalog to behave like that, we can make Preware do what is required to avoid it.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 03/01/2010, 05:17 AM   #15 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
yea, it's a bug with one previous bugged version's ipk.

i'll release an update that will fix the problem soon. In the meantime, those additional directories won't affect normal device operations
Thanks Jason, I know you've been busy...would you happen to have an ETA as to when this will be fixed?

The reason I ask is because while I'm troubleshooting other issues I have, I'm using Internalz to check out directories and find that I have a bunch of duplicates. It's hard to tell which is the correct one and which is the duplicate.

For example, In /media/cryptofs/apps/ I have 2 usr directories. I open up either usr directory and I have 2 palm directories. I open up either palm directory and I have 2 applications directories....so things are a bit confusing.

Thanks!
Trekker is offline   Reply With Quote
Old 03/01/2010, 06:02 AM   #16 (permalink)
Member
 
ChaosMarine03's Avatar
 
Join Date: Aug 2009
Posts: 286
Likes Received: 0
Thanks: 7
Thanked 19 Times in 15 Posts
Default

I just looked because I have the led torch and I have the dual palm and application directories aswell. Rod or jason could one of you release a linux application similar to the "CLEAN UP VKB" one to clean up the extra directories?
ChaosMarine03 is offline   Reply With Quote
Old 03/13/2010, 09:55 AM   #17 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Just an update, I ended up using webOS doctor 1.2.1 to clean up the duplicates, then ran webOS doctor 1.4.0 to bring it up to date.

I would still like to see an official fix for this in case the problem happens again or if others out there still have it and don't want to go the doctor route.
Trekker is offline   Reply With Quote
Old 03/14/2010, 04:43 AM   #18 (permalink)
Member
 
BillP3393's Avatar
 
Join Date: Nov 2003
Posts: 162
Likes Received: 0
Thanks: 67
Thanked 22 Times in 18 Posts
Default

I, also, would like to see an official fix for this as I don't want to doctor my phone and from what Trekker states the Pre would have to be doctored twice.
__________________
Bill
BillP3393 is offline   Reply With Quote
Old 03/14/2010, 11:37 AM   #19 (permalink)
Member
 
ChaosMarine03's Avatar
 
Join Date: Aug 2009
Posts: 286
Likes Received: 0
Thanks: 7
Thanked 19 Times in 15 Posts
Default

jason could you write a linux application to cleanup the extra directory? Take your time I know you're busy
ChaosMarine03 is offline   Reply With Quote
Old 03/14/2010, 12:05 PM   #20 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by ChaosMarine03 View Post
jason could you write a linux application to cleanup the extra directory? Take your time I know you're busy
Well, he said he would fix it in an update but only he knows when that will be. I asked for an ETA a few times and got no replies. I even moved some of the comments in this thread over to his Canuck software forum so it would have more visibility.

I know he's busy, juggling school and writing software at the same time and my only complaint with all the great things that he's done is that I think he puts too much on his plate and some things end up taking a back seat to others (like the fix for this issue.)

I was waiting for the fix, never got any answers to my ETA questions, saw that he was putting out new stuff so I figured this issue was a super low priority for him. The multiple duplicate directories may not have been causing any problems but they were annoying and that's why I decided to use webOS Doctor to fix it.

I hope this doesn't come across as overly critical, it's not meant to be. As he's stated before, he has a passion for writing software for phones and I can easily see how there isn't enough time in the day for him to accomplish all his ideas and I do appreciate all he's done for the Homebrew community.
Trekker is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0