Skip to content

[BUG] install fail silently (edge case for INSTALL_FAILED_UPDATE_INCOMPATIBLE) #1328

@nktnet1

Description

@nktnet1

Before you submit

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • This issue contains only one bug.

What's going wrong?

Installation fails silently when there is a signature mismatch.

How do we reproduce it?

NOTE: reproduction steps require Device Owner or Dhizuku privileges

  1. Build a debug version of any app that exists on F-Droid (or just build with a different signature). In my case, I used my app Webview Kiosk.

  2. Download either OwnDroid or Test DPC - I used OwnDroid. Then

    • grant OwnDroid either Device Owner or Dhizuku access
    • click "Applications", find the app in step 1, then toggle the switch "Keep after uninstall"
  3. Uninstall the app

  4. Find the app on Droid-ify and attempt to install it

  5. Observe that the final installation step stops abruptly with no errors/warnings


If you perform step 4 with the official F-Droid app, you will see an error about signature mismatch:

INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package uk.nktnet.webviewkiosk signatures to not match newer version; ignoring!

What did you expect?

Show an error similar to the official F-Droid app store. It looks like the error display already exists in #1107 - just not showing.

Screenshots

  1. OwnDroid keep after uninstall:
owndroid-block-uninstall

 

  1. F-Droid correctly display error:
f-droid-correct-error

Your phone

Samsung Galaxy S21

Android version

15

Droid-ify version

0.7.1

Anything else?

As an aside, even if we toggle the "Incompatible versions" settings in Droid-ify, it still fails silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions