Installation on brand new Debian 11

webmaster-hub

Verified User
Joined
Oct 6, 2007
Messages
73
Location
France
Trying to install on a brand new server with Debian 11, setup.sh fails with this message.

ns3187621:root# ./setup.sh
Checking for latest build in 'current' release channel...
Downloading DirectAdmin distribution package directadmin_**************************************_linux_amd64.tar.gz...
############################################################################################# 100,0%
Extracting DirectAdmin package directadmin_*************************************_linux_amd64.tar.gz to /usr/local/directadmin ...
.
Please enter your License Key: **********************************************

[setup.sh] Welcome to DirectAdmin installer!

[setup.sh] Using these parameters for the installation:
License Key: *****************************************
DA_CHANNEL: current
DA_EMAIL: [email protected]
DA_HOSTNAME: ns3187621.ip-135-125-87.eu
DA_ETH_DEV:
DA_NS1: ns1.ip-135-125-87.eu
DA_NS2: ns2.ip-135-125-87.eu
DA_SKIP_FASTEST: no
DA_SKIP_CSF: no
DA_SKIP_MYSQL_INSTALL: no
DA_SKIP_SECURE_PHP: no
DA_SKIP_CUSTOMBUILD: no
DA_INTERACTIVE_CUSTOMBUILD: true
DA_FOREGROUND_CUSTOMBUILD: no

[setup.sh] Starting installation...
* Installing pre-install packages ....
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Le paquet perl-modules est un paquet virtuel fourni par :
fi
perl-modules-5.28 5.28.1-6+deb10u1
perl-modules-5.32 5.32.1-4+deb11u2
Vous devez explicitement sélectionner un paquet à installer.

E: Le paquet « perl-modules » n'a pas de version susceptible d'être installée

The packet perl-modules under Debian 11 is a virtual packet which couldn't be installed.

Dan
 
Last edited:
I modified the script /usr/local/directadmin/scripts/setup.sh, removing 2 instances of perl-modules and edited the global setup.sh commenting out the line "tar xvzf..." that was already unarchived.

Then it succeded installing !
 
That's odd. Because if I go looking under Debian packages, these are present:

Pakket perl-modules-5.32​

Pakket perl-modules-5.34​

I'm not really very well known with French, but if I read this:
Vous devez explicitement sélectionner un paquet à installer.
it means: You must explicitly select a package to install.

So probably it would have been enough to remove this line:
perl-modules-5.28 5.28.1-6+deb10u1

I presume you did the pre-install commands before for Debian 10?

So I would still try to install the perl-modules via apt if I was you.
 
Hi Richard,

Yes, those packages 5.32 and 5.34 are installed on my server as well !
But it is incorrect to ask for installation of perl-modules because you have to explicitely ask for either perl-modules-5.32 or 5.34 (or both)

It doesn't work with "apt install perl-modules", as the setup.sh script is using that (with other packages) and that's what is complaining. ;)

Greetings,

Dan
 
Last edited:
Back
Top