Ad Widget

Collapse

Fail to install Zabbix 6.4 on Raspberry Pi 3B+ with Ubuntu Server 22.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhingel
    Junior Member
    • Sep 2023
    • 2

    #1

    Fail to install Zabbix 6.4 on Raspberry Pi 3B+ with Ubuntu Server 22.04

    Hello,

    I am attempting to install Zabbix 6.4 on my Raspberry PI 3B+ running Ubuntu Server 22.04, following the guide below:

    https://www.zabbix.com/download?zabb...ubuntu_arm64&o s_version=22.04&components=server_frontend_agent&d b=mysql&ws=apache


    Steps taken:

    root@raspberrypi:/home/rhingel# wget https://repo.zabbix.com/zabbix/6.4/u...u22.04_all.deb
    --2023-09-20 23:25:39-- https://repo.zabbix.com/zabbix/6.4/u...u22.04_all.deb
    Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
    Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 3756 (3.7K) [application/octet-stream]
    Saving to: ‘zabbix-release_6.4-1+ubuntu22.04_all.deb.1’
    zabbix-release_6.4-1+ubuntu22.04_all.deb.1 100%[================================================== ================================================== ====================================>] 3.67K --.-KB/s in 0s
    2023-09-20 23:25:40 (228 MB/s) - ‘zabbix-release_6.4-1+ubuntu22.04_all.deb.1’ saved [3756/3756]
    root@raspberrypi:/home/rhingel# dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
    (Reading database ... 70259 files and directories currently installed.)
    Preparing to unpack zabbix-release_6.4-1+ubuntu22.04_all.deb ...
    Unpacking zabbix-release (1:6.4-1+ubuntu22.04) over (1:6.4-1+debian11) ...
    Setting up zabbix-release (1:6.4-1+ubuntu22.04) ...
    Installing new version of config file /etc/apt/sources.list.d/zabbix.list ...
    root@raspberrypi:/home/rhingel# apt update
    Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
    Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
    Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
    Hit:4 https://repo.zabbix.com/zabbix-agent2-plugins/1/ubuntu jammy InRelease
    Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
    Get:6 https://repo.zabbix.com/zabbix/6.4/ubuntu jammy InRelease [4958 B]
    Get:7 https://repo.zabbix.com/zabbix/6.4/ubuntu jammy/main Sources [1938 B]
    Fetched 6896 B in 6s (1211 B/s)
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    45 packages can be upgraded. Run 'apt list --upgradable' to see them.
    N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/ubuntu jammy InRelease' doesn't support architecture 'arm64'
    root@raspberrypi:/home/rhingel# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package zabbix-apache-conf
    E: Unable to locate package zabbix-sql-scripts



    I wonder why I am getting this error, the repo seems to be arm64 and as far as I know Raspberry Pi 3B+ is arm64. Any help is welcomed.

    N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repo.zabbix.com/zabbix/6.4/ubuntu jammy InRelease' doesn't support architecture 'arm64'
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    2023-09-20 23:25:40 (228 MB/s) - ‘zabbix-release_6.4-1+ubuntu22.04_all.deb.1’ saved [3756/3756]
    root@raspberrypi:/home/rhingel# dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
    Can you notice the little nuance? You saved a deb.1 file but then ran dpkg on just .deb
    Did you download a non-arm deb file before?

    Comment

    • rhingel
      Junior Member
      • Sep 2023
      • 2

      #3
      Originally posted by cyber

      Can you notice the little nuance? You saved a deb.1 file but then ran dpkg on just .deb
      Did you download a non-arm deb file before?
      You got it, I insisted on what was causing this issue and since I downloaded other versions before noticing the arm version, I proceeded deleting the other ones and then reinstalled:

      14 rm zabbix-release_6.3-3+ubuntu22.04_all.deb
      15 rm zabbix-release_6.4-1+debian11_all.deb
      16 rm zabbix-release_6.4-1+ubuntu22.04_all.deb
      17 rm zabbix-release_6.4-1+ubuntu22.04_all.deb.1
      18 wget https://repo.zabbix.com/zabbix/6.4/u...u22.04_all.deb
      19 ls -lah
      20 dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb


      That worked, thanks!

      Comment

      Working...