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

Implement mark command #145

Closed
Tracked by #429
mcurlej opened this issue Nov 11, 2022 · 2 comments
Closed
Tracked by #429

Implement mark command #145

mcurlej opened this issue Nov 11, 2022 · 2 comments
Labels
RFE Request For Enhancement (as opposed to a bug) Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@mcurlej
Copy link
Member

mcurlej commented Nov 11, 2022

Command: mark

dnf mark install <package-spec>...

Marks the specified packages as installed by user. This can be useful if any package was installed as a dependency and is desired to stay on the system when Autoremove Command or Remove Command along with clean_requirements_on_remove configuration option set to True is executed.

dnf mark remove <package-spec>...

Unmarks the specified packages as installed by user. Whenever you as a user don’t need a specific package you can mark it for removal. The package stays installed on the system but will be removed when Autoremove Command or Remove Command along with clean_requirements_on_remove configuration option set to True is executed. You should use this operation instead of Remove Command if you’re not sure whether the package is a requirement of other user installed packages on the system.

dnf mark group <package-spec>...

Marks the specified packages as installed by group. This can be useful if any package was installed as a dependency or a user and is desired to be protected and handled as a group member like during group remove.

@mcurlej mcurlej added the RFE Request For Enhancement (as opposed to a bug) label Nov 11, 2022
@j-mracek j-mracek added the Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take label Aug 29, 2023
@j-mracek
Copy link
Contributor

I believe the command is completely implemented

@glum23
Copy link
Contributor

glum23 commented Oct 4, 2023

Note: the description of this issue is significantly different from the current implementation of dnf5 mark. It is not properly documented yet, see #940 . Also, 'dnf5 mark group' does not work as expected, see #935 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE Request For Enhancement (as opposed to a bug) Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Archived in project
Development

No branches or pull requests

3 participants