1DNF5-CLEAN(8)                        dnf5                        DNF5-CLEAN(8)
2
3
4

NAME

6       dnf5-clean - Clean Command
7

SYNOPSIS

9       dnf5 clean [options] <cache_types>...
10

DESCRIPTION

12       The clean command in DNF5 is used to delete temporarily kept repository
13       metadata or marking the cache expired.
14
15       Arguments in cache_types specify which types  of  the  cached  data  to
16       cleanup:
17
18       all
19              Delete all temporary repository data from the system.
20
21
22       packages
23              Delete any cached packages.
24
25
26       metadata
27              Delete repository metadata.
28              This will delete the files which DNF5 uses to determine the remote availability of packages.
29              Using this option will make DNF5 download all the metadata the next time it is run.
30
31
32       dbcache
33              Delete cache files generated from the repository metadata.
34              This forces DNF5 to regenerate the cache files the next time it is run.
35
36
37       expire-cache
38              Mark the repository metadata expired.
39              This forces DNF5 to check the validity of the cache the next time it is run.
40
41

EXAMPLES

43       dnf5 clean all
44              Cleanup all repository cached data.
45
46
47       dnf5 clean packages dbcache
48              Cleanup all cached packages and dbcache metadata.
49
50

AUTHOR

52       See AUTHORS.md in dnf5 source distribution.
53
55       Contributors to the dnf5 project.
56
57
58
59
60                                 Nov 09, 2023                    DNF5-CLEAN(8)
Impressum