Debian Codegraph @

upstream/mageia-cauldron/man8/dnf5-distro-sync.8

raw
1 .\" Man page generated from reStructuredText.
2 .
3 .
4 .nr rst2man-indent-level 0
5 .
6 .de1 rstReportMargin
7 \\$1 \\n[an-margin]
8 level \\n[rst2man-indent-level]
9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10 -
11 \\n[rst2man-indent0]
12 \\n[rst2man-indent1]
13 \\n[rst2man-indent2]
14 ..
15 .de1 INDENT
16 .\" .rstReportMargin pre:
17 . RS \\$1
18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19 . nr rst2man-indent-level +1
20 .\" .rstReportMargin post:
21 ..
22 .de UNINDENT
23 . RE
24 .\" indent \\n[an-margin]
25 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26 .nr rst2man-indent-level -1
27 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29 ..
30 .TH "DNF5-DISTRO-SYNC" "8" "May 10, 2026" "" "dnf5"
31 .SH NAME
32 dnf5-distro-sync \- Distro-Sync Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 distro\-sync [options] [<package\-spec\-NPFB>...]\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBdistro\-sync\fP command in \fBDNF5\fP serves to synchronize the installed packages
39 with their latest available version from any enabled repository. It upgrades, downgrades
40 or keeps packages as needed.
41 .sp
42 Optional \fB<package\-spec\-NPFB>\fP arguments could be passed to select only specific packages to be synced.
43 .SH OPTIONS
44 .INDENT 0.0
45 .TP
46 .B \fB\-\-allowerasing\fP
47 .nf
48 Allow removing of installed packages to resolve any potential dependency problems.
49 .fi
50 .sp
51 .TP
52 .B \fB\-\-skip\-broken\fP
53 .nf
54 Resolve any dependency problems by removing packages that are causing problems from the transaction.
55 .fi
56 .sp
57 .TP
58 .B \fB\-\-skip\-unavailable\fP
59 .nf
60 Allow skipping packages that are not possible to synchronize. All remaining packages will be synchronized.
61 .fi
62 .sp
63 .UNINDENT
64 .INDENT 0.0
65 .TP
66 .B \fB\-\-installed\-from\-repo=REPO_ID,...\fP
67 .nf
68 Filters installed packages by the ID of the repository they were installed from.
69 .fi
70 .sp
71 .UNINDENT
72 .INDENT 0.0
73 .TP
74 .B \fB\-\-from\-repo=REPO_ID,...\fP
75 .nf
76 Packages (or their provides) explicitly specified on the command line will only be looked up in the specified repositories.
77 These repositories are automatically enabled.
78 Repository enabling and disabling still applies. Dependencies of these packages will be resolved from any enabled repository.
79 .fi
80 .sp
81 .UNINDENT
82 .INDENT 0.0
83 .TP
84 .B \fB\-\-from\-vendor=VENDOR,...\fP
85 .nf
86 List of vendors separated by commas or spaces. Globs are supported (e.g., \fB\-\-from\-vendor=\(aqFedora\e project, vendorA, vendorB*, vendorC\(aq\fP).
87 Packages (or their provides) explicitly specified on the command line will only be looked up from the specified vendors.
88 The vendor change check is \fBbypassed\fP for these packages.
89 The vendor is ignored or vendor change policies (if \fBallow_vendor_change=0\fP) will still be used for packages that satisfy dependencies.
90 .fi
91 .sp
92 .UNINDENT
93 .INDENT 0.0
94 .TP
95 .B \fB\-\-downloadonly\fP
96 .nf
97 Download the resolved package set without executing an RPM transaction.
98 .fi
99 .sp
100 .UNINDENT
101 .INDENT 0.0
102 .TP
103 .B \fB\-\-offline\fP
104 .nf
105 Store the transaction to be performed offline. See \fI\%offline command\fP, \fBdnf5\-offline(8)\fP\&.
106 .fi
107 .sp
108 .TP
109 .B \fB\-\-store=PATH\fP
110 .nf
111 Store the current transaction in a directory at the specified \fBPATH\fP instead of running it.
112 The stored transaction can be performed by the \fI\%replay command\fP, \fBdnf5\-replay(8)\fP\&.
113 Note that repository ids in the stored transaction are mangled to \fB@stored_transaction(repo_id)\fP this is required
114 because during replaying the stored repositories are recreated and they might collide with already present repositories
115 (this doesn\(aqt apply to the special @System repository).
116 .fi
117 .sp
118 .UNINDENT
119 .SH EXAMPLES
120 .INDENT 0.0
121 .TP
122 .B \fBdnf5 distro\-sync\fP
123 .nf
124 Sync the whole system to the latest available version of packages.
125 .fi
126 .sp
127 .TP
128 .B \fBdnf5 distro\-sync vim\fP
129 .nf
130 Sync the \fBvim\fP package to the latest available version.
131 .fi
132 .sp
133 .UNINDENT
134 .SH SEE ALSO
135 .INDENT 0.0
136 .INDENT 3.5
137 .nf
138 \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP
139 .fi
140 .sp
141 .UNINDENT
142 .UNINDENT
143 .SH AUTHOR
144 See AUTHORS.md in dnf5 source distribution.
145 .SH COPYRIGHT
146 Contributors to the dnf5 project.
147 .\" Generated by docutils manpage writer.
148 .