TheCry should I delete the whole php.list or just the entry?
Posts by nextx42
-
-
Yes. You have a duplicate entry. Have a look in the "/etc/apt/source.list". There you will find the entry from the i-MSCP installer
Hi TheCry thanks for your reply!
Ok and which entry should I delete? The one in apt/sources.list
or the one in php.list?
-
-
-
-
Hi there,
after the whole php plugin switcher update to support 7.3 etc. there seems to be an issue with my local lets encrypt instance.
It tells me that the apt target packages are configured multiple times in sources.list and in sources.list/php.list witch is correct.
But the question is what should I do to resolve this? In php.list there is just one line, which is the same as in sources.list . So should I remove this line in php.list?
The line is:
I'm using i-MSCP 1.5.3 Build: 20180516And Debian stretch
Plugins are both the newest version.
LE: 3.5.0
PHP: 5.0.5
This is the error provided by the LE plugin:
Code- Ein unerwarteter Fehler ist aufgetreten:
- Plugin::LetsEncrypt::enable: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- E: Unable to correct problems, you have held broken packages. at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266.
-
Hi,
ja eigentlich auch einfach nur frage ich mich was jetzt hier doppelt sein soll?
Code- #
- # deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main
- #deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 NETINST 20180310-11:21]/ stretch main
- deb http://ftp.uni-kl.de/debian/ stretch main contrib non-free
- deb-src http://ftp.uni-kl.de/debian/ stretch main contrib non-free
- deb http://security.debian.org/debian-security stretch/updates main contrib non-free
- deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
- # stretch-updates, previously known as 'volatile'
- deb http://ftp.uni-kl.de/debian/ stretch-updates main contrib non-free
- deb-src http://ftp.uni-kl.de/debian/ stretch-updates main contrib non-free
- deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7
- deb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7
- deb https://packages.sury.org/php/ stretch main
- deb-src https://packages.sury.org/php/ stretch main
-
Hi tracer,
no i do get this error:
Code- Ein unerwarteter Fehler ist aufgetreten:
- Plugin::LetsEncrypt::enable: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- E: Unable to correct problems, you have held broken packages. at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266.
-
Hi there,
I recently got this error in my let's encrypt plugin:
Code- Plugin::LetsEncrypt::enable: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/debian stretch InRelease: The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering
- W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Failed to fetch http://repo.mysql.com/apt/debian/dists/stretch/InRelease The following signatures were invalid: EXPKEYSIG 8C718D3B5072E1F5 MySQL Release Engineering
- W: Some index files failed to download. They have been ignored, or old ones used instead.
- W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:20 and /etc/apt/sources.list.d/php.list:1
- E: Unable to correct problems, you have held broken packages.
I do run the latest I-mscp and latest lets encrypt plugin.
Any suggestions on how to fix that?
-
Hi viper_iii
I've got the same issue with php 7.2 and tried the 3 steps in your 3rd post.
Unfortunately still the same issue.
i-mscp 1.5.3 (2018120800)
Code- The package has been created.
- Attention, the package has been created in the current directory,
- not in ".." as indicated by the message above!
- Selecting previously unselected package imscp-psw-php7.2-runtime-dependencies.
- (Reading database ... 57005 files and directories currently installed.)
- Preparing to unpack imscp-psw-php7.2-runtime-dependencies_1.0_all.deb ...
- Unpacking imscp-psw-php7.2-runtime-dependencies (1.0) ...
- Reading package lists...
- Building dependency tree...
- Reading state information...
- Correcting dependencies... Done
- The following packages will be REMOVED:
- imscp-psw-php7.2-runtime-dependencies
- 0 upgraded, 0 newly installed, 1 to remove and 159 not upgraded.
- 1 not fully installed or removed.
- After this operation, 11.3 kB disk space will be freed.
- (Reading database ... 57008 files and directories currently installed.)
- Removing imscp-psw-php7.2-runtime-dependencies (1.0) ...
- [ERROR] main: An error occurred while installing PHP 7.2 runtime dependency package: Unmet dependencies.
UPDATE: looks like one "apt-get update" after the three commands helped.