Comment 43 for bug 1825755

Revision history for this message
Heather Lemon (hypothetical-lemon) wrote :

Hi Andreas
> I don't think this is expected to work today, since eoan is EOL and doesn't exist at that URL anymore. I would have changed the ubuntu release to mirror to something that is still available, like jammy itself.

ack, okay I was following the impact notes which list eoan, I didn't realize it's been open since 2020.

I did a re-test with jammy and running apt-mirror succeeds as well as apt-update.
*If there's a specific command to run please let me know since the impact description was not able to be completed during original testing.

### JAMMY VERIFICATION-DONE #2 ###

Re-test problem first
# /etc/apt/mirror.list - by default (no changes)
-------------
deb http://archive.ubuntu.com/ubuntu artful main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu artful-proposed main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse

deb-src http://archive.ubuntu.com/ubuntu artful main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu artful-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu artful-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu artful-proposed main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu artful-backports main restricted universe multiverse

clean http://archive.ubuntu.com/ubuntu
-------------

update /etc/apt/mirror.list to include and comment everything else out:
deb http://archive.ubuntu.com/ubuntu jammy multiverse

update /etc/apt/sources.list and comment everything out.

-------------

# run apt-mirror
apt-mirror

Downloading 14 index files using 14 threads...
Begin time: Fri Mar 8 21:22:27 2024
[14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Fri Mar 8 21:22:30 2024

Processing translation indexes: [T]

Downloading 105 translation files using 20 threads...
Begin time: Fri Mar 8 21:22:30 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Fri Mar 8 21:22:31 2024

Processing DEP-11 indexes: [D]

Downloading 8 dep11 files using 8 threads...
Begin time: Fri Mar 8 21:22:31 2024
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Fri Mar 8 21:22:31 2024

Processing indexes: [P]

6.6 GiB will be downloaded into archive.
Downloading 881 archive files using 20 threads...
Begin time: Fri Mar 8 21:22:31 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Fri Mar 8 21:26:26 2024

0 bytes in 0 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)

Post Mirror script has completed. See above output for any possible errors.

-----------------------------

# enabled proposed pocket
new apt-mirror version: 0.5.4-1ubuntu1.20.04.1
apt-get install --only-upgrade apt-mirror

# edit /etc/apt/mirror.list to use only multiverse - not in ubuntu.com archive
deb https://ftp.uni-stuttgart.de/ubuntu/ focal multiverse

# edit /etc/apt/sources.list - use only multiverse for sizing
deb http://archive.ubuntu.com/ubuntu jammy multiverse
deb http://archive.ubuntu.com/ubuntu jammy-updates multiverse

# re-run apt-mirror
----------------------
apt-mirror
Downloading 14 index files using 14 threads...
Begin time: Mon Mar 11 14:55:22 2024
[14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 11 14:55:30 2024

Processing translation indexes: [T]

Downloading 147 translation files using 20 threads...
Begin time: Mon Mar 11 14:55:30 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... ^C
root@jammy-list-mirror:/etc/apt# vim mirror.list
root@jammy-list-mirror:/etc/apt# apt-mirror
Downloading 14 index files using 14 threads...
Begin time: Mon Mar 11 14:55:53 2024
[14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 11 14:56:10 2024

Processing translation indexes: [T]

Downloading 105 translation files using 20 threads...
Begin time: Mon Mar 11 14:56:10 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 11 14:56:13 2024

Processing DEP-11 indexes: [D]

Downloading 8 dep11 files using 8 threads...
Begin time: Mon Mar 11 14:56:13 2024
[8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 11 14:56:15 2024

Processing cnf indexes: [C]

Downloading 2 cnf files using 2 threads...
Begin time: Mon Mar 11 14:56:15 2024
[2]... [1]... [0]...
End time: Mon Mar 11 14:56:15 2024

Processing indexes: [P]

5.3 GiB will be downloaded into archive.
Downloading 813 archive files using 20 threads...
Begin time: Mon Mar 11 14:56:15 2024
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]...
[0]...
End time: Mon Mar 11 15:04:50 2024

6.7 GiB in 1000 files and 562 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)

Post Mirror script has completed. See above output for any possible errors.
-------------------

I edited the sources.list again to include the other mirror
https://ftp.uni-stuttgart.de/ubuntu
then ran apt-get update
-------------------
apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:3 https://ftp.uni-stuttgart.de/ubuntu focal InRelease [265 kB]
Get:4 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:5 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse Translation-en [104 kB]
Get:6 https://ftp.uni-stuttgart.de/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
Fetched 523 kB in 3s (181 kB/s)
Reading package lists... Done

-----------------

Seems to be what is expected please let me know of any other testing.

Thanks,
Heather Lemon

### JAMMY VERIFICATION-DONE #2 ###