moshix / zlinux

a zLinux installer for Hercules
23 stars 6 forks source link

Installation: ERROR: Bad archive mirror #10

Closed duselguy closed 8 months ago

duselguy commented 8 months ago

Trying to install Ubuntu 18.04 under Hercules version 4.7.0 in Ubuntu 22.04.1

Stopped at: ... Checking the Ubuntu archive mirror

ERROR: Bad archive mirror

An error has been detected while trying to use the specified Ubuntu archive
mirror.

Possible reasons for the error are: incorrect mirror specified; mirror is not
available (possibly due to an unreliable network connection); mirror is broken
(for example because an invalid Release file was found); mirror does not
support the correct Ubuntu version.

Additional details may be available in /var/log/syslog or on virtual console 4.

Please check the specified mirror or try a different one.
Press enter to continue! ...

sudo tcpdump -i tun1 tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on tun1, link-type RAW (Raw IP), snapshot length 262144 bytes 03:56:59.875122 IP 10.1.1.2.36406 > one.one.one.one.domain: 33691+ A? us.ports.ubuntu.com. (37) 03:56:59.875325 IP 10.1.1.2.36406 > one.one.one.one.domain: 33723+ AAAA? us.ports.ubuntu.com. (37) 03:57:04.881058 IP 10.1.1.2.47123 > dns.google.domain: 33691+ A? us.ports.ubuntu.com. (37) 03:57:04.881264 IP 10.1.1.2.47123 > dns.google.domain: 33723+ AAAA? us.ports.ubuntu.com. (37) 03:57:09.886982 IP 10.1.1.2.36406 > one.one.one.one.domain: 33691+ A? us.ports.ubuntu.com. (37) 03:57:09.887190 IP 10.1.1.2.36406 > one.one.one.one.domain: 33723+ AAAA? us.ports.ubuntu.com. (37) 03:57:14.892866 IP 10.1.1.2.47123 > dns.google.domain: 33691+ A? us.ports.ubuntu.com. (37) 03:57:14.893071 IP 10.1.1.2.47123 > dns.google.domain: 33723+ AAAA? us.ports.ubuntu.com. (37) 03:57:20.087022 IP 10.1.1.2.49830 > one.one.one.one.domain: 41492+ A? us.ports.ubuntu.com. (37) 03:57:20.087217 IP 10.1.1.2.49830 > one.one.one.one.domain: 41524+ AAAA? us.ports.ubuntu.com. (37) 03:57:25.093112 IP 10.1.1.2.52869 > dns.google.domain: 41492+ A? us.ports.ubuntu.com. (37) 03:57:25.093316 IP 10.1.1.2.52869 > dns.google.domain: 41524+ AAAA? us.ports.ubuntu.com. (37) 03:57:30.098868 IP 10.1.1.2.49830 > one.one.one.one.domain: 41492+ A? us.ports.ubuntu.com. (37) 03:57:30.099073 IP 10.1.1.2.49830 > one.one.one.one.domain: 41524+ AAAA? us.ports.ubuntu.com. (37) 03:57:35.104623 IP 10.1.1.2.52869 > dns.google.domain: 41492+ A? us.ports.ubuntu.com. (37) 03:57:35.104833 IP 10.1.1.2.52869 > dns.google.domain: 41524+ AAAA? us.ports.ubuntu.com. (37)

misterspock1 commented 8 months ago

Yeah had the same issue, These sorts of problems are to be expected as this version of Ubuntu becomes deprecated, I suppose. EOL was 30-APR-2023.

duselguy commented 8 months ago

@misterspock1 May be to download and use 18.04 related infrastructure locally?

duselguy commented 8 months ago

Installation completed OK after: 1) Remove IPv6 from interfaces in host system: sysctl net.ipv6.conf.all.disable_ipv6=1 sysctl net.ipv6.conf.default.disable_ipv6=1 2) Change DNS servers addresses from Google to provider's in guest system in templates/preseed.template :

d-i netcfg/get_nameservers string 1.1.1.1 8.8.8.8

d-i netcfg/get_nameservers string ... ...