OPKG replacement
We want to do complete opkg replacement. Current state some what works but is not systematical as we are using one tool for updates and another for explicit packages installation. But simply removing opkg is also not possible as user are used on interactive package installation. The idea is to add new application that would replace opkg in most of the features and wrapper script to simulate opkg.
To support opkg the new command has to support following features:
-
Package installation -
Package removal -
Package upgrade -
Package reconfiguration -
Listing available and installed packages -
Listing upgradable packages -
Listing files belonging to some package -
Searching packages content -
Displaying packages info -
Querying for package status -
Possibility to download some package -
Querying for package dependencies
To do that we need to resolve following issues in updater it self:
-
Possibility of considering installed packages -
Resolve package removal (should we add Uninstall command and in what priority) -
Lua configuration management (automatically managed file with lua syntax) -
Updater should use index and userlists cache to make execution faster and less demanding on network connection
Features present in opkg but probably not required by us:
- Multiple architectures support
- Destination names
-
--autoremove
because we are doing that automatically - Flags setting