-
-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Description
aptly version: 1.6.2
command being run: aptly task run -filename=file_name
the same task that fails while executed via aptly task run -filename=file_name works fine if the same parameters/arguments are passed via aptly command
4) [Running]: -batch -passphrase-file=/opt/passphrase -architectures=amd64 publish snapshot -distribution=focal -component=main -label=production hashicorp-focal-main-20250722 filesystem:repo:hashicorp
Begin command output: ----------------------------
Warning: publishing from empty source, architectures list should be complete, it can't be changed after publishing (use -architectures flag)
Loading packages...
ERROR: unable to publish: unable to figure out list of architectures, please supply explicit list
# aptly -batch -passphrase-file=/opt/passphrase -architectures=amd64 publish snapshot -distribution=focal -component=main -label="production" hashicorp-focal-main-20250722 filesystem:repo:hashicorp
Warning: publishing from empty source, architectures list should be complete, it can't be changed after publishing (use -architectures flag)
Loading packages...
Generating metadata files and linking package files...
Finalizing metadata files...
Signing file 'Release' with gpg, please enter your passphrase when prompted:
Clearsigning file 'Release' with gpg, please enter your passphrase when prompted:
Snapshot hashicorp-focal-main-20250722 has been successfully published.
Please setup your webserver to serve directory '/opt/aptly/public' with autoindexing.
Now you can add following line to apt sources:
deb http://your-server/hashicorp/ focal main
Don't forget to add your GPG key to apt with apt-key.
You can also use `aptly serve` to publish your repositories over HTTP quickly.
Metadata
Metadata
Assignees
Labels
No labels