• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. RAThomas
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    RAThomas

    @RAThomas

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RAThomas Unfollow Follow

    Latest posts made by RAThomas

    • RE: failing to install package php-mysqlnd

      Solved for me on Linux Mint 22.1

      The base problem is that php-mysqlnd is a “virtual package” that is included in the package php-mysql, and trying to install it individually (as the FOG install script does) fails with apt dumping a list of php mysql versions and that “You should explicitly select one to install.” Even if php-mysql is already installed.

      The solution for me was to remove php-mysqlnd as an install target in the FOG install scripts. As of this date, that includes:

      In file [fog install pkg path]/lib/ubuntu/config.sh:

      • remove ‘php-mysqlnd’ from line 26 "packages="apache2[…]

      In the file [fog install pkg path]/lib/common/functions.sh:

      • remove the lines

              php-mysql*)
                  for phpmysql in $(echo php-mysqlnd php-mysql); do
                      eval $packagelist "$phpmysql" >>$error_log 2>&1
                      if [[ $? -eq 0 ]]; then
                          x=$phpmysql
                          break
                      fi
                  done
                  ;;
        
      posted in Linux Problems
      R
      RAThomas