From Fedora Project Wiki
Description
This test case ensures that the pkcon command can effectively search for a package and retrieve its details using the PackageKit.
Setup
Ensure that is installed and running on your Fedora system.
PackageKit
How to test
- Open a terminal.
- Execute the command
pkcon search name firefoxto search for the "firefox" package. - Next, identify the package ID for the firefox package from the search results.
- Now, execute the command
pkcon get-details [PACKAGE_ID]replacing[PACKAGE_ID]with the actual package ID from the previous step to get details about the firefox package. - Execute
pkcon get-packagesto get list of all available packages. - Execute
pkcon remove packageto remove packages. - Execute
pkcon refreshto refresh cache.
Expected Results
- The command
pkcon search name firefoxreturns a list of packages containing the word "firefox". - The firefox package should be among the results listed.
- The
pkcon get-details [PACKAGE_ID]command should return detailed information about the firefox package including version, size, and description.
Optional
Optionally, explore other pkcon commands like installing, updating, and removing packages to check their functionality.
