---
name: "avg-pkg-build-space"
section: "1"
platform: "linux"
package: "sbuild"
version: "0.52"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/avg-pkg-build-time"
---

# avg-pkg-build-space(1)

display or alter database of package build times/space

Part of [avg-pkg-build-time(1)](/avg-pkg-build-time/1.md).

## NAME

avg-pkg-build-time - display or alter database of package build times/space

## SYNOPSIS

**avg-pkg-build-time** **avg-pkg-build-space** \[-s/--space\] \[-a/--add \<package name\> \<time\>\] \[--delete \<package name\>\] \[--dump\] \[-t/--top\]

## VERSION

This man page documents the packaged version of sbuild.  This version is maintained by the **buildd-tools** project developers on Alioth (`https://alioth.debian.org/projects/buildd-tools/`).

## DESCRIPTION

**avg-pkg-build-time** displays or alters data from a database of package build times or space, usually updated by sbuild.

If no option is given **avg-pkg-build-time** will display the entire contents of the database.  If called as **avg-pkg-build-space**, it will use the database of build space requirements.

The database files are only used if they already exist.  See *README.Debian* for more information.

### OPTIONS

- *-a*,*--add \<package name\> \<time\>*

  Add an entry for a package. \<time\> is in the format HH:MM:SS, where hours and minutes are optional.

- *--delete \<package name\>*

  Remove the data for a package from the database.

- *--dump*

  Output the contents of the database in unprocessed form.

- *-s*,*--space*

  Display space instead of time.

- *-t*,*--top*

  Sort the output by build time; longest build first.

## ENVIRONMENT VARIABLES

The following environment variables are used by **avg-pkg-build-time**:

- HOME

  The home directory of the user.

## FILES

**avg-pkg-build-time** reads the sbuild configuration files (*/usr/share/sbuild/sbuild.conf*, */etc/sbuild/sbuild.conf* and *~/.sbuildrc* (if it exists)) to discover the location of the database.

## DIAGNOSTICS

None.

## AUTHOR

```
Roman Hodek
Roman.Hodek@informatik.uni-erlangen.de
```

## SEE ALSO

[**sbuild**(1)](/sbuild/1.md).
