Unable to publish updated snapshot

275 views
Skip to first unread message

Werner van der Merwe

unread,
Aug 6, 2022, 12:44:35 AM8/6/22
to aptly-discuss
Hi, I've managed to get aptly running, but having trouble publishing the updates snapshots.

$ aptly publish list
Published repositories:
  * filesystem:saicom:monthly/focal [amd64] publishes {main: [focal-final-202206]: Merged from sources: 'focal-202206', 'focal-updates-202206', 'focal-security-202206', 'focal-backports-202206'}

I merged the updated snapshot:
aptly snapshot merge -latest focal-final-$(date +%Y%m) focal-$(date +%Y%m) focal-updates-$(date +%Y%m) focal-security-$(date +%Y%m) focal-backports-$(date +%Y%m)

But having trouble with the syntax of the switch
Docs says:  $ aptly publish switch <distribution> [[<endpoint:>]<prefix>] <new-snapshot>
So I ran:
$ aptly publish switch focal focal-final-$(date +%Y%m)
ERROR: unable to update: published repo with storage:prefix/distribution ./focal not found

$ aptly publish switch filesystem:saicom:monthly focal-final-$(date +%Y%m)
ERROR: unable to update: published repo with storage:prefix/distribution ./filesystem:saicom:monthly not found

Could someone help me out with the syntax please?





werner...@gmail.com

unread,
Aug 6, 2022, 1:02:43 AM8/6/22
to aptly-discuss

Apologies, I misunderstood the documented syntax.

 

This did it:

$ aptly publish switch focal filesystem:saicom:monthly focal-final-$(date +%Y%m)

 

Generating metadata files and linking package files...

6091 / 74251 [==============>--------------------------------------------------------------------------]   8.20% 2m30s

--
You received this message because you are subscribed to a topic in the Google Groups "aptly-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aptly-discuss/3-J6Pxq3mho/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aptly-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aptly-discuss/d0b0374b-f2d4-4ca6-abe1-5ea7a4e37f2cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages