Only main component from ubuntu repo gets published to S3 bucket
@neolynx ci sta già lavorando.
Dal 15/8/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hello,
I try to make a mirror of ubuntu focal and publish it to S3 bucket. I run following commands:
gpg --no-default-keyring --keyring trustedkeys.gpg --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 871920D1991BC93C
aptly mirror create -architectures=amd64 ubuntu-focal-main http://fi.archive.ubuntu.com/ubuntu focal main
aptly mirror update ubuntu-focal-main
aptly mirror create -architectures=amd64 ubuntu-focal-restricted http://fi.archive.ubuntu.com/ubuntu focal restricted
aptly mirror update ubuntu-focal-restricted
aptly snapshot create ubuntu-focal-main-$(date +%Y%m%d) from mirror ubuntu-focal-main
aptly snapshot create ubuntu-focal-restricted-$(date +%Y%m%d) from mirror ubuntu-focal-restricted
aptly snapshot merge ubuntu-focal-all-$(date +%Y%m%d) ubuntu-focal-main-$(date +%Y%m%d) ubuntu-focal-restricted-$(date +%Y%m%d)
aptly publish snapshot ubuntu-focal-all-$(date +%Y%m%d) s3:ubuntu-mirror-sandbox:
Only main component gets published to S3 bucket. Restricted component is not published.
If i try to use -component to upload also restricted, it fails with error:
aptly publish snapshot -component=main,restricted ubuntu-focal-all-$(date +%Y%m%d) s3:ubuntu-mirror-sandbox:
ERROR: unable to publish: snapshot with name s3:ubuntu-mirror-sandbox: not found
This results in following error when try to run apt update:
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository 'https://URLHERE focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en_US' as repository 'https://URLHERE focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en' as repository 'https://URLHERE focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/cnf/Commands-amd64' as repository 'https://URLHERE focal InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
I have following in /etc/apt/sources.list:
deb [signed-by=/etc/apt/trusted.gpg.d/aptly.gpg] https://URLHERE focal main restricted
Aptly version is:
aptly@ubuntu:~$ aptly version
aptly version: 1.6.2
Ubuntu version:
root@ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
- Lingua principale
- Go
- Stelle
- 2.9k
- Fork
- 436
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aptly-dev/aptly
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
Tutte le issue di aptly-dev/aptly
Issue simili
-
Project submission:Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
slavakurilyak/awesome-ai-agents#845 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
JakeChampion/lang#13132 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] deploy.restart_policy without condition drops the restart policyForse già presa @akshat-lakhera l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
docker/compose#14383 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno