Commands import copies packages matching package query
from mirror src-mirror
to local repo dst-repo
. If dependency following
is enabled, aptly would try to copy missing dependencies from
src-mirror
as well.
Usage:
$ aptly repo import <src-mirror> <dst-repo> <package-query> ...
Params are:
src-mirror
packages would be searched in this mirrordst-repo
packages would be copied to this local repositorypackage-query
list of package queriesFlags:
-dry-run
: don’t import, just show what would be imported-with-deps
: follow dependencies when processing
package-queryWhen copying with dependencies, global dependency options are used. For
example, to copy source packages, use -dep-follow-source
. If aptly
won’t be able to guess list of architectures from contents of local
repository dst-repo
, architectures should be specified with
-architectures
flag.
Example:
$ aptly repo import percona testing percona-server-client-5.5
Loading packages...
[o] percona-server-client-5.5_5.5.35-rel33.0-611.squeeze_i386 imported
[o] percona-server-client-5.5_5.5.35-rel33.0-611.squeeze_amd64 imported