Cloudron install error (dpkg error)
-
-
Grrr. I tried with
VPS 500 G10s Root-Server
. Turns out it has no AVX...@m-si what server type are you using on Netcup?
-
@girish At Netcup you need their "Root-Servers", so one of these https://www.netcup.de/vserver/
Reading the post made me remember that not that long ago I also made a new installation on a Netcup RS 2000 G9.5 with their normal Ubuntu image. It did not complain that resolfconf was missing, but instead that
/etc/resolv.conf
was marked immutable. Since he makes the file readable in his snippet I think @m-si ran into the same issue. -
@fbartels thanks!
Luckily, I managed to reproduce this already by simply commenting out the AVX check. Debugging...
Setting up nginx-full (1.18.0-6ubuntu14.4) ... Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Processing triggers for ufw (0.36.1-4ubuntu0.1) ... Processing triggers for man-db (2.10.2-1) ... Errors were encountered while processing: resolvconf needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1)
-
@fbartels you are right the immutability is solved by the last two lines
sudo chattr -i /etc/resolv.conf && ...
but with my RS 2000 G9.5 the whole resolv.conf seemed to miss when I trieddpkg-reconfigure resolvconf
...therefore I simply installed it...like in the snippet...
@girish The VPS have generally AVX not enabled it's only supported by the RS line a supporter of Netcup told me... Maybe this should be mentioned on the list of cloudron providers... -
Just to say, I think I've said this elsewhere before, but yes, according to Netcup:
I expect the Cloudron install script to work if you run the command "
chattr -i /etc/resolv.conf
" before starting it -
OK, I have deployed a fix to workaround this. Thanks!
-
It's in the general install script but I have seen this only ever on netcup
-