joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP ( Linux, Nginx, MariaDB, PostgreSQL, MongoDB, Redis, Memcache, PHP, Secure FTP ) auto installer and virtual host manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

E: Unable to correct problems, you have held broken packages

IIXINGCHEN opened this issue · comments

he following packages have unmet dependencies:
libnginx-mod-brotli : PreDepends: libnginx-mod-http-brotli-filter but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Error: Failure running 'apt-get install -q -y nginx-core libnginx-mod-brotli libnginx-mod-http-cache-purge libnginx-mod-http-fancyindex libmaxminddb0 libmaxminddb-dev libnginx-mod-http-geoip libnginx-mod-stream-geoip libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream', exiting.

Could you post your system information?

Hello, I use a lot of system versions here, whether it is the development environment mode, or the production environment mode, the installation error, Debian GNU/Linux 12, or Debian GNU/Linux 11, are not installed normally, I also use Chinese machines, Japanese machines, the United States are similar problems. What do you need to do about it?

Hello, I use a lot of system versions here, whether it is the development environment mode, or the production environment mode, the installation error, Debian GNU/Linux 12, or Debian GNU/Linux 11, are not installed normally, I also use Chinese machines, Japanese machines, the United States are similar problems. What do you need to do about it?

Could you post your .env file? So, I can re-produce the issue

Hello, I have in the development environment, try to rename the .env file directly, but it can't be installed normally, or in the production environment, according to the document modified the production environment, server IP, hostname, for the corresponding DNS resolution ip, but they can't be installed normally.

.env.zip

.env.zip

Hello,This default doesn't modify other parameters.,Only modify the mailbox can't be installed correctly.。

[MariaDB (MySQL drop-in replacement) Installation]
Adding MariaDB repository...
[info] Skipping OS detection and using OS type 'ubuntu' and version 'jammy' as given on the command line
[info] Checking for script prerequisites.
[error] Problem encountered while trying to verify the MariaDB Server version:
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to storage.googleapis.com:443
The latest MariaDB Server versions are:
10.4.33 10.5.24 10.6.17 10.11.7 11.0.5 11.1.4 11.2.3 11.3.2 11.4.1

     More information on MariaDB releases is available at:
         https://mariadb.com/kb/en/release-notes/

Error: Failure running 'bash /tmp/lemper/mariadb_repo_setup --mariadb-server-version=mariadb-11.1 --os-type=ubuntu --os-version=jammy', exiting.

E: Package 'libmariadbclient18' has no installation candidate

E: Unable to locate package mariadb-client-core
E: Unable to locate package mariadb-server-core

curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to storage.googleapis.com:443

It seems your server connection to MariaDB repository failed

curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to storage.googleapis.com:443

Is it possible to optimize the installation speed of servers in China, which is intermittent and disconnected?

@IIXINGCHEN Fortunately MariaDB have repo mirrors, try to use China mirror server

I have updated the script installer, clone this repo and checkout to 2.x.x branch
copy the .env.dist to .env, at line MYSQL_REPO_MIRROR_URL="" fill with mirror url

You can get the MariaDB mirror lists here https://mirmon.mariadb.org/
There are few from China mirrors, pick it one. For example:

Hello, thank you very much for your help, you have dealt with these problems correctly, I would like to ask, nginx module, can you add it yourself?

Hello, thank you very much for your help, you have dealt with these problems correctly, I would like to ask, nginx module, can you add it yourself?

Hi, unfortunately I am using a 3rd party Nginx repo, supported module available here:
https://deb.myguard.nl/nginx-modules/.

But, not all modules are included on the LEMPer stack installer 🙏🏻

Hello, if I replace the nginx source address with https://n.wtf/ can I install it normally?

Hello, if I replace the nginx source address with https://n.wtf/ can I install it normally?

No, we should modify the code first.
What is the benefit of using this repository?

  • Okay, thanks, I hope this problem can be fixed, thanks!
r@ms:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
r@ms:~# nginx -s reload
2024/05/26 02:20:40 [notice] 340617#340617: signal process started
r@ms:~# pkill -9 nginx
r@ms:~# nginx -c /etc/nginx/nginx.conf
r@ms:~# 
  • Okay, thanks, I hope this problem can be fixed, thanks!
r@ms:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
r@ms:~# nginx -s reload
2024/05/26 02:20:40 [notice] 340617#340617: signal process started
r@ms:~# pkill -9 nginx
r@ms:~# nginx -c /etc/nginx/nginx.conf
r@ms:~# 

This is notice informing that Nginx process started, is there any specific issue? can you access the http web?

OK, I'LL TRY IT AND SEE IF I CAN ACCESS THE WEB NORMALLY, THANKS