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#4145 - opkg full disk corrupts installed package list #9134

Open
openwrt-bot opened this issue Nov 21, 2021 · 1 comment
Open

FS#4145 - opkg full disk corrupts installed package list #9134

openwrt-bot opened this issue Nov 21, 2021 · 1 comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

stazthebox:

Supply the following if possible:

  • Device problem occurs on: x86 ext4-combined compiled with glib2
  • opkg version 2021-06-13-1bf042dd-1
  • Steps to reproduce
    1. Boot a fresh install of x86 without growing the image to a reasonable size.
    2. Attempt to run opkg update && opkg install gst1-plugins-{bad,good,ugly}
    3. Run opkg list-installed | grep kernel and note the empty result.

Any future attempts to install kmods will cause dependency errors because the kernel package will no longer show up in the installed package list.

I assume this is because opkg attempts to re-write the package list to disk and fails midway through due to a full disk.

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
@nefarius
Copy link

nefarius commented Jan 27, 2024

This issue still exists in 2024, how can this be fixed without re-flashing?

EDIT: a workaround that lets you preserve your configuration; use the LuCI firmware update feature to (re-)flash the sysupgrade image, then your base packages are repaired and you can expand the root partition and install packages again no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

3 participants