[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:
- Upgraded to newest JerryScript BACKside-iHO ROM per his instructions.
- Use "Recreate mount scripts" in Link2SD and reboot.
- Use "Relink library files" and "Link dalvik-cache files" in Link2SD and reboot.
- 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).
I have done this every time I have upgraded the ROM and have had no problems since.Yanna Giray and kimberlyinmn like this.01-12-2012 12:52 PMLike 2 - 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 OV01-12-2012 03:56 PMLike 0 - 01-12-2012 05:23 PMLike 0
-
- I may eventually try link2sd. I found the following worked for me (from here CM 7.1 Market "Insufficient Space" error - CyanogenMod Forum). 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
Code:$ su # cd /cache # mv download.old download # rm -r /sdcard/cache/download
Silence99 likes this.01-13-2012 02:05 PMLike 1 -
- 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.01-20-2012 06:10 PMLike 0 - 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.
Sent from my LG-VM670 using Tapatalk01-20-2012 06:34 PMLike 0 - I think I finally resolved this. I think what happened was this:
- Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
- Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
- Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
- Clearing cache, dalvik cache, market settings, etc didn't do a thing
- 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.
- 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.01-20-2012 07:10 PMLike 1 - 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..01-20-2012 07:32 PMLike 0
- I think I finally resolved this. I think what happened was this:
- Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
- Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
- Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
- Clearing cache, dalvik cache, market settings, etc didn't do a thing
- 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.
- 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.
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.01-22-2012 02:49 PMLike 0 - 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?02-09-2012 07:57 PMLike 0
- 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 saved02-29-2012 12:05 AMLike 0 - 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 saved02-29-2012 09:32 AMLike 0 - 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 phone02-29-2012 03:35 PMLike 0
- I think I finally resolved this. I think what happened was this:
- Old IHO install, I had installed a bunch of apps, and used Link2SD to link the cache files for them as well.
- Upgraded to a new version of Backside IHO cleared Dalvik/cache partitions as per instructions
- Suddenly its complaining about space, invalid install files, etc. despite showing enough space in the system info.
- Clearing cache, dalvik cache, market settings, etc didn't do a thing
- 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.
- 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.03-07-2012 03:00 PMLike 0 - 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..07-29-2012 03:00 PMLike 0 - 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 .05-27-2013 06:22 AMLike 0 - 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 worked06-06-2013 01:16 AMLike 0 - 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......06-25-2013 02:15 PMLike 0 - 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......06-25-2013 02:18 PMLike 0
- Forum
- LG Android Phones
- More LG Phones
- LG Optimus Series
- Virgin Mobile Optimus V
[Solved] Error: Package file is invalid
« Stuck in zengarden 'fix recovery bootloop' just says E:unknown volume. Help EDIT: fixed.
|
I factory reset »
LINK TO POST COPIED TO CLIPBOARD