toltec icon indicating copy to clipboard operation
toltec copied to clipboard

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

Open Eeems opened this issue 1 year ago • 1 comments

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 avatar Jun 05 '24 21:06 Eeems

This also appears to happen on the rM1

Eeems avatar Jun 05 '24 22:06 Eeems