light-ripple / Ripple-Auto-Installer

OSU! Ripple Stack Installation Helper
https://ripple.moe
GNU Affero General Public License v3.0
21 stars 9 forks source link

Error handler throws an error: ./ripple.sh: 240: printf: %(: invalid directive #183

Open ghost opened 3 years ago

ghost commented 3 years ago
Full log leading up to the error; note that this issue is only about the last error from the script itself. --2021-06-08 17:12:23-- https://repo.mysql.com//mysql-apt-config_0.8.15-1_all.deb Resolving repo.mysql.com (repo.mysql.com)... 184.87.217.42 Connecting to repo.mysql.com (repo.mysql.com)|184.87.217.42|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 35532 (35K) [application/x-debian-package] Saving to: 'mysql.deb' mysql.deb 100%[===============================================================================================================>] 34.70K --.-KB/s in 0.006s 2021-06-08 17:12:23 (5.27 MB/s) - 'mysql.deb' saved [35532/35532] Selecting previously unselected package mysql-apt-config. dpkg: regarding mysql.deb containing mysql-apt-config, pre-dependency problem: mysql-apt-config pre-depends on lsb-release lsb-release is not installed. dpkg: error processing archive mysql.deb (--install): pre-dependency problem - not installing mysql-apt-config Errors were encountered while processing: mysql.deb removed 'mysql.deb' Upgrading/Updating system 'Packages'! Hit:1 http://security.debian.org/debian-security buster/updates InRelease Hit:2 http://deb.debian.org/debian buster InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Hit:1 http://deb.debian.org/debian buster InRelease Hit:2 http://security.debian.org/debian-security buster/updates InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mysql-community-server Failed to start mysql.service: Unit mysql.service not found. Failed to restart mysql.service: Unit mysql.service not found. FATAL 1: Failed to Install 'Packages'! [ line ] ./ripple.sh: 240: printf: %(: invalid directive

https://github.com/light-ripple/Ripple-Auto-Installer/blob/6eecb41c4dd19c0536e92e1407533f60bb320718/Main/ripple.sh#L240

OS Debian GNU/Linux 10 (buster) GNU coreutils 8.30-3

What distro is this script tested on? I launched a fresh Debian 10 LXC container for this.

ghost commented 3 years ago

btw, irrelevant but preceding error appears to be due to lsb-release missing, which is weird because the script should have installed it? https://github.com/light-ripple/Ripple-Auto-Installer/blob/6eecb41c4dd19c0536e92e1407533f60bb320718/Main/ripple.sh#L1540

ghost commented 3 years ago

@ledlamp the project leader is dead

ghost commented 3 years ago

rip

ghost commented 3 years ago

@ledlamp do you have matrix? I can help you with general issues if you'd like

ghost commented 3 years ago

nah i just used gulag