Debian Codegraph @

upstream/opensuse-leap-16-1/man8/dnf5-swap.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-SWAP" "8" "Apr 29, 2025" "" "dnf5"
31 .SH NAME
32 dnf5-swap \- Swap Command
33 .SH SYNOPSIS
34 .sp
35 \fBdnf5 swap [options] <remove\-spec> <install\-spec>\fP
36 .SH DESCRIPTION
37 .sp
38 The \fBswap\fP command in \fBDNF5\fP is used for removing a package while installing
39 a different one in a single transaction.
40 .SH OPTIONS
41 .INDENT 0.0
42 .TP
43 .B \fB\-\-allowerasing\fP
44 .nf
45 Allow removing of installed packages to resolve any potential dependency problems.
46 .fi
47 .sp
48 .TP
49 .B \fB\-\-offline\fP
50 .nf
51 Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&.
52 .fi
53 .sp
54 .UNINDENT
55 .SH EXAMPLES
56 .INDENT 0.0
57 .TP
58 .B \fBdnf5 swap mlocate plocate\fP
59 .nf
60 Remove the \fBmlocate\fP package and install the \fBplocate\fP instead in the single transaction.
61 .fi
62 .sp
63 .UNINDENT
64 .SH AUTHOR
65 See AUTHORS.md in dnf5 source distribution.
66 .SH COPYRIGHT
67 Contributors to the dnf5 project.
68 .\" Generated by docutils manpage writer.
69 .