light-ripple / Ripple-Auto-Installer

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

FATAL 123: Failed to Install necessary Dependencies required for 'Python' #162

Closed Lxmune closed 3 years ago

Lxmune commented 3 years ago

After getting a clean install of Ubuntu 18 on a VPS, I tried to install the osu!server.

Except that after typing the command ./ripple.sh --all, and after answering some prompts, the installer failed with the error :

FATAL 123: Failed to Install necessary Dependencies required for 'Python' [ line  ]
./ripple.sh: 258: printf: %(: invalid directive

I didn't see any errors except for these in the Python part.

Also tried it on different VPS with Ubuntu, still can't manage to get it work.

loannaflip commented 3 years ago

@Lxmune Can you return the outputs of apt-cache policy coreutils & bash --version respectively?

Lxmune commented 3 years ago

apt-cache policy coreutils :

coreutils:
  Installed: 8.28-1ubuntu1
  Candidate: 8.28-1ubuntu1
  Version table:
 *** 8.28-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

bash --version :

GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
loannaflip commented 3 years ago

@Lxmune Lastly, can you return the output of date() { printf "%($1)T\\n" "-1"; } ; date "[ %I:%M:%S %p | %a %d %b | %D ]"

Lxmune commented 3 years ago

Output of date() { printf "%($1)T\n" "-1"; } ; date "[ %I:%M:%S %p | %a %d %b | %D ]" :

[ 05:21:51 PM | Sat 02 Jan | 01/02/21 ]

Lxmune commented 3 years ago

Just realized there was one hour difference between the machine and me, should I try to change it?

loannaflip commented 3 years ago

Not necessary. I got it!

Lxmune commented 3 years ago

Alright thanks :)

loannaflip commented 3 years ago

This is a stupid case (https://github.com/Uniminin/Ripple-Auto-Installer/blob/master/Main/ripple.sh#L690) which needs to be removed, you can safely ignore and continue with the Fatal 123 cause (FATAL 123: Failed to Install necessary Dependencies required for 'Python' [ line ]).

loannaflip commented 3 years ago

For the second case (./ripple.sh: 258: printf: %(: invalid directive), you can remove the lines https://github.com/Uniminin/Ripple-Auto-Installer/blob/master/Main/ripple.sh#L258 & https://github.com/Uniminin/Ripple-Auto-Installer/blob/master/Main/ripple.sh#L281 until it gets fixed, which may happen soon tomorrow (GMT+6).

Lxmune commented 3 years ago

Worked for the most part, but still encountered two very similar errors :

FATAL 1: Failed to Setup 'golang'! [ line  ]
date: invalid date '[ %I:%M:%S %p | %a %d %b | %D ]'
loannaflip commented 3 years ago

Continue. You can report your issues. I'll check them tomorrow. (GMT+6)

Lxmune commented 3 years ago

golang was missing so i've installed it with apt-get install golang

Same kind of error than earlier : FATAL 123: Failed to Install necessary Dependencies required for 'Extra Dependencies' [ line ] (Removed the line)

loannaflip commented 3 years ago

Fixed in #163

loannaflip commented 3 years ago

feel free to open a new issue if you find any other bugs!