Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用Debian GNU/Linux 10 (buster)安装过程出错 #5

Open
zsxplace opened this issue Nov 24, 2023 · 1 comment
Open

用Debian GNU/Linux 10 (buster)安装过程出错 #5

zsxplace opened this issue Nov 24, 2023 · 1 comment

Comments

@zsxplace
Copy link

[Fri 24 Nov 2023 03:15:26 PM CST] VPS initialization start
[Fri 24 Nov 2023 03:15:26 PM CST] rm -f /etc/localtime
[Fri 24 Nov 2023 07:15:26 AM UTC] ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
[Fri 24 Nov 2023 03:15:26 PM CST] apt-get update
[Fri 24 Nov 2023 03:15:27 PM CST] apt-get -yq install lsb-release ca-certificates curl
[Fri 24 Nov 2023 03:15:27 PM CST] apt-get -yq install vim tar zip unzip net-tools bind9-utils screen git virt-what wget whois mtr traceroute iftop htop jq tree
E: Unable to locate package bind9-utils
[Fri 24 Nov 2023 03:15:27 PM CST] Execution command (apt-get -yq install vim tar zip unzip net-tools bind9-utils screen git virt-what wget whois mtr traceroute iftop htop jq tree) failed, please check it and try again.
是系统不兼容的问题吗?

@AllGetHub
Copy link

我也遇到同样的问题了,大概几个月前我还安装成功了,下边是华为云的VPS,
Linux ecs-74791 6.1.0-19-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.82-1 (2024-03-28) x86_64 GNU/Linux

[Tue Apr 16 12:20:51 AM CST 2024] LCMP (Linux + Caddy + MariaDB + PHP) installation start
[Tue Apr 16 12:20:51 AM CST 2024] wget -qO caddy-stable_deb.sh https://dl.cloudsmith.io/public/caddy/stable/setup.deb.sh
[Tue Apr 16 12:20:53 AM CST 2024] chmod +x caddy-stable_deb.sh
[Tue Apr 16 12:20:53 AM CST 2024] ./caddy-stable_deb.sh
[Tue Apr 16 12:20:58 AM CST 2024] rm -f caddy-stable_deb.sh
[Tue Apr 16 12:20:58 AM CST 2024] apt-get install -y caddy
[Tue Apr 16 12:21:02 AM CST 2024] Caddy installation completed
[Tue Apr 16 12:21:02 AM CST 2024] mkdir -p /data/www/default
[Tue Apr 16 12:21:02 AM CST 2024] mkdir -p /var/log/caddy/
[Tue Apr 16 12:21:02 AM CST 2024] mkdir -p /etc/caddy/conf.d/
[Tue Apr 16 12:21:02 AM CST 2024] chown -R caddy:caddy /var/log/caddy/
[Tue Apr 16 12:21:02 AM CST 2024] cp -f /root/lcmp/conf/favicon.ico /data/www/default/
[Tue Apr 16 12:21:02 AM CST 2024] cp -f /root/lcmp/conf/index.html /data/www/default/
[Tue Apr 16 12:21:02 AM CST 2024] cp -f /root/lcmp/conf/lcmp.png /data/www/default/
[Tue Apr 16 12:21:02 AM CST 2024] Set Caddy completed
[Tue Apr 16 12:21:02 AM CST 2024] wget -qO mariadb_repo_setup.sh https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
[Tue Apr 16 12:21:05 AM CST 2024] chmod +x mariadb_repo_setup.sh
[Tue Apr 16 12:21:05 AM CST 2024] ./mariadb_repo_setup.sh --mariadb-server-version=mariadb-10.11
[Tue Apr 16 12:21:21 AM CST 2024] rm -f mariadb_repo_setup.sh
[Tue Apr 16 12:21:21 AM CST 2024] apt-get install -y mariadb-common mariadb-server mariadb-client mariadb-backup
[Tue Apr 16 12:21:29 AM CST 2024] MariaDB installation completed
[Tue Apr 16 12:21:29 AM CST 2024] systemctl start mariadb
/usr/bin/mysql: unknown variable 'character-set-server=utf8mb4'
/usr/bin/mysql: unknown variable 'character-set-server=utf8mb4'
[Tue Apr 16 12:21:29 AM CST 2024] cd /data/www/default
[Tue Apr 16 12:21:29 AM CST 2024] wget -q https://dl.lamp.sh/files/pma.tar.gz
[Tue Apr 16 12:21:43 AM CST 2024] tar zxf pma.tar.gz
[Tue Apr 16 12:21:44 AM CST 2024] rm -f pma.tar.gz
[Tue Apr 16 12:21:44 AM CST 2024] cd /root/lcmp
[Tue Apr 16 12:21:44 AM CST 2024] /usr/bin/mysql -uroot -p 2>/dev/null < /data/www/default/pma/sql/create_tables.sql
[Tue Apr 16 12:21:44 AM CST 2024] Set MariaDB completed
[Tue Apr 16 12:21:44 AM CST 2024] curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
[Tue Apr 16 12:21:45 AM CST 2024] apt-get update
[Tue Apr 16 12:21:50 AM CST 2024] apt-get install -y php-common php7.4-common php7.4-cli php7.4-fpm php7.4-opcache php7.4-readline
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Tue Apr 16 12:21:52 AM CST 2024] Execution command (apt-get install -y php-common php7.4-common php7.4-cli php7.4-fpm php7.4-opcache php7.4-readline) failed, please check it and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants