From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case is to test dnf5 makecache / clean commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Run dnf5 clean all. * Run dnf5 makecache * Install any package using dnf5 * Run dnf5 clean metadata * Run dnf5 clean all |results= * Dnf5 is installed * Ensure/var/cache/libdnf5/ is empty * Ensure /var/cache/libdnf5 contains information about repositories and these folders co...") |
No edit summary |
||
Line 3: | Line 3: | ||
|setup=Install the pre-release version of Fedora 38 | |setup=Install the pre-release version of Fedora 38 | ||
|actions= | |actions= | ||
* Install dnf5 using | * Install dnf5 using `sudo dnf -y install dnf5` | ||
* Run dnf5 clean all | * Run `sudo dnf5 clean all` | ||
* Run dnf5 makecache | * Run `sudo dnf5 makecache` | ||
* Install any package using dnf5 | * Install any package using dnf5 | ||
* Run dnf5 clean metadata | * Run `sudo dnf5 clean metadata` | ||
* Run dnf5 clean all | * Run `sudo dnf5 clean all` | ||
|results= | |results= | ||
* Dnf5 is installed | * Dnf5 is installed |
Revision as of 15:40, 7 March 2023
Description
This test case is to test dnf5 makecache / clean commands
Setup
Install the pre-release version of Fedora 38
How to test
- Install dnf5 using
sudo dnf -y install dnf5
- Run
sudo dnf5 clean all
- Run
sudo dnf5 makecache
- Install any package using dnf5
- Run
sudo dnf5 clean metadata
- Run
sudo dnf5 clean all
Expected Results
- Dnf5 is installed
- Ensure/var/cache/libdnf5/ is empty
- Ensure /var/cache/libdnf5 contains information about repositories and these folders contain repodata
- Dnf5 installs the package and doesn’t download information about repositories
- Repositories in /var/cache/libdnf5/ are empty
- Repository /var/cache/libdnf5 is empty