Ask Your Question
1

dnf mark install / dnf mark remove - metadata?

asked 2017-07-10 10:26:37 -0500

mdzmura gravatar image

The metadata behind the dnf "mark install" and "mark remove" commands seems to be a bit peculiar: reading man pages, I can find no way to retrieve it - only to set/clear it or act on it. How can I actually query the associated boolean value for any/all packages?

Thanks, Mark

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-07-10 11:53:27 -0500

florian gravatar image

dnf history userinstalled will list you all user-installed packages. Those are packages that were marked with install.

edit flag offensive delete link more

Comments

Thanks, that's the info I needed.

On the subject of wishful thinking, here's my wish that more apps will try to apply sane, consistent rules to their UI with respect to metadata - i.e. provide uniform operations to access/perform-other-operations-on metadata.

mdzmura gravatar imagemdzmura ( 2017-07-11 09:09:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-07-10 10:26:37 -0500

Seen: 194 times

Last updated: Jul 10 '17