Cloudron install on Ubuntu 22.04 broken
-
Hello,
I am concerned that I can setup Cloudron on a new server so I can migrate my apps over to the new server. I am seeing a huge issue when 4 dependencies need to install and they are in the ca.archive.ubuntu.com server and it will not resolve. Here is the results of me testing and it failing to resolve and next will be logs showing it failing:
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:4 http://ca.archive.ubuntu.com/ubuntu jammy-security InRelease
Err:5 http://ca.archive.ubuntu.com/ubuntu jammy Release
Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable)
Err:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates Release
Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable)
Err:7 http://ca.archive.ubuntu.com/ubuntu jammy-backports Release
Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable)
Err:8 http://ca.archive.ubuntu.com/ubuntu jammy-security Release
Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to ca.archive.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable)
Reading package lists... Done
E: The repository 'http://ca.archive.ubuntu.com/ubuntu jammy Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ca.archive.ubuntu.com/ubuntu jammy-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ca.archive.ubuntu.com/ubuntu jammy-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ca.archive.ubuntu.com/ubuntu jammy-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.Here are the logs from the install at the point where collectd is to be installed:
echo "==> Install collectd"
==> Install collectdwithout this, libnotify4 will install gnome-shell
apt-get install -y libnotify4 libcurl3-gnutls --no-install-recommends
Reading package lists...
Building dependency tree...
Reading state information...
libcurl3-gnutls is already the newest version (7.81.0-1ubuntu1.14).
libcurl3-gnutls set to manually installed.
The following additional packages will be installed:
libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common
Suggested packages:
gnome-shell | notification-daemon
Recommended packages:
libgdk-pixbuf2.0-bin
The following NEW packages will be installed:
libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libnotify4
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 174 kB of archives.
After this operation, 653 kB of additional disk space will be used.
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.>
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42>
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu>
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.>
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42>
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu>
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.>
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42>
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu>
Err:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.>
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42>
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu>
Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-co>
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf-2.0-0>
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/libn/libnotify/libnotify4_0.7.9->
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?Anyway I can get around this to install Cloudron would be amazing!
-
-
-
Also, which VPS are you installing this on? Or is this a home server / internal network ?
-
I did a fresh install of Ubuntu Server 22.04.3 lts and disabled ipv6 in /etc/default/grub, did a sudo update-grub to restart grub with the change I did and did the Cloudron install and got the same error:
echo "==> Install collectd"
==> Install collectdwithout this, libnotify4 will install gnome-shell
apt-get install -y libnotify4 libcurl3-gnutls --no-install-recommends
Reading package lists...
Building dependency tree...
Reading state information...
libcurl3-gnutls is already the newest version (7.81.0-1ubuntu1.14).
libcurl3-gnutls set to manually installed.
The following additional packages will be installed:
libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common
Suggested packages:
gnome-shell | notification-daemon
Recommended packages:
libgdk-pixbuf2.0-bin
The following NEW packages will be installed:
libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libnotify4
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 174 kB of archives.
After this operation, 653 kB of additional disk space will be used.
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.42.8+dfsg-1ubuntu0.2
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.8+dfsg-1ubuntu0.2
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu5.22.04.1
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.42.8+dfsg-1ubuntu0.2
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.8+dfsg-1ubuntu0.2
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu5.22.04.1
Ign:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.42.8+dfsg-1ubuntu0.2
Ign:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.8+dfsg-1ubuntu0.2
Ign:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu5.22.04.1
Err:1 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf2.0-common all 2.42.8+dfsg-1ubuntu0.2
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:2 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgdk-pixbuf-2.0-0 amd64 2.42.8+dfsg-1ubuntu0.2
Temporary failure resolving 'ca.archive.ubuntu.com'
Err:3 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnotify4 amd64 0.7.9-3ubuntu5.22.04.1
Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-common_2.42.8%2Bdfsg-1ubuntu0.2_all.deb Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf-2.0-0_2.42.8%2Bdfsg-1ubuntu0.2_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'
E: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/libn/libnotify/libnotify4_0.7.9-3ubuntu5.22.04.1_amd64.deb Temporary failure resolving 'ca.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?what else could be causing the issue?
-
Oh please continue to copy & paste without any regard to format or readability
-
Try these, and by "try" I mean follow the various solutions. This isn't a cloudon problem, it's a connection problem (this
Temporary failure resolving 'ca.archive.ubuntu.com'
is the clue.) And sadly, by the time you determine what the issue is and fix it, the installer will have had a few failed attempts and may not be able to continue since things are "already installed". So, keep track of what the fix was, redo the VM, do the fix, THEN run the Cloudron installer. I've had this happen to me on 2 different VPSes. I've added a few different sites offering the same general solutions, but sometimes the wording, or the layout, or even the colors make one more comprehensible than the other. Good luck!https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error
https://itslinuxfoss.com/fix-temporary-failure-resolving-archive-ubuntu-com-error/
https://ubuntuforums.org/showthread.php?t=2456044 -
Please close this as solved because I figured out the problem. It was due to a bug with the Unbound DNS resolver from Cloudron. I had to add to the /etc/unbound/unbound.conf.d a new file called forward-everything.conf and add in my own DNS in a script since I found the problem in the docs on Cloudron.io.
-
-
-
I'm trying to install on a PC on my home network and getting this same error every time, despite using a fresh install of Ubuntu each time.
(I'm following the instructions on the Cloudron blog here.)
Is there any documentation that step-by-step explains how to resolve this so Cloudron will install (aka a "for dummies" version)?
-
@alphy Here is what I posted to resolve the issue:
Please close this as solved because I figured out the problem. It was due to a bug with the Unbound DNS resolver from Cloudron. I had to add to the /etc/unbound/unbound.conf.d a new file called forward-everything.conf and add in my own DNS in a script since I found the problem in the docs on Cloudron.io. -
@skeats said in Cloudron install on Ubuntu 22.04 broken:
I found the problem in the docs on Cloudron.io.
Could you provide a better link to "the problem" in the docs please?
-