Hi , I'm currently planning to migrate a debian wheezy mail server running ISPconfig version 3.1.13 to Debian 10 Buster. I'm getting however error with php-curl module, it's just saying it's missing php-curl module and exiting the installer. Has anyone encountered similar problem before. I'm not finding any relevant post here or on the internet on how to install this particular module, although I've installed curl. Is better if I upgrade to Jessie and Stretch before do the migration?
No. What's missing is PHP curl module, not the curl program itself. The install command is either: Code: apt-get install php-curl or if this does not work, try: Code: apt-get install php5-curl
Maybe you need to run through a Wheezy perfect server guide, eg. this mentions installing php5-curl: https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3-p4
Hi Till, Thanks for the reply. I have tried both of this commands, but no success: Code: The following packages have unmet dependencies: │ php5-curl : Depends: php5-common (= 5.4.45-0+deb7u2) but 5.4.45-0+deb7u14 is to be installed │ E: Unable to correct problems, you have held broken packages. That's the error I'm getting with : Code: apt-get install php5-curl but when I check the version it is actually : 5.4.45-0+deb7u14 Code: php --version │ PHP 5.4.45-0+deb7u14 (cli) (built: May 9 2018 16:47:00) │ Copyright (c) 1997-2014 The PHP Group │ Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies │ with XCache v2.0.0, Copyright (c) 2005-2012, by mOo Not being able to find how would I rectify this error.
Maybe "apt-get update" would find consistent package versions to use. If not, you might need to find a good/"current" source of wheezy packages to switch to (search the web, I imagine). Another alternative might be to just install a bullseye server with current ISPConfig version and use the migration tool to bring your data over.
It might be that you have to change sources.list to the Debian archive servers if you can't install Debian packages on the old server.
I've updated the system to latest possible. The new server is already with latest ISPConfiguration, the problem is I can't do the migration without the php-curl module.
It's just giving me error for not existing package: Code: apt-get install php-curl │ Reading package lists... Done │ Building dependency tree │ Reading state information... Done │ E: Unable to locate package php-curl
The error message in #4 states Code: you have held broken packages. Check for packages in HOLD state, Code: dpkg --get-selections "*" | grep -i hold It may be the APT system is in a broken state, it may be non-trivial to fix.
Please re-read my post, I suggested you to run this command in case the first one fails: apt-get install php5-curl
I did , it's the error I quoted above, here is it again: Code: apt-get install php5-curl │ Reading package lists... Done │ Building dependency tree │ Reading state information... Done │ Some packages could not be installed. This may mean that you have │ requested an impossible situation or if you are using the unstable │ distribution that some required packages have not yet been created │ or been moved out of Incoming. │ The following information may help to resolve the situation: │ │ The following packages have unmet dependencies: │ php5-curl : Depends: php5-common (= 5.4.45-0+deb7u2) but 5.4.45-0+deb7u14 is to be installed │ E: Unable to correct problems, you have held broken packages. But when checked for held packages there was no output for any
Most likely one os the used repositories is not up to date or something similar. Please run apt-get update command and post the whole output that you get when running the command.
here it is: Code: apt-get update │ Hit http://archive.debian.org wheezy Release.gpg │ Hit http://archive.debian.org wheezy Release │ Hit http://archive.debian.org wheezy/contrib Translation-en │ Hit http://archive.debian.org wheezy/main Translation-en │ Hit http://archive.debian.org wheezy/non-free Translation-en │ Hit http://archive.debian.org wheezy/main Sources │ Hit http://archive.debian.org wheezy/non-free Sources │ Hit http://archive.debian.org wheezy/contrib Sources │ Hit http://archive.debian.org wheezy/main amd64 Packages │ Hit http://archive.debian.org wheezy/non-free amd64 Packages │ Hit http://archive.debian.org wheezy/contrib amd64 Packages │ Reading package lists... Done │ root@srv5# apt-get upgrade │ Reading package lists... Done │ Building dependency tree │ Reading state information... Done │ The following packages have been kept back: │ clamav clamav-base clamav-daemon clamav-freshclam │ 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Seems as if you removed the security repository, which contains the required php5-curl version. http://archive.debian.org/debian-archive/debian-security/pool/updates/main/p/php5/
Hi Till, thanks that got me to some progress. I added the security repository and changed the date to before certificates have expired, that allowed me to run apt and install php5-curl. Migration tools starts now without error.