summaryrefslogtreecommitdiff
path: root/doc/gen/rpmdb2solv.1
blob: 67e6036cd8b6e41ea4b43ac3d3b97226e4ac2def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
'\" t
.\"     Title: rpmdb2solv
.\"    Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 03/02/2022
.\"    Manual: LIBSOLV
.\"    Source: libsolv
.\"  Language: English
.\"
.TH "RPMDB2SOLV" "1" "03/02/2022" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
rpmdb2solv \- convert the rpm database into a solv file
.SH "SYNOPSIS"
.sp
\fBrpmdb2solv\fR [\fIOPTIONS\fR] [\fIREFFILE\&.solv\fR]
.SH "DESCRIPTION"
.sp
The rpmdb2solv tool reads rpm\(cqs installed packages database and writes it in solv file format to standard output\&. You can make use of an old version of the database by specifying a \fIREFFILE\&.solv\fR file\&.
.PP
\fB\-o\fR \fIOUTFILE\fR
.RS 4
Write the generated solv to
\fIOUTFILE\fR
instead of standard output\&.
.RE
.PP
\fB\-P\fR
.RS 4
Print percentages as packages are being read in\&. The output format is like rpm\(cqs \-\-percent option\&.
.RE
.PP
\fB\-r\fR \fIROOTDIR\fR
.RS 4
Use
\fIROOTDIR\fR
as root directory\&.
.RE
.PP
\fB\-D\fR \fIDBPATH\fR
.RS 4
Use the database in the
\fIDBPATH\fR
directory\&.
.RE
.PP
\fB\-k\fR
.RS 4
Read pubkeys from the rpm database instead of installed packages\&. Note that many distributions stopped storing pubkeys in the database but use a directory like
\fB/var/lib/rpm/pubkeys\fR
instead\&.
.RE
.PP
\fB\-A\fR
.RS 4
Also scan the
\fB/usr/share/appdata\fR
for installed appdata files and create pseudo packages for each file\&.
.RE
.PP
\fB\-p\fR \fIPRODDIR\fR
.RS 4
Also read SUSE product files from directory
\fIPRODDIR\fR\&. The standard directory is
\fB/etc/products\&.d\fR\&.
.RE
.PP
\fB\-n\fR
.RS 4
Do not read any packages from the rpm database\&. This is useful together with
\fB\-p\fR
to only convert SUSE products\&.
.RE
.PP
\fB\-C\fR
.RS 4
Include the package changelog in the generated solv file\&.
.RE
.PP
\fB\-X\fR
.RS 4
Autoexpand SUSE pattern and product provides into packages\&.
.RE
.SH "SEE ALSO"
.sp
rpms2solv(1)
.SH "AUTHOR"
.sp
Michael Schroeder <mls@suse\&.de>