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

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

Open
ghost opened this issue Jun 8, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 8, 2021

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

printf "%($1)T\\n" "-1"

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 ghost changed the title ./ripple.sh: 240: printf: %(: invalid directive Error handler throws an error: ./ripple.sh: 240: printf: %(: invalid directive Jun 8, 2021
@ghost
Copy link
Author

ghost commented Jun 8, 2021

btw, irrelevant but preceding error appears to be due to lsb-release missing, which is weird because the script should have installed it?

apt install apt-transport-https lsb-release ca-certificates -y

@ghost
Copy link

ghost commented Jun 10, 2021

@ledlamp the project leader is dead

@ghost
Copy link
Author

ghost commented Jun 10, 2021

rip

@ghost
Copy link

ghost commented Jun 10, 2021

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

@ghost
Copy link
Author

ghost commented Jun 10, 2021

nah i just used gulag

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

0 participants