myxuchangbin / dnsmasq_sniproxy_install

One-click Install and Configure Dnsmasq and Sniproxy for CentOS/Debian/Ubuntu
1.18k stars 540 forks source link

运行脚本报错[Error] Failed to install gettext #87

Open a624587332 opened 8 months ago

a624587332 commented 8 months ago

root@:~# wget --no-check-certificate -O dnsmasq_sniproxy.sh https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh && bash dnsmasq_sniproxy.sh -f --2024-01-11 15:03:12-- https://raw.githubusercontent.com/myxuchangbin/dnsmasq_sniproxy_install/master/dnsmasq_sniproxy.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 25247 (25K) [text/plain] Saving to: ‘dnsmasq_sniproxy.sh’

dnsmasq_sniproxy.sh 100%[==============================================>] 24.66K --.-KB/s in 0s

2024-01-11 15:03:12 (109 MB/s) - ‘dnsmasq_sniproxy.sh’ saved [25247/25247]

Dnsmasq + SNI Proxy自助安装脚本 支持系统: CentOS 6+, Debian8+, Ubuntu16+

检测您的系统... Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB] Get:2 http://security.debian.org/debian-security buster/updates/main Sources [366 kB] Get:3 http://security.debian.org/debian-security buster/updates/main amd64 Packages [579 kB] Get:4 http://security.debian.org/debian-security buster/updates/main Translation-en [313 kB] Fetched 1,293 kB in 0s (4,517 kB/s)
Reading package lists... Done Building dependency tree
Reading state information... Done 70 packages can be upgraded. Run 'apt list --upgradable' to see them. N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable' [Info] Starting to install package net-tools [Info] Starting to install package wget [Info] Checking the system complete... 安装Dnsmasq... [Info] Starting to install package dnsmasq [Info] /etc/dnsmasq.d/custom_netflix.conf download configuration now... [Info] /tmp/proxy-domains.txt download configuration now... 启动 Dnsmasq 服务... Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable dnsmasq [Info] dnsmasq install complete... 安装依赖软件... Hit:1 http://security.debian.org/debian-security buster/updates InRelease Reading package lists... Done [Info] Starting to install package curl [Info] Starting to install package gettext [Error] Failed to install gettext root@:~#

myxuchangbin commented 8 months ago

手动执行一下安装依赖的命令:apt install gettext -y 再看下报错信息