You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest released version of aptly installed (1.4.0), updating the lockfile for the nginx example fails with:
$ ninja update-lockfile-Packages.lock
[1/1] update_lockfile(create_mirrors=_build/apt/lockfile/create_mirrors-0410e03, keyring_arg=-keyring=.....=mirror-0,mirror-1,mirror-2, packages=nginx-core, architecture=amd64, out=update-lockfile-Packages.lock)
FAILED: update-lockfile-Packages.lock
set -ex; export tmpdir="_build/tmp/update_lockfile/$(systemd-escape update-lockfile-Packages.lock)"; rm -rf $tmpdir; mkdir -p $tmpdir; export HOME=$tmpdir; _build/apt/lockfile/create_mirrors-0410e03; aptly lockfile create -mirrors "mirror-0,mirror-1,mirror-2" -architectures=amd64 -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-cdimage.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-archive.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2018-archive.gpg -gpg-provider=internal nginx-core >Packages.lock~; if cmp Packages.lock~ Packages.lock; then rm Packages.lock~; else mv Packages.lock~ Packages.lock; fi; rm -rf "$tmpdir";
+ systemd-escape update-lockfile-Packages.lock
+ export tmpdir=_build/tmp/update_lockfile/update\x2dlockfile\x2dPackages.lock
+ rm -rf _build/tmp/update_lockfile/update\x2dlockfile\x2dPackages.lock
+ mkdir -p _build/tmp/update_lockfile/update\x2dlockfile\x2dPackages.lock
+ export HOME=_build/tmp/update_lockfile/update\x2dlockfile\x2dPackages.lock
+ _build/apt/lockfile/create_mirrors-0410e03
+ aptly mirror create -architectures=amd64 -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-cdimage.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-archive.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2018-archive.gpg -gpg-provider=internal mirror-0 http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
Config file not found, creating default config at _build/tmp/update_lockfile/update\x2dlockfile\x2dPackages.lock/.aptly.conf
Downloading http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease...
openpgp: Signature made Fri, 27 Apr 2018 00:38:40 BST using RSA key ID 3B4FE6ACC0B21F32
openpgp: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>"
Mirror [mirror-0]: http://archive.ubuntu.com/ubuntu/ bionic successfully added.
You can run 'aptly mirror update mirror-0' to download repository contents.
+ aptly mirror create -architectures=amd64 -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-cdimage.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-archive.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2018-archive.gpg -gpg-provider=internal mirror-1 http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
Downloading http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease...
openpgp: Signature made Sat, 07 Aug 2021 22:06:19 BST using RSA key ID 3B4FE6ACC0B21F32
openpgp: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>"
Mirror [mirror-1]: http://archive.ubuntu.com/ubuntu/ bionic-updates successfully added.
You can run 'aptly mirror update mirror-1' to download repository contents.
+ aptly mirror create -architectures=amd64 -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-cdimage.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-archive.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2018-archive.gpg -gpg-provider=internal mirror-2 http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Downloading http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease...
openpgp: Signature made Sat, 07 Aug 2021 22:05:19 BST using RSA key ID 3B4FE6ACC0B21F32
openpgp: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <[email protected]>"
Mirror [mirror-2]: http://archive.ubuntu.com/ubuntu/ bionic-security successfully added.
You can run 'aptly mirror update mirror-2' to download repository contents.
+ aptly lockfile create -mirrors mirror-0,mirror-1,mirror-2 -architectures=amd64 -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-cdimage.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2012-archive.gpg -keyring=../../apt2ostree/keyrings/ubuntu/bionic/ubuntu-keyring-2018-archive.gpg -gpg-provider=internal nginx-core
aptly - Debian repository management tool
Commands:
api start API server/issue requests
config manage aptly configuration
db manage aptly's internal database and package pool
graph render graph of relationships
mirror manage mirrors of remote repositories
package operations on packages
publish manage published repositories
repo manage local package repositories
serve HTTP serve published repositories
snapshot manage snapshots of repositories
task manage aptly tasks
version display version
Use "aptly help <command>" for more information about a command.
Options:
-architectures="": list of architectures to consider during (comma-separated), default to all available
-config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
-db-open-attempts=10: number of attempts to open DB if it's locked by other instance
-dep-follow-all-variants: when processing dependencies, follow a & b if dependency is 'a|b'
-dep-follow-recommends: when processing dependencies, follow Recommends
-dep-follow-source: when processing dependencies, follow from binary to Source packages
-dep-follow-suggests: when processing dependencies, follow Suggests
-dep-verbose-resolve: when processing dependencies, print detailed logs
-gpg-provider="": PGP implementation ("gpg", "gpg1", "gpg2" for external gpg or "internal" for Go internal implementation)
ERROR: unable to parse command
ninja: build stopped: subcommand failed.
Note that this happened whilst I had edited the configure.py to point at bionic instead of xenial, if I leave it at xenial, I get:
With the latest released version of
aptly
installed (1.4.0), updating the lockfile for the nginx example fails with:Note that this happened whilst I had edited the
configure.py
to point atbionic
instead ofxenial
, if I leave it atxenial
, I get:The text was updated successfully, but these errors were encountered: