Debian Codegraph @

upstream/debian-unstable/man8/dnf5-distro-sync.8

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