Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3928 - [OPKG] Track installed/removed packages and provide import/export feature #8928

Open
openwrt-bot opened this issue Jul 13, 2021 · 2 comments
Labels
flyspray toolchain pull request/issue with toolchain related changes

Comments

@openwrt-bot
Copy link

rugk:

I tried to use opkg with this script "opkg extras" for upgrading:
https://openwrt.org/docs/guide-user/installation/generic.sysupgrade#savingrestoring_user-installed_packages

IMHO such a script is really basic functionality and I should not have to execute such a script just to keep the installed packages on upgrade.
IMHO this would make upgrading OpenWRT a lot easier and I would also do it a lot more frequent (potentially fixing security issues faster).

As I talked about [[https://forum.openwrt.org/t/opkg-hotplug-extras-to-keep-installed-packages-on-upgrade-are-itself-not-kept-on-upgrades/99578/2?u=rugk|this in the forum]], too, the author said:

In addition, as the author of those pages, I'd like to point out that the method for tracking installed and removed packages can be greatly simplified if someone decides to integrate that functionality into Opkg.

So more systematic:

=====Problem=====

I may fear to upgrade my OpenWRT router due to the loss of installed packages.
The existing alternatives are not sufficient and hard to use, especially for an average user. E.g. you need to use SSH/the CLI.
The existing alternative did not 100%ly work in my case. It e.g. also installed all dependencies as manually installed packages as far as I see.
Code-wise/Technically the author said the current way is much more complicated than what could be done if that were integrated into opkg.

=====Suggestion=====

It would be nice if these OPGK extras and hotplug extras were an opkg package itself. This would also solve the reinstallation issue, because by definition, they would reinstall “themselves”.

@openwrt-bot
Copy link
Author

Gandalf:

It will be great to manage also extroot scenarios !...

@aparcar aparcar added the toolchain pull request/issue with toolchain related changes label Feb 22, 2022
@rugk
Copy link

rugk commented Oct 13, 2022

/me reported this initially. As far as I see, this is still valid for OpenWRT 22: https://openwrt.org/docs/guide-user/installation/generic.sysupgrade#additional_package_export_or_restore_methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray toolchain pull request/issue with toolchain related changes
Projects
None yet
Development

No branches or pull requests

3 participants