opkg-trans error when diplicate remove specified
# opkg-trans -r testdep -r testdep
line not found
line not found
line not found
line not found
line not found
line not found
DIE:
[string "transaction"]:311: [string "transaction"]:200: attempt to index field '?' (a nil value)
Aborted
If package is specified to be removed multiple times, then opkg-trans tries to do it multiple times and fails because of removed field in table. We should do it only once, so when remove is added to transaction, we should ignore any duplicates. And when we do this, we should probably do the same with for install too.