Page 1 of 2 12 LastLast
Results 1 to 25 of 26
Like Tree3Likes
  1. Thread Author  Thread Author    #1  

    Default [Solved] Error: Package file is invalid

    When installing various apps from the Market I get the following dialog box: "Error: Package file is invalid." I am running CyanogenMod-7.2.0-RCO-BACKside-IHO-KANG eng.jerryscript.20120103.225809. I have 46 mb on the phone free and 4.9 gb on the sdcard free. Sometimes the error is that there is no enough space as well.

    I have tried clearing Market cache and deleting Market data. I really don't want to wipe everything and start over. I also would rather not sideload. I know this error is fixable. I have Googled and searched the forums. Nothing has really helped so far. Any ideas?

    Edit: Here's my solution:

    1. Upgraded to newest JerryScript BACKside-iHO ROM per his instructions.
    2. Use "Recreate mount scripts" in and reboot.
    3. Use "Relink library files" and "Link dalvik-cache files" in Link2SD and reboot.
    4. Use "Market Tools..." - "Market Doctor" for user & system apps in (otherwise they won't show up in "My Apps" in Market for updates).

    I have done this every time I have upgraded the ROM and have had no problems since.
    Last edited by wsbnt; 01-22-2012 at 01:55 PM. Reason: Added solution.
    Thanked by:
    Yanna Giray likes this.
  2. #2  

    Default

    Only thing that comes to mind is an incomplete download or a curropted file that was downloaded.

    If your not-try downloading via WiFi as the issue may be within your cell tower

    Tapatalk via OV
    Maybe the main purpose your alive is to serve as a warning to others~
  3. Thread Author  Thread Author    #3  

    Default Re: Error: Package file is invalid

    That's the weird thing. I have tried both on 3G and Wifi and same issue, but just one some apps (sometimes new install and sometimes update).

    It's weird too that sometimes I get the error that there is insufficient space. But, I have plenty of space.
  4. #4  

    Default

    Use links2sd

    Sent from my LG-VM670 using Tapatalk
  5. #5  

    Default

    I fixed it by linking library files to SD with link2sd

    Sent from my LG-VM670 using Tapatalk
  6. Thread Author  Thread Author    #6  

    Default Re: Error: Package file is invalid

    I may eventually try link2sd. I found the following worked for me (from here ). I entered the following in the Terminal:

    Code:
    $ su
    # cd /cache
    # mv download download.old
    # mkdir -p /sdcard/cache/download
    # ln -s /sdcard/cache/download download
    I believe reversing it to the original condition would be:
    Code:
    $ su
    # cd /cache
    # mv download.old download
    # rm -r /sdcard/cache/download
    Thanked by:
    Silence99 likes this.
  7. Thread Author  Thread Author    #7  

    Default Re: [Solved] Error: Package file is invalid

    Well, i thought it worked... but now its back to what it was doing... so i'll try link2sd
  8. #8  

    Default Re: [Solved] Error: Package file is invalid

    Try this: go into recovery, wipe cache, wipe Dalvik-cache, reboot. Fixed mine.
  9. #9  

    Default Re: [Solved] Error: Package file is invalid

    I keep having issues with JerryScript as well since I've upgraded from a previous version of his ROM.
    I'm using Link2SD, tried MarketFix, have cleared my Dalvik-cache, Cache, and uninstalled the Market Updates.
    Have 49.7MB free on Internal, 473MB free on SD Card, and 820MB free on 2nd partition. I'm running out of ideas.
  10. #10  

    Default

    Quote Originally Posted by SagaciousB View Post
    I keep having issues with JerryScript as well since I've upgraded from a previous version of his ROM.
    I'm using Link2SD, tried MarketFix, have cleared my Dalvik-cache, Cache, and uninstalled the Market Updates.
    Have 49.7MB free on Internal, 473MB free on SD Card, and 820MB free on 2nd partition. I'm running out of ideas.
    Did you try my suggestion 4 posts up?

    Sent from my LG-VM670 using Tapatalk
  11. #11  

    Default Re: [Solved] Error: Package file is invalid

    I think I finally resolved this. I think what happened was this:
    1. Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
    2. Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
    3. Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
    4. Clearing cache, dalvik cache, market settings, etc didn't do a thing
    5. Found a nice option in Link2SD called "Link dalvik-cache files". This moved all the dalvik-cache files (around 50MB!) that were previously linked back to the SD card, creating space in the cache partition for Market downloads and installations. I guess by formatting the cache partition, it undid all of my old links and there just wasn't enough space for all the cache.
    6. Everything is peachy again!


    I may recommend that JerryScript add this step to his instructions if its a common occurrence. What a hard thing to debug!

    Dear LG, please give us a bit more system memory next time. I'll happily pay the $5 for it.
    travisbickle likes this.
  12. #12  
    flagcitysteelers's Avatar

    Posts
    25 Posts
    ROM
    Stock, IHO CM7

    Default Re: [Solved] Error: Package file is invalid

    I also use JerryScript IHO, but I use DarkTremor App2SD. After installing I ran the cache2SD which fixed the same error from the market I was having as well after installlng a ton of apps. After this, I've never seen it again... I run probably 175 apps & still have 72 meg of the 190 free. (I have had over 200, but it did seem to start bogging down a bit & a bit jumpy scrolling. That was probably more due to many apps that like to run all the time causing that rather than the strict size or number of them) Anyway, I found out upgrading the ROM to a new version of JerryScript is as easy as clearing the cache, clearing dalvik cache, flashing the new rom, flashing gapps,and then flashing the dta2sd zip file. After several reboots, you can see the ext3 partition growing as the cache is built back up.. Sorry if this got off target from your specific post, but does have tiny bit of relationship..
  13. #13  
    cmerlyn's Avatar

    Posts
    185 Posts
    ROM
    Godzilla

    Default Re: [Solved] Error: Package file is invalid

    I was having the same problem trying to upgrade Google Maps. Tried several things, the one that worked was uninstalling Google Maps first.
    C
  14. Thread Author  Thread Author    #14  

    Default Re: [Solved] Error: Package file is invalid

    Quote Originally Posted by SagaciousB View Post
    I think I finally resolved this. I think what happened was this:
    1. Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
    2. Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
    3. Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
    4. Clearing cache, dalvik cache, market settings, etc didn't do a thing
    5. Found a nice option in Link2SD called "Link dalvik-cache files". This moved all the dalvik-cache files (around 50MB!) that were previously linked back to the SD card, creating space in the cache partition for Market downloads and installations. I guess by formatting the cache partition, it undid all of my old links and there just wasn't enough space for all the cache.
    6. Everything is peachy again!


    I may recommend that JerryScript add this step to his instructions if its a common occurrence. What a hard thing to debug!

    Dear LG, please give us a bit more system memory next time. I'll happily pay the $5 for it.
    I did the same thing with Link2SD. Here's my process:

    1. Upgraded to newest JerryScript ROM per his instructions.
    2. Use "Recreate mount scripts" in Link2SD and reboot.
    3. Use "Relink library files" and "Link dalvik-cache files" in Link2SD and reboot.
    4. Use "Market Tools..." - "Market Doctor" for user & system apps in Titanium Backup (otherwise they won't show up in "My Apps" in Market for updates).

    No problems every time after I do this. I've added this to my first post for reference. I wonder if there's another way to do all this, but regardless, it works.
    Last edited by wsbnt; 01-22-2012 at 01:56 PM.
  15. #15  

    Default Re: [Solved] Error: Package file is invalid

    I have the same error but a different cause I was hoping you guys could help me out with. I installed a new SD card and what I did was I moved all the data from the old to the new card. I'm not sure what the correct method to do it is and now I have all my apps but they can't upgrade from the error. Can somebody help?
  16. #16  
    LeslieAnn's Avatar
    AC Forums Android Developer

    Posts
    2,893 Posts
    ROM
    Harmonia 3

    Default Re: [Solved] Error: Package file is invalid

    If they are usable, clear cache and data for Market.

    Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
    Donate here if you feel inclined to brighten my day.
  17. #17  

    Default Re: [Solved] Error: Package file is invalid

    that does not work. I have tried the link2sd thing to clear dalvik cache, i didn't have another partition so it gave me an error message.


    I've cleared market cache and data, and a bunch of other stuff. not sure what i can do here but I think it's time to format the entire thing. does anyone know how to do this? I just want to make sure my wireless servers and keys are saved
  18. #18  

    Default Re: [Solved] Error: Package file is invalid

    Quote Originally Posted by purerealm View Post
    that does not work. I have tried the link2sd thing to clear dalvik cache, i didn't have another partition so it gave me an error message.


    I've cleared market cache and data, and a bunch of other stuff. not sure what i can do here but I think it's time to format the entire thing. does anyone know how to do this? I just want to make sure my wireless servers and keys are saved
    I had the same problem as you. Then I realized I was not running the most updated ROM version. Make sure you are running ROM version 20120219. I updated my ROM to that and the problem went away. I now can add apps to my heart's content with more then enough room!
  19. #19  

    Default Re: [Solved] Error: Package file is invalid

    I think you're using backside's rom, which doesn't work with my phone. It makes it freeze all the time. I use Bobzhome's and I was able to fix my problem by formatting the entire partition and all the subfolders through recovery mode. at first i thought i wasn't supposed to format after flashing the rom but I guess in recovery mode it's ok. and now once again I have a fresh install and a well working phone
  20. #20  

    Default Re: [Solved] Error: Package file is invalid

    Quote Originally Posted by SagaciousB View Post
    I think I finally resolved this. I think what happened was this:
    1. Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
    2. Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
    3. Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
    4. Clearing cache, dalvik cache, market settings, etc didn't do a thing
    5. Found a nice option in Link2SD called "Link dalvik-cache files". This moved all the dalvik-cache files (around 50MB!) that were previously linked back to the SD card, creating space in the cache partition for Market downloads and installations. I guess by formatting the cache partition, it undid all of my old links and there just wasn't enough space for all the cache.
    6. Everything is peachy again!


    I may recommend that JerryScript add this step to his instructions if its a common occurrence. What a hard thing to debug!

    Dear LG, please give us a bit more system memory next time. I'll happily pay the $5 for it.
    This didn't work for me. I'm going to try to remount blah blah and do the other steps someone else tried first. And then I;ll report back
  21. #21  

    Default Re: [Solved] Error: Package file is invalid

    is this like an ADVANCED android forum?? because i dont understand wth u guys are talkin about and if so is there a more basic forum for the "not so expert" android user... i too am having the problem with the pakage file invalid error on EVERY app i try to update or add... & its driving me nuts
    BUT i dont know what kinda ROM i have or what software im running and i have never heard of ""Link dalvik-cache files" or an " IHO install, or none of those other terms u guys are throwin around in here ... but i really need this problem fixed so if i have to learn about that stuff then i will..
  22. #22  

    Default Re: [Solved] Error: Package file is invalid

    My Friends i have discovered a very simple method...

    Just install any proxy software like hotspot shield, hide man etc which one is install able run it and try to download any software in google play .
  23. #23  
    Ronin Wolf's Avatar

    Posts
    58 Posts
    ROM
    MiRaGe 4-15-13

    Smile Re: [Solved] Error: Package file is invalid

    Yeah, this forum is a little "Advanced' but if you look around a bit there is pretty much all the information you need to figure things out.

    >i too am having the problem with the pakage file invalid error on EVERY app i try to update or add... & its driving me nuts

    It is frustrating. Hopefully we can help you out.

    When people refer to a "ROM" what they mean is the software that is embedded in the device. When you first bought your phone, it came with either Android 2.2 Froyo or 2.3 Gingerbread as the operating system. This is what is known as the 'Stock ROM' because it is what comes 'stock' with the phone. You can find out which version you have by going to your phone's home screen and hitting the Menu key and selecting System Settings (or something similar), it should take you to a menu, the bottom option of which is "About Phone". There is a bunch of useful information in there, look under Android Version it will likely say 2.3.something. This means you are using the "Stock Gingerbread ROM".

    Don't worry about what the Dalvik Cache or Link2SD are, just yet. That is stuff related to custom ROMs and/or requires you to gain 'root access' to your device. Basically it means we have voided our warranties so that we can do things the "Stock ROM" doesn't support. It's a lot of fun but not for everyone, it is not something most people need to worry about.

    First of all, this probably isn't the case for you, but let's make sure you don't have 'debug mode' turned on, I was getting a package error file from the play store because I forgot to turn it off.

    Go into the system settings menu, and choose Applications, then Development. Make sure the "Android debugging" check box is unchecked.

    Once that is done hit the back key once to get back to the Application Settings menu. Then choose "Manage Applications".
    It should take you to a list of the apps on your device. Choose "All" from the tab at the top, and scroll down until you see the Google Play Store app.
    Click on that and chooose, "Clear data", and "Clear Cache" As soon as you do that, power down your phone and reboot it. Once it is back up, go to the Play store, (you may have to sign into your google account again) and try install the software that was giving you the errors before.

    Hopefully that will solve your problem, let me know if it worked
  24. #24  

    Default Re: Error: Package file is invalid

    Hey....u allll no need to reset ur phone or any other app.....listen here....
    Just go into ur play store type in search option "1 MOBILE MARKET" and download it...its free..than
    Any game or app u have got this pakj error u can
    easily download it from "1 MOBILE MARKET"...
    That's it......
  25. #25  

    Default Re: [Solved] Error: Package file is invalid

    Hey....u allll no need to reset ur phone or any other app.....listen here....
    Just go into ur play store type in search option "1 MOBILE MARKET" and download it...its free..than
    Any game or app u have got this pakj error u can
    easily download it from "1 MOBILE MARKET"...
    That's it......
Page 1 of 2 12 LastLast

Posting Permissions

B