[ZBX-24212] Unable to install Zabbix 5.0 on Ubuntu 20.04 due to rep 503 error Created: 2024 Mar 12  Updated: 2024 Mar 19  Resolved: 2024 Mar 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 5.0.41
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Brent Weyers Assignee: dimir
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 20.04 running on Hyper-V VM



 Description   

Steps to reproduce:

  1. On Zabbix download site, select Zabbix version: 5.0 LTS, OS Distribution: Ubuntu, OS Version: 20:04, Zabbix Component: Server, Frontend, Agent, Database: MySQL, Web Server: Apache
  2. As instructed run:
    wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
    dpkg -i zabbix-release_5.0-1+focal_all.deb
    apt update

Results
Get:1 http://repo.zabbix.com/zabbix/5.0/ubuntu focal InRelease [4,958 B]
Ign:2 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main Sources
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://ca.archive.ubuntu.com/ubuntu focal InRelease
Ign:5 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main amd64 Packages
Hit:6 http://ca.archive.ubuntu.com/ubuntu focal-updates InRelease
Err:2 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main Sources
  503  Service Unavailable [IP: 178.128.6.101 80]
Get:5 http://repo.zabbix.com/zabbix/5.0/ubuntu focal/main amd64 Packages [22.1 kB]
Hit:7 http://ca.archive.ubuntu.com/ubuntu focal-backports InRelease
Fetched 4,958 B in 0s (12.7 kB/s)
Reading package lists... Done
E: Failed to fetch http://repo.zabbix.com/zabbix/5.0/ubuntu/dists/focal/main/source/Sources  503  Service Unavailable [IP: 178.128.6.101 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

I attemped to install Zabbix anyways using this command
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent

Returns this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zabbix-apache-conf

Expected:
Zabbix to successfully install 



 Comments   
Comment by dimir [ 2024 Mar 13 ]

Just tried it on Ubuntu20:

# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS" 

Your commands returned no errors, Zabbix got installed with no problem:

# dpkg -l '*zabbix*' | grep ^ii
ii  zabbix-agent        1:5.0.41-1+focal amd64        Zabbix network monitoring solution - agent
ii  zabbix-apache-conf  1:5.0.41-1+focal all          Zabbix network monitoring solution - apache configuration for front-end
ii  zabbix-frontend-php 1:5.0.41-1+focal all          Zabbix network monitoring solution - PHP front-end
ii  zabbix-release      1:5.0-1+focal    all          Zabbix official repository configuration
ii  zabbix-server-mysql 1:5.0.41-1+focal amd64        Zabbix network monitoring solution - server (MySQL) 

Please check your environment, maybe it's the firewall or something.

Comment by dimir [ 2024 Mar 19 ]

You can't set Resolution Fixed if nothing was done. Changed to Won't fix.

Generated at Fri May 09 08:11:48 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.