RI SOLE closed issue #1371: F-droid repo "Error getting index file" at F-Droid / Client

RI SOLE
2018-03-20T18:06:48Z

Device OS and version: Android 8.1.0

Device model/manufacturer: OnePlus One (bacon)

F-Droid version (in the About screen): 1.1-alpha4

F-Droid privileged extension version (if installed):

What did you do? (clear steps if possible)

download https://f-droid.org/repo/org.fdroid.fdroid_1001004.apk.* from https://f-droid.org/en/packages/org.fdroid.fdroid/

gpg --verify org.fdroid.fdroid_1001004.apk.asc

adb install -r org.fdroid.fdroid_1001004.apk

Success output after adb command returns

Settings->About F-Droid shows Version 1.1-alpha4

What did you expect to see?

No errors.

What did you see instead?

On March 05 I downloaded and installed with "adb install" the FDroid.apk file at https://f-droid.org/FDroid.apk which (IIRC) reported itself when running as version 1.0.3 (although aapt dump seems to have showed it was version 1.0.2). At this time (March 05), I had no problems getting index file, installing, or updating apps. But 10 days later (today), I now see "Error getting index file".

Today both versions reported "Error getting index file" when swiping down. When I found this error today in 1.0.3 (1.0.2?), I did "adb install -r org.fdroid.fdroid_1001004.apk" to update, and it too (1.1-alpha4) reported the same error. I rebooted the phone just in case it would help, but saw the same error after reboot too.

This is a custom ROM (by agentfabulous@Cloud2 built Feb 27, 2018), but it's the same custom ROM I was running on March 05 when I installed FDroid.apk for the first time on this phone.

Phone is the OnePlus One (bacon) Android version: 8.1.0 Build number: OPM5.171019.014

I usually place a checkmark in the F-Droid setting "Only on Wi-Fi: Only update automatically on unmetered networks like Wi-Fi", but I tried both checking and unchecking this setting today and in both cases, I see the "Error getting index file" (see Screenshot attached). In any case, the phone is connected to both my Wi-Fi and my mobile networks.

The phone seems perfectly functional in every other respect, so the only thing I can figure is a bug in F-Droid. Will gladly try other suggested solutions though.

I'm unable to obtain a logcat today without spending a great deal of time installing Android Studio 3.0 (https://developer.android.com/studio/profile/monitor.html reads in part: "Dalvik Debug Monitor Server (DDMS) This tool is deprecated. Instead, use Android Profiler in Android Studio 3.0 and higher to profile your app's CPU, memory, and network usage."), but I'll do so this weekend if necessary.

Thanks for making and supporting F-Droid!