---
name: "debpartial-mirror"
section: "1"
platform: "linux"
package: "debpartial-mirror"
version: "0.3.1+nmu1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/debpartial-mirror"
---

# debpartial-mirror(1)

debpartial-mirror is a program to generate partial Debian packages archives mirrors.

## NAME

debpartial-mirror — debpartial-mirror is a program to generate partial  Debian packages archives mirrors.

## SYNOPSIS

**apt-get** \[**-hvs**\]  \[**-o=***config string\]  \[***-c=***file\]  {update  \| upgrade  \| dselect-upgrade  \| install pkg* ...   \| remove *pkg* ...   \| source *pkg* ...   \| build-dep *pkg* ...   \| check  \| clean  \| autoclean }

## DESCRIPTION

**debpartial-mirror** is a command-line tool to generate  partial Debian packages archives mirrors. It is designed to work (in  particular) in Custom Debian Distributions framework, as an aid to  create customization of debian systems.

Partial mirrors can be generated from different apt repositories  (local created or remote ones) and can contain binary as well as  sources packages.

Generated partial mirrors have the structure of standard apt  repositories: please referr to APT documentation for explanation  about this.

**debpartial-mirror** uses a configuration file to  determine which packages, are to be downloaded and monitored to  generate a local partial mirror. Packages can be specified by  regular expressions, by list or by mirrors sections.

Default configuration file is **/etc/debpartial-mirror.conf**.

**debpartial-mirror** accept commands in the same way  apt-get does, and unless the **-h** or  **--help** is given, one of the commands below must  be presented.

- update

  **update** update is used to resynchronize the package index  files from specified sources.

- upgrade

  **upgrade** upgrade is used to dowload selected binary and  source packages from specified mirrors. The first time this command  is ran the partial mirror is generated: after this, only newer or  updated packages will be downloaded into the mirror.

- all

  **all** all is used to perform both update and upgrade  commands.

## OPTIONS

This program follows the usual GNU command line syntax,  with long options starting with two dashes (\`-').  A summary of  options is included below.

- **-h** **--help**

  Show summary of options.

- **-v** **--version**

  Show version of program.

- **-cCONFIGFILE** **--configfile=CONFIGFILE**

  Select the confiruration file.

- **-s** **--simulate**

  Do nothing, only simulate all. Actually it is not implemented

- **-sf** **--skip-files**

  Skip downloading of files. Actually it is not implemented

- **-sp** **--skip-packages**

  Skip downloading of packages. Actually it is not implemented

## AUTHOR

This manual page was written by Otavio Salvador (otavio@debian.org).   Permission is granted to copy, distribute and/or modify this  document under the terms of the GNU General Public License,  Version 2 any later version published by the Free Software  Foundation.

On Debian systems, the complete text of the GNU General Public  License can be found in /usr/share/common-licenses/GPL.
