pull-pkg1
Download a package for debian, ubuntu, uca, or a ppa
Usage
pull-pkg [options]
<package
name>
[{release | version}]
Overview
pull-pkg downloads the specified version of <package name>, or the latest version from the specified release. To request a version from a particular pocket say release-pocket (with a magic -release for only the release pocket). If no pocket is specified, all pockets will be searched except -backports. If no version or release is specified, the latest version in the development release will be downloaded.
There are convenience scripts that set pull type and distribution appropriately: these are pull-lp-source, pull-lp-debs, pull-lp-ddebs, and pull-lp-udebs, which all pull Ubuntu packages; pull-debian-source, pull-debian-debs, pull-debian-ddebs, and pull-debian-udebs, which all pull Debian packages; pull-uca-source, pull-uca-debs, pull-uca-ddebs, and pull-uca-udebs, which all pull Ubuntu Cloud Archive packages; and pull-ppa-source, pull-ppa-debs, pull-ppa-ddebs, and pull-ppa-udebs, which all pull from a specified Personal Package Archive on Launchpad. Each script pulls the file type in its name, i.e. source, debs, ddebs, or udebs.
Options
Listed below are the command line options for pull-pkg:
- package name
-
This is name of the package to downloaded. You can use either the source package name, or binary package name.
- version
-
This is the version of the package to downloaded.
- release
-
This is the release to downloaded from. For debian, you can use either the release name like
jessieorsid, or you can use the special release namesunstable,stable, ortesting. For ubuntu, you can use either the release name likexenialor the release-pocket likexenial-proposed. For ubuntu cloud archive (uca) you can use either the uca release name likemitakaor the ubuntu and uca release names liketrusty-mitaka. Defaults to the current development release.
-
-h, --help -
Display a help message and exit.
-
-v, --verbose -
Be verbose about what is being done.
-
-d, --download-only -
Do not extract the source package (applies only to source packages).
-
-m MIRROR, --mirror=MIRROR -
Use the specified mirror server. Should be in the form
http://archive.ubuntu.com/ubuntuorhttp://deb.debian.org/debian. If not specified or if the package is not found on the specified mirror, this will fall back to the default mirror(s) and/or mirror(s) from environment variables, and then will fall back to Launchpad or Debian Snapshot. This can be specified multiple times to try multiple mirrors.
-
--no-conf -
Do not use mirrors from the default configuration, or from any environment variables.
-
-a ARCH, --arch=ARCH -
Get binary packages from the ARCH architecture. Defaults to the local architecture, if it can be deteected.
-
-p PULL, --pull=PULL -
What to pull:
source,debs,ddebs,udebs, orlist. Thelistaction only lists all a package's source and binary files, but does not actually download any. Defaults tosource.
-
-D DISTRO, --distro=DISTRO -
Pull from:
debian,uca,ubuntu, or appa.lpcan be used instead ofubuntu. Any string containingcloudcan be used instead ofuca. If pulling from a ppa, you must specify the PPA. Defaults toubuntu.
-
--ppa=ppa:USER/NAME -
Applies only when
distrois ppa. Can be provided either as a value to the--ppaoption parameter, or as a plain option (like release or version). When specified as a plain option, the form must beppa:USER/NAME; when specified as a value to the--ppaoption parameter, the leadingppa:is optional.
Environment
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files.
Configuration variables
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable.
|
The default mirror. |
|---|---|
|
The default mirror when using the |
|
The default mirror when using the associated script. |
Releases
Unchanged in 3 releases since Debian 11 (Bullseye).