---
name: "repo2solv"
section: "1"
platform: "linux"
package: "libsolv"
version: "0.7.41-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/repo2solv"
---

# repo2solv(1)

convert repository metadata into a solv file

## NAME

repo2solv - convert repository metadata into a solv file

## SYNOPSIS

**repo2solv** \[*OPTIONS*\] *DIR*

## DESCRIPTION

The repo2solv tool converts repository metadata in the directory *DIR* into a solv file written to standard output.

Note that repo2solv does not verify signatures or checksum, it is expected that this is done by the tool that downloads the metadata.

If no metadata is detected, repo2solv assumes the "plaindir" format and generates the solv file from all rpm files it finds.

- **-o** *OUTFILE*

  Write the solv file to *OUTFILE* instead of stdout.

- **-R**

  Also recurse into subdirectories in "plaindir" mode.

- **-F**

  Put the complete filelist in the output. The default is to just include the "importent" parts of the file list, except for "plaindir" mode, which always includes all files.

- **-C**

  Add changelog entires to the output.

- **-A**

  Add appdata pseudo packages to the output. This is an experimental feature.

- **-X**

  Autoexpand SUSE pattern and product provides into packages.

## SEE ALSO

[dumpsolv(1)](/dumpsolv/1.md)

## AUTHOR

Michael Schroeder \<mls@suse.de\>
