ralph icon indicating copy to clipboard operation
ralph copied to clipboard

Install Failure on Ubuntu 20.04

Open saccadt opened this issue 4 years ago • 9 comments

Steps to reproduce

On a new install of Ubuntu 20.04, following install documentation for ralph, failure occurs at step: sudo apt-get install mysql-server nginx ralph-core

Expected behavior

Expected successful installation of package.

Actual behavior

$sudo apt-get install ralph-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  ralph-core : Depends: libmysqlclient20 but it is not installable
E: Unable to correct problems, you have held broken packages.

Environment

  • Ralph version: latest
  • Operating system: Ubuntu 20.04
  • Method of installation: Deb package, following provided documentation.

saccadt avatar Jul 14 '20 20:07 saccadt

@saccadt sorry for not responding to you earlier. Ralph currently does not support python 3.7 which is the part of Ubuntu 20.04.

At this moment I would suggest you to run Ralph as a docker container using our official docket image, if it’s important for you to have Ubuntu 20.04 as a base system.

romcheg avatar Sep 14 '20 06:09 romcheg

this means ralph does not natively run in ubuntu 20.04?

martin3000 avatar Nov 04 '21 15:11 martin3000

also debian 11 requires this package, and doesn't work :( Is there an alternative method of installing ? (no docker) ?

svennd avatar Jan 05 '22 15:01 svennd

why does ralph need libmysqlclient20 and not libmysqlclient21?

martin3000 avatar Jan 05 '22 16:01 martin3000

Hi @romcheg The docs still make it sound like the docker image is experimental image

Is that still true? Or is it pretty safe to use now? Is there a doc that describes the full process of migrating your ralph instance off of the .deb package and onto a docker image? Thanks!

kingmaiku avatar Jan 14 '22 19:01 kingmaiku

also docker-compose.yml.tmlp is not available on github

twproject avatar Jan 27 '22 15:01 twproject

is there a workaround for this? I suspect many people attempting to install this package would prefer to use Ubuntu 20.04 rather than 18.04. Thanks!

cerealkella avatar Feb 04 '22 20:02 cerealkella

is there a workaround for this? I suspect many people attempting to install this package would prefer to use Ubuntu 20.04 rather than 18.04. Thanks!

Just installing this software, the easiest solution i found is this:

sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update sudo apt-get install python3.6

and the installer just works like in ubuntu 18.04

codygamer666 avatar Feb 16 '22 16:02 codygamer666

This StackOverflow post was very helpful for getting past the libmysqlclient20 error.

cerealkella avatar Feb 16 '22 20:02 cerealkella