Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Package needs php-cli, it is not present

  1. #1

    Default Package needs php-cli, it is not present

    I'm trying to install a rpm package, obtained from its website because it is not on the repo, and it has php-cli as a dependency.

    Apparently it is not present either. Are per chance its contents packaged with a different name? Can I safely ignore this dependency?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,156

    Default Re: Package needs php-cli, it is not present

    Quote Originally Posted by sekhemty View Post
    ...l a rpm package, obtained from its website ...
    As this is very vague, how do you think people can make any intelligent guess?
    Henk van Velden

  3. #3

    Default Re: Package needs php-cli, it is not present

    You are right, I'm sorry, I wrote in a haste.

    It is Dolibarr https://www.dolibarr.org/ , there is an old version on the repo but it doesn't build for Tumbleweed; I've tried to contact the maintainer and he said that there are some conflicts with Apache on TW that apparently don't appear on Leap repos. I'm not able to give you more details about this.

    Anyway, I was more interested about the php-cli dependency. It is not a problem for me to install the rpm from my machine instead of getting it from the repo.

    Thank you.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: Package needs php-cli, it is not present

    Looks like someone created a Dolibarr docker container on the Docker Hub. In fact, it looks like several people have created images but the one you should use is the one created by and owned by noophq.
    https://github.com/noophq/docker-dolibarr

    I haven't tried it, but there is no reason to believe that it won't work immediately "out of the box."

    FYI - The reason why docker solutions you download and use avoid any dependency and prerequisite issues is because the app is built on the distro of the creator's choice, for instance you could be running a stub of debian in the container, all running on your openSUSE.

    If you haven't used Docker before, you can install and run through a few quick exercises I've written on my Wiki. If you've used any virtualization before, you'll notice some similarities.
    https://en.opensuse.org/User:Tsu2#Docker

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5

    Default Re: Package needs php-cli, it is not present

    Thank you for the suggestion.

    My laptop is a bit old, how will Docker will affect my overall performance?

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,293
    Blog Entries
    2

    Default Re: Package needs php-cli, it is not present

    Quote Originally Posted by sekhemty View Post
    Thank you for the suggestion.

    My laptop is a bit old, how will Docker will affect my overall performance?
    One of the nice features running docker is that everything runs as "just another app" on your machine.
    In other words, there is no difference except for the stub OS which would ordinarily be considered next to no difference.

    Docker can be used in places where virtualization cannot or with issues...
    Like on 32-bit machines (you need 32-bit libraries), machines with CPUs that don't support hardware assist, and with limited resources.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7

    Default Re: Package needs php-cli, it is not present

    Ok, I'll give it a try.

    Maybe this is a temporary issue, but when I try to install the "docker" package, I get this:

    Code:
    Problem: nothing provides containerd = 0.2.5+gitr608_03e5862 needed by docker-1.13.0-2.2.x86_64
    
    

  8. #8

    Default Re: Package needs php-cli, it is not present

    Quote Originally Posted by tsu2 View Post
    Looks like someone created a Dolibarr docker container on the Docker Hub. In fact, it looks like several people have created images but the one you should use is the one created by and owned by noophq.
    https://github.com/noophq/docker-dolibarr

    I haven't tried it, but there is no reason to believe that it won't work immediately "out of the box."

    FYI - The reason why docker solutions you download and use avoid any dependency and prerequisite issues is because the app is built on the distro of the creator's choice, for instance you could be running a stub of debian in the container, all running on your openSUSE.

    If you haven't used Docker before, you can install and run through a few quick exercises I've written on my Wiki. If you've used any virtualization before, you'll notice some similarities.
    https://en.opensuse.org/User:Tsu2#Docker

    TSU
    Are you still available to help me with Docker?

    I've pulled the image from here https://hub.docker.com/r/tuxgasy/dolibarr/ and linked to a mariadb container https://hub.docker.com/_/mariadb/

    I've created the containers, and everything seems to be running, but I've got some problems with the login.

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,156

    Default Re: Package needs php-cli, it is not present

    When you have a new problem, it is best to start a new thread with a good title that has the keywords to the problem. That is the best way to draw attention of potential helpers.

    Hanging your new problem at the end of an old one will likely not be seen by many.
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,852
    Blog Entries
    14

    Default Re: Package needs php-cli, it is not present

    I've been trying to get dolibarr to work, but both the packages from their site, and the packages from OBS are horrible, require a lot of manual work after the install, so docker should be your best option. What I don't understand is why you're not using the openSUSE mariadb packages .....
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •