Azure Ubuntu 18.04 fails
Hi, I've tried several times now with a Ubuntu 18.04 in Azure, but it fails every time. I create a Ubuntu 18.04 image in Azure, and run the script.
The only modification I do to the script is:
sed -i -e 's/=all/=NO/g' -e 's/Worldwide/Norway/g' vps2arch
I also, sometimes tried without this modification and sometimes with Ireland or other countries. However it fails no matter.
Here is the log:
(snip some lines)
gpg: depth: 1 valid: 5 signed: 70 trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2 valid: 70 signed: 8 trust: 70-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2018-12-13
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
warning: gawk-4.2.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) gawk-4.2.1-1
Total Download Size: 1.02 MiB
Total Installed Size: 2.47 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gawk-4.2.1-1-x86_64 1047.3 KiB 3.55M/s 00:00 [################################################] 100%
(1/1) checking keys in keyring [################################################] 100%
(1/1) checking package integrity [################################################] 100%
(1/1) loading package files [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) checking available disk space [################################################] 100%
:: Processing package changes...
(1/1) reinstalling gawk [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.archlinux.no : Could not resolve host: mirror.archlinux.no
error: failed retrieving file 'core.db' from archlinux.uib.no : Could not resolve host: archlinux.uib.no
error: failed retrieving file 'core.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'core.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'core.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed retrieving file 'core.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.archlinux.no : Could not resolve host: mirror.archlinux.no
error: failed retrieving file 'extra.db' from archlinux.uib.no : Could not resolve host: archlinux.uib.no
error: failed retrieving file 'extra.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'extra.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'extra.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed retrieving file 'extra.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.archlinux.no : Could not resolve host: mirror.archlinux.no
error: failed retrieving file 'community.db' from archlinux.uib.no : Could not resolve host: archlinux.uib.no
error: failed retrieving file 'community.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'community.db' from mirror.homelab.no : Could not resolve host: mirror.homelab.no
error: failed retrieving file 'community.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed retrieving file 'community.db' from mirror.neuf.no : Could not resolve host: mirror.neuf.no
error: failed to update community (download library error)
error: failed to synchronize all databases
==> ERROR: Failed to install packages to new root
And this seems to ruining the whole of the VM and I just have to delete it.... (Well, I think I expected that...) What is actually failing here? Why can't it resolve the host?
However the script works fine with Ubuntu 14.04...