Skip to content

[BUG] eopkg remove-orphans removes libpeas-2, breaking Budgie desktop #358

Description

@fahad4x4

Description

eopkg remove-orphans` removes libpeas-2, breaking Budgie desktop

Steps to reproduce:

  1. Run sudo eopkg remove-orphans on a Solus Budgie install.
  2. Log out / reboot.

Expected: Budgie desktop loads normally.

Actual: Session fails to load. journalctl shows:

/usr/bin/budgie-panel: error while loading shared libraries: libpeas-2.so.0: cannot open shared object file: No such file or directory
/usr/bin/budgie-daemon: error while loading shared libraries: libpeas-2.so.0: cannot open shared object file: No such file or directory

both exiting with code 127, causing "Unrecoverable failure in required component" for BudgiePanel and BudgieDaemon.

Workaround: sudo eopkg install --reinstall libpeas-2 immediately restores the desktop.

Analysis: remove-orphans appears to classify libpeas-2 as unused and deletes libpeas-2.so.0, even though budgie-panel and budgie-daemon depend on it at runtime (dynamic loading, not always captured as a hard dependency). This makes remove-orphans unsafe to run on Budgie systems.

System info:

  • Solus (Budgie edition)
  • budgie-desktop 10.9.4
  • libpeas-2 2.2.1

Request: please have libpeas-2 correctly flagged as a runtime dependency of budgie-desktop/budgie-daemon so remove-orphans doesn't remove it, or exclude it from orphan detection.

Version

eopkg.bin 5.0.0

Steps to reproduce

  1. On a Solus Budgie installation, run: sudo eopkg remove-orphans
  2. Confirm the removal when prompted.
  3. Log out of the Budgie session, or reboot.
  4. Attempt to log back in.

Result: The Budgie session fails to load. Checking journalctl -b -1 | grep -i budgie shows:

/usr/bin/budgie-panel: error while loading shared libraries: libpeas-2.so.0: cannot open shared object file: No such file or directory
/usr/bin/budgie-daemon: error while loading shared libraries: libpeas-2.so.0: cannot open shared object file: No such file or directory

Both budgie-panel and budgie-daemon exit with code 127, and budgie-session-binary reports "Unrecoverable failure in required component" for both.

Workaround: running sudo eopkg install --reinstall libpeas-2 from a TTY immediately restores the file and the desktop loads normally again on next login.

Expected result

Expected result:
Budgie desktop session loads normally after logging back in, exactly as it would after any other update or maintenance command. eopkg remove-orphans should not remove libpeas-2 (or any package that budgie-panel/budgie-daemon require at runtime via dynamic library loading), since it is not truly unused.

Add any other information about this issue, such as tracebacks, screenshots, etc.

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions