Database corruption on WiFi with Captive portal login
Pamac 10.4.1-0 - libpamac 11.3.1-0 @ Arch Linux
When Check for updates is active (/etc/pamac.conf:
RefreshPeriod > 0
) pamac checks for updates periodically after every boot. If we are connected to WiFi with Captive portal login all traffic is forwarded to login page, and this is causing database corruption.
There are false updates, if we try to update we get errors "Unable to lock database". Manually purging /var/tmp/pamac
resolves the issue.
How to reproduce?
- Step 1: Activate Preferences >> General >> Updates >> Check for updates
- Step 2: Reboot
- Step 3: Connect to WiFi hotspot with captive portal login
- Step 4: Wait while pamac checks for updates
- Step 5: Tada! Database is corrupted