# b) for a full test of the setup

For a truly clean setup let us fix the example steps in regard to key
handling (the ignore works on create but might still trigger later) as
well as restrict it to amd64 to not deal with ports.ubuntu.com and to be
faster.


# Install aptly
sudo apt update
sudo apt install aptly

# Make the ubuntu keys known to aptly (from pkg ubuntu-keyring which is default 
installed)
ln -sf /usr/share/keyrings/ubuntu-archive-keyring.gpg ~/.gnupg/trustedkeys.gpg

# Define config for a a mirror (amd64 only)
aptly mirror create --architectures=amd64 ubuntu-lts_jammy 
http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse

# Verify failure
aptly mirror list
aptly mirror update ubuntu-lts_jammy

^^ with thse steps the mirroring would now work and with enough time and
bandwidth it could be let run through to see if something happens to the
end of the process

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2140498

Title:
  aptly fails to create new mirrors or decode previous mirror data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptly/+bug/2140498/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to