[solved using maria-db]package dependency problems with mysql-server

Forum › Forums › New users › New Users and General Questions › [solved using maria-db]package dependency problems with mysql-server

  • This topic has 6 replies, 5 voices, and was last updated Jan 30-10:14 pm by Robin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #179503
    emma
    Member

      Hi there,

      I want to install wordpress, following this instruction:
      https://ubuntu.com/tutorials/ wordpress

      To install mysql-server I used https://keshav.is-a.dev mysql
      producing the following error in step 2 :

      $ sudo apt install mysql-server
      Reading package lists... Done
      Building dependency tree... Done
      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:
       mariadb-client : Conflicts: virtual-mysql-client
       mariadb-client-core : Conflicts: virtual-mysql-client-core
       mariadb-server : Conflicts: virtual-mysql-server
       mariadb-server-core : Conflicts: virtual-mysql-server-core
      E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
      

      As I’m not familiar with package dependencies, I wonder what ‘mariadb-client : Conflicts: virtual-mysql-client’ means here ?

      Would be thankful for any hint how to go on from here !

      My system:

      inxi -Faz
      System:
        Kernel: 6.1.105-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
          v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm
          parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.105-antix.1-amd64-smp
          root=UUID=7d6c3b35-f295-4569-82c1-2658debb785c ro quiet selinux=0
        Desktop: IceWM v: 3.7.5 tools: avail: slock,xlock dm: slimski v: 1.5.0
          Distro: antiX-23.2_x64 May 11 2025 base: Debian GNU/Linux 12 (bookworm)
      Machine:
        Type: Laptop System: SAMSUNG product: SX22S v: 07AJ
          serial: <superuser required> Chassis: type: 10 serial: <superuser required>
        Mobo: SAMSUNG model: SX22S serial: <superuser required>
          uuid: <superuser required> BIOS: Phoenix v: 07AJ date: 09/27/2007
      CPU:
        Info: model: Intel Core2 Duo T7500 bits: 64 type: MCP arch: Core2 Merom
          level: v1 built: 2006-09 process: Intel 65nm family: 6 model-id: 0xF (15)
          stepping: 0xB (11) microcode: 0xBA
        Topology: cpus: 1x dies: 1 clusters: 1 cores: 2 smt: <unsupported> cache:
          L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 4 MiB desc: 1x4 MiB
        Speed (MHz): avg: 2195 min/max: 800/2200 scaling: driver: acpi-cpufreq
          governor: schedutil cores: 1: 2195 2: 2195 bogomips: 8778
        Flags: ht lm nx pae sse sse2 sse3 ssse3 vmx
        Vulnerabilities:
        Type: gather_data_sampling status: Not affected
        Type: itlb_multihit status: KVM: VMX disabled
        Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
          disabled
        Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
          SMT disabled
        Type: meltdown mitigation: PTI
        Type: mmio_stale_data status: Unknown: No mitigations
        Type: reg_file_data_sampling status: Not affected
        Type: retbleed status: Not affected
        Type: spec_rstack_overflow status: Not affected
        Type: spec_store_bypass status: Vulnerable
        Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
          sanitization
        Type: spectre_v2 mitigation: Retpolines; STIBP: disabled; RSB filling;
          PBRSB-eIBRS: Not affected; BHI: Not affected
        Type: srbds status: Not affected
        Type: tsx_async_abort status: Not affected
      Graphics:
        Device-1: Advanced Micro Devices [AMD/ATI] RV610/M72-S [Mobility Radeon HD
          2400] vendor: Samsung Co driver: radeon v: kernel alternate: amdgpu
          arch: R500 process: TSMC 90nm built: 2005-07 pcie: gen: 1 speed: 2.5 GT/s
          lanes: 16 link-max: gen: 2 speed: 5 GT/s ports: active: LVDS-1,VGA-1
          empty: DIN-1,DVI-D-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 1002:94c9
          class-ID: 0300 temp: 67.0 C
        Device-2: Z-Star Micro Vega USB 2.0 Camera driver: uvcvideo type: USB
          rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2 chip-ID: 0ac8:c302
          class-ID: 0e02
        Display: server: X.Org v: 1.21.1.7 driver: X: loaded: radeon
          unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0.0
          screens: 1
        Screen-1: 0 s-res: 2960x1050 s-dpi: 96 s-size: 783x277mm (30.83x10.91")
          s-diag: 831mm (32.7")
        Monitor-1: LVDS-1 mapped: LVDS pos: right model: Seiko Epson 0x4542
          built: 2006 res: 1280x800 hz: 60 dpi: 107 gamma: 1.2
          size: 303x190mm (11.93x7.48") diag: 358mm (14.1") ratio: 16:10 modes:
          max: 1280x800 min: 640x480
        Monitor-2: VGA-1 mapped: VGA-0 pos: primary,left model: Fujitsu Siemens
          L22W-7SD serial: <filter> built: 2007 res: 1680x1050 hz: 60 dpi: 90
          gamma: 1.3 size: 474x296mm (18.66x11.65") diag: 559mm (22") ratio: 16:10
          modes: max: 1680x1050 min: 720x400
        API: EGL v: 1.5 hw: drv: amd r600 platforms: device: 0 drv: r600 device: 1
          drv: swrast gbm: egl: 1.4 drv: kms_swrast surfaceless: drv: r600 x11:
          drv: r600 inactive: wayland
        API: OpenGL v: 3.3 compat-v: 3.0 vendor: x.org mesa v: 22.3.6 glx-v: 1.4
          es-v: 3.0 direct-render: yes renderer: AMD RV610 (DRM 2.50.0 /
          6.1.105-antix.1-amd64-smp LLVM 15.0.6) device-ID: 1002:94c9
          memory: 125 MiB unified: no
      Audio:
        Device-1: Intel 82801H HD Audio vendor: Samsung Co driver: snd_hda_intel
          v: kernel bus-ID: 00:1b.0 chip-ID: 8086:284b class-ID: 0403
        Device-2: Advanced Micro Devices [AMD/ATI] RV610 HDMI Audio [Radeon HD
          2350 PRO / 2400 PRO/XT 3410] vendor: Samsung Co driver: snd_hda_intel
          v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 2
          speed: 5 GT/s bus-ID: 01:00.1 chip-ID: 1002:aa10 class-ID: 0403
        API: ALSA v: k6.1.105-antix.1-amd64-smp status: kernel-api with: apulse
          type: pulse-emulator tools: alsactl,alsamixer,amixer
        Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
          status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
          tools: pw-cat,pw-cli,wpctl
      Network:
        Device-1: Intel PRO/Wireless 3945ABG [Golan] Network driver: iwl3945
          v: in-tree:s modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1
          bus-ID: 04:00.0 chip-ID: 8086:4222 class-ID: 0280
        IF: wlan1 state: up mac: <filter>
        Device-2: Marvell 88E8055 PCI-E Gigabit Ethernet vendor: Samsung Co
          driver: sky2 v: 1.30 pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 6000
          bus-ID: 08:00.0 chip-ID: 11ab:4363 class-ID: 0200
        IF: eth1 state: down mac: <filter>
        Info: services: apache2, mld, sshd, wpa_supplicant
      Bluetooth:
        Device-1: Broadcom BCM2045 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
          speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 7-2:2 chip-ID: 0a5c:2101
          class-ID: fe01 serial: <filter>
        Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: running
          rfk-block: hardware: no software: yes address: <filter>
        Info: acl-mtu: 1017:8 sco-mtu: 64:8 link-policy: rswitch hold sniff park
          link-mode: peripheral accept
      Drives:
        Local Storage: total: 111.79 GiB used: 19.54 GiB (17.5%)
        SMART Message: Unable to run smartctl. Root privileges required.
        ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 120GB
          size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: <unknown>
          tech: SSD serial: <filter> fw-rev: BB6Q scheme: GPT
      Partition:
        ID-1: / raw-size: 111.79 GiB size: 109.47 GiB (97.93%)
          used: 19.54 GiB (17.9%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
      Swap:
        Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
          zswap: no
        ID-1: swap-1 type: file size: 2 GiB used: 598.5 MiB (29.2%) priority: -2
          file: /swap/swap
      Sensors:
        System Temperatures: cpu: 73.0 C mobo: N/A gpu: radeon temp: 67.0 C
        Fan Speeds (rpm): N/A
      Info:
        Memory: total: 3 GiB available: 2.91 GiB used: 2.57 GiB (88.6%)
        Processes: 184 Power: uptime: 1h 29m states: freeze,mem,disk suspend: deep
          avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
          suspend, test_resume image: 1.14 GiB Init: SysVinit v: 3.06 runlevel: 2
          default: 2 tool: service
        Packages: pm: dpkg pkgs: 1894 libs: 898
          tools: apt,apt-get,aptitude,synaptic Compilers: gcc: 12.2.0 Shell: Bash
          v: 5.2.15 running-in: roxterm inxi: 3.3.36
      
      • This topic was modified 1 year, 3 months ago by emma.
      #179507
      ProwlerGr
      Member

        mysql-server is not available on the antiX or debian repo’s.
        mysql is the commercial version of mariadb (or mariadb is the the FOSS version of mysql)

        Just install maria-db-server & you should be good to go

        #179515
        emma
        Member

          Thanks a lot !
          Got it working with maria-db-server 😉

          #179633
          ProwlerGr
          Member

            Thanks a lot !
            Got it working with maria-db-server 😉

            Great to hear.
            Enjoy!

            #180733
            keshav-uses-linux
            Member

              To install mysql-server I used https://keshav.is-a.dev mysql
              producing the following error in step 2 :

              That’s me, the created of the Guide you mentioned

              Thanks a lot !

              Got it working with maria-db-server 😉

              The following packages have unmet dependencies:
              mariadb-client : Conflicts: virtual-mysql-client
              mariadb-client-core : Conflicts: virtual-mysql-client-core
              mariadb-server : Conflicts: virtual-mysql-server
              mariadb-server-core : Conflicts: virtual-mysql-server-core
              E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

              if someone still wanted to install mysql and getting the same error meesage at the 2nd step of my guide,
              you can try to first uninstall mariadb
              sudo apt purge mariadb-*
              then resume mysql installtion
              i think it would be better to add this as a disclamer in the guide.

              • This reply was modified 1 year, 2 months ago by keshav-uses-linux.
              #195263
              rclayworth
              Member

                Since this is related to WordPress installation I ask my questions here.
                I’m an antiX newbie and I’m attempting to setup WordPress on the current antiX release.
                I’ve successfully installed nginx and mariadb but have not been able to install PHP 8.3 due to systemd dependecy error.
                Is there a way to get PHP 8.3 installed?

                #195394
                Robin
                Member

                  Is there a way to get PHP 8.3 installed?

                  On antiX 23.x the latest is 8.2. If you really need a newer version, wait for antiX 26, which comes with 8.4 by default. Alternatively you’d have to compile 8.3 from sources on 23.x

                  Windows is like a submarine. Open a window and serious problems will start.

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.