toltec-dev / toltec

Community-maintained repository of free software for the reMarkable tablet.
https://toltec-dev.org
MIT License
717 stars 60 forks source link

Downgrading from 3.3.2 to 2.15.1 errors about toltec-deletions not being available #886

Open Eeems opened 3 months ago

Eeems commented 3 months ago

Describe the issue It appears that toltecctl isn't properly cleaning up opkg state when reenabling on an older OS version.

To Reproduce Steps to reproduce the behaviour:

  1. Use codexctl to downgrade from 3.3.2 with toltec enabled to 2.15
  2. Run toltecctl reenable

Expected behaviour A clear and concise description of what you expected to happen.

Screenshots image image

System information: toltecctl status output:

reMarkable: ~/ toltecctl status
Enabled: Yes
Supported: Yes
Branch: testing
Model: rm2
OS: 2.15.1.1189

Additional context Upon inspecting /opt/lib/opkg/status there is only one entry for toltec-deletions, which has been changed to rm2os2, but it should be rmallos2. Changing this allows toltecctl reenable to work as expected.

Eeems commented 3 months ago

This also appears to happen on the rM1