0

The 22.02 (prior version) had no apt issues. After upgrade lots of repositories errors. Cannot install packages.

Current version:

leonbrag@minivm:/etc/apt$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble

This is an output with errors:

leonbrag@minivm:~$ sudo apt update
[sudo] password for leonbrag:
Hit:1 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu noble-proposed InRelease [265 kB]
Hit:8 http://security.ubuntu.com/ubuntu noble InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [782 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [7,252 B]
Get:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [52.0 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:15 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [977 kB]
Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:17 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:18 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [313 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:20 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:21 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:22 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [17.7 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:24 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64 Components [50.7 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu noble-proposed/restricted amd64 Components [212 B]
Get:26 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Components [73.8 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu noble-proposed/multiverse amd64 Components [212 B]
Get:29 http://ports.ubuntu.com/ubuntu-ports noble InRelease [256 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages [782 kB]
Ign:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
Get:39 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Components [151 kB]
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Get:41 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Components [212 B]
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Get:43 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Components [313 kB]
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Components [940 B]
Ign:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
Get:51 http://ports.ubuntu.com/ubuntu-ports noble-backports/main amd64 Components [208 B]
Get:52 http://ports.ubuntu.com/ubuntu-ports noble-backports/restricted amd64 Components [216 B]
Ign:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Components [17.7 kB]
Get:60 http://ports.ubuntu.com/ubuntu-ports noble-backports/multiverse amd64 Components [212 B]
Get:60 http://ports.ubuntu.com/ubuntu-ports noble-backports/multiverse amd64 Components [212 B]
Get:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages [584 kB]
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Get:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages [977 kB]
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Ign:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
Get:65 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Components [7,252 B]
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Get:67 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Components [212 B]
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Components [52.0 kB]
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Get:82 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Components [212 B]
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Ign:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Ign:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Ign:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Ign:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Ign:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Ign:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Ign:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Err:30 http://ports.ubuntu.com/ubuntu-ports noble-updates/main amd64 Packages
  404  Not Found [IP: 2620:2d:4000:1::19 80]
Ign:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
Ign:40 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted amd64 Packages
Ign:42 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe amd64 Packages
Ign:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse amd64 Packages
Ign:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Err:53 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe amd64 Packages
  404  Not Found [IP: 2620:2d:4000:1::19 80]
Err:64 http://ports.ubuntu.com/ubuntu-ports noble-security/main amd64 Packages
  404  Not Found [IP: 2620:2d:4000:1::19 80]
Ign:66 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted amd64 Packages
Ign:68 http://ports.ubuntu.com/ubuntu-ports noble-security/universe amd64 Packages
Ign:81 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse amd64 Packages
Err:83 http://ports.ubuntu.com/ubuntu-ports noble/main amd64 Packages
  404  Not Found [IP: 2620:2d:4000:1::19 80]
Ign:84 http://ports.ubuntu.com/ubuntu-ports noble/restricted amd64 Packages
Ign:85 http://ports.ubuntu.com/ubuntu-ports noble/universe amd64 Packages
Ign:86 http://ports.ubuntu.com/ubuntu-ports noble/multiverse amd64 Packages
Fetched 4,248 kB in 7s (591 kB/s)
Reading package lists... Done
N: Ignoring file 'ubuntu.sources.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble-updates/main/binary-amd64/Packages  404  Not Found [IP: 2620:2d:4000:1::19 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble-backports/universe/binary-amd64/Packages  404  Not Found [IP: 2620:2d:4000:1::19 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble-security/main/binary-amd64/Packages  404  Not Found [IP: 2620:2d:4000:1::19 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/noble/main/binary-amd64/Packages  404  Not Found [IP: 2620:2d:4000:1::19 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (universe/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/glennr-install-script.sources:2 and /etc/apt/sources.list.d/ubuntu.sources:2
N: Missing Signed-By in the sources.list(5) entry for 'http://security.ubuntu.com/ubuntu'
N: Missing Signed-By in the sources.list(5) entry for 'http://archive.ubuntu.com/ubuntu'

This is content of the repository file:

leonbrag@minivm:/etc/apt$ cat sources.list
# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
##     or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

newer versions of the distribution.

deb http://ports.ubuntu.com/ubuntu-ports noble main restricted

deb-src http://ports.ubuntu.com/ubuntu-ports jammy main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team. Also, please note that software in universe WILL NOT receive any

review or updates from the Ubuntu security team.

deb http://ports.ubuntu.com/ubuntu-ports noble universe

deb-src http://ports.ubuntu.com/ubuntu-ports jammy universe

deb http://ports.ubuntu.com/ubuntu-ports noble-updates universe

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://ports.ubuntu.com/ubuntu-ports noble multiverse

deb-src http://ports.ubuntu.com/ubuntu-ports jammy multiverse

deb http://ports.ubuntu.com/ubuntu-ports noble-updates multiverse

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-updates multiverse

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse

deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted

deb http://ports.ubuntu.com/ubuntu-ports noble-security universe

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security universe

deb http://ports.ubuntu.com/ubuntu-ports noble-security multiverse

deb-src http://ports.ubuntu.com/ubuntu-ports jammy-security multiverse

leon
  • 101

0 Answers0