---
name: "debwrap"
section: "8"
platform: "linux"
package: "debwrap"
version: "0.9.1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/debwrap"
---

# debwrap(8)

Package install wrapper for dpkg/apt-get

## NAME

debwrap - Package install wrapper for dpkg/apt-get

## SYNOPSIS

**debwrap** command...

## DESCRIPTION

**Debwrap** is package install wrapper for dpkg/apt-get, which reply questions described in {post,pre}-inst scripts automatically.

The answers, which are used to reply questions automatically, consists of files in /var/lib/debwrap/ directory by defaults. Which filenames are package name and versions. **Debwrap** can recognize these filenames:\
 \<package\>\
 \<package\>\_\<upstream\_version\>\
 \<package\>\_\<upstream\_version\>\_\<debian\_version\>

Each file is described in several sets of  **QANDA** format.

The **QANDA** format is as follows:\
\
 \[QANDA\]\
 question line\
 answer line\

## FILES

There are examples of auto-reply files in examples/ direstory.

## ENVIRONMENT

- **QANDA\_DIR**

  Specify the directory of each auto-reply files(QANDA files).\

- **QANDA\_FILE**

  Specify the auto-reply file(QANDA file).\

- **DEBWRAP\_LOG**

  Specify log file. By defaults, debwrap outputs STDERR.\

## EXAMPLES

If you want to install pcmcia-cs package using debwrap,

\# debwrap dpkg -i pcmcia-cs\_3.14-3.deb

If you want to use apt-get upgrade using debwrap,

\# debwrap apt-get upgrade

## SEE ALSO

[dpkg(8)](/dpkg/8.md), [apt-get(8)](/apt-get/8.md)

## AUTHOR

Atsushi KAMOSHIDA \<kamop@debian.org\>
