aarony / droidwall

Automatically exported from code.google.com/p/droidwall
0 stars 0 forks source link

Version 1.3.6 doesn't install for signatures do not match the previously installed version; ignoring! #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to install last version
2.
3.

logcat:
I/PackageParser(  542): Impliciting adding
android.permission.WRITE_EXTERNAL_STORAGE to old pkg com.googlecode.droidwall
I/PackageParser(  542): Impliciting adding
android.permission.READ_PHONE_STATE to old pkg com.googlecode.droidwall
E/PackageManager(  542): Package com.googlecode.droidwall signatures do not
match the previously installed version; ignoring!
W/PackageManager(  542): Package couldn't be installed in
/data/app/com.googlecode.droidwall.apk

Original issue reported on code.google.com by zioa...@gmail.com on 2 Feb 2010 at 11:11

GoogleCodeExporter commented 9 years ago
Please see the changelog: http://code.google.com/p/droidwall/wiki/ChangeLog

The signature has changed in the latest version, so you must uninstall the 
previous
version first.

Original comment by rodrigo...@gmail.com on 2 Feb 2010 at 11:21

GoogleCodeExporter commented 9 years ago
Hi Dear,
I've already removed the old version. The strange thing is that I've removed 
the apk
and config manually because the app manager doesn't see droidwall installed.

Original comment by zioa...@gmail.com on 2 Feb 2010 at 12:51

GoogleCodeExporter commented 9 years ago
Okay, so it seems that the application was somehow not completely removed.
You may try removing the app package using adb:

adb uninstall "com.googlecode.droidwall"

And then trying to install it again

Original comment by rodrigo...@gmail.com on 2 Feb 2010 at 8:50

GoogleCodeExporter commented 9 years ago
Nothing!
I get the follow error:
adb uninstall com.googlecode.droidwall
Failure
I tried to reinstall:
adb install -r droidwall-v1_3_6.apk 
510 KB/s (36182 bytes in 0.069s)
    pkg: /data/local/tmp/droidwall-v1_3_6.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I don't know where but something of the old droidwall is there somewhere...

Original comment by zioa...@gmail.com on 3 Feb 2010 at 8:59

GoogleCodeExporter commented 9 years ago
I've find an occurence in /data/system/package.xml

<package name="com.googlecode.droidwall"
codePath="/data/app/com.googlecode.droidwall.apk" system="false" 
ts="1265027749000"
version="135" userId="10100">

Can I delete just that line or I must remove the entire file?
Or I can modify that?

Original comment by zioa...@gmail.com on 3 Feb 2010 at 9:12

GoogleCodeExporter commented 9 years ago
According to the docs, this error appears "if a previously installed
package of the same name has a different signature than the new package
(and the old package's data was not removed)." 

The important part here is the "(and the old package's data was not removed)".

To avoid messing with your package.xml, you could try re-installing the old 
version
of Droid Wall (you can find it in the Downloads section here) and immediately
removing it again along with the data.

This should remove any reference to the old signature and allow you to install 
the
new version.

Original comment by rodrigo...@gmail.com on 3 Feb 2010 at 11:10

GoogleCodeExporter commented 9 years ago
zioalex, can you confirm if you were able to install the new version so that I 
can
close this issue? thanks

Original comment by rodrigo...@gmail.com on 22 Feb 2010 at 1:02

GoogleCodeExporter commented 9 years ago
Rodrigo I'm sorry but meanwhile I've changed ROM so I can't track that problem
anymore. However now after a fresh ROM installation everything is OK! :-D

Original comment by zioa...@gmail.com on 22 Feb 2010 at 3:04

GoogleCodeExporter commented 9 years ago
Okay, closing this issue.

Original comment by rodrigo...@gmail.com on 22 Feb 2010 at 3:07