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

eopkg and unintended orphans #107

Open
bradyjam opened this issue Jan 16, 2025 · 2 comments
Open

eopkg and unintended orphans #107

bradyjam opened this issue Jan 16, 2025 · 2 comments
Assignees

Comments

@bradyjam
Copy link

Howdy!

A couple times I've run into an issue where a package installed as a dependency is marked or removal as an orphan, and the only way to keep it around is by reinstalling it.

For example, I installed zsh-autosuggestions which pulls zsh as a dependency, without explicitly installing zsh. When I uninstalled zsh-autosuggestions without autoremove, zsh stayed as desired, but was marked as orphaned.

I'm wondering if it would be possible to implement something similar to dnf mark, pacman -D or xbps-query -m to mark packages, for example as explicitly installed, or as a soft dependency, or back to automatic default.

Thank you for you time.

@ermo
Copy link
Contributor

ermo commented Jan 21, 2025

I'm wondering if it would be possible to implement something similar to dnf mark, pacman -D or xbps-query -m to mark packages, for example as explicitly installed, or as a soft dependency, or back to automatic default.

Is an eopkg it --reinstall zsh not doing it for you?

For context, eopkg is essentially in maintenance mode, so unless the fix is literally trivial (with no impact elsewhere), we're unlike to get to this if existing functionality (even if suboptimal) already does the job.

@ermo ermo assigned sheepman4267 and unassigned bradyjam Jan 21, 2025
@ermo
Copy link
Contributor

ermo commented Jan 21, 2025

@sheepman4267 Pinging you here in case you have a really good idea.

Free free to unassign yourself and close as wontfix if you can't see this being done easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants