[ZBX-24988] zabbix-sql-scripts not found in packages for Ubuntu 22 Created: 2024 Aug 07  Updated: 2024 Aug 12

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I), Packages (C), Proxy (P), Server (S)
Affects Version/s: 6.0.31, 6.0.32, 6.0.33rc1
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Andrey Zhdanov Assignee: Jurijs Klopovskis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 22.04



 Description   

Steps to reproduce:

  1. wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4+ubuntu22.04_all.deb
  2. dpkg -i zabbix-release_6.0-4+ubuntu22.04_all.deb
  3. apt update
  4. apt install zabbix-sql-scripts

Result:

# apt install zabbix-sql-scripts
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package zabbix-sql-scripts

Expected:
Package zabbix-sql-scripts found and installed



 Comments   
Comment by Andrey Zhdanov [ 2024 Aug 07 ]

Package file does not contains zabbix-sql-scripts: https://repo.zabbix.com/zabbix/6.0/ubuntu/dists/jammy/main/binary-amd64/Packages

But it can be found in pool of packages: https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix/zabbix-sql-scripts_6.0.9-1%2Bubuntu22.04_all.deb

Comment by Jurijs Klopovskis [ 2024 Aug 08 ]

Cannot reproduce...

root@ubuntu2204:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
root@ubuntu2204:~# wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4+ubuntu22.04_all.deb
...
root@ubuntu2204:~# dpkg -i zabbix-release_6.0-4+ubuntu22.04_all.deb
...
root@ubuntu2204:~# apt update
...
root@ubuntu2204:~# apt search zabbix-sql
Sorting... Done
Full Text Search... Done
zabbix-sql-scripts/zabbix 1:6.0.32-1+ubuntu22.04 all
  Zabbix network monitoring solution - sql-scripts
root@ubuntu2204:~# apt install zabbix-sql-scripts
...
root@ubuntu2204:~# apt-cache policy zabbix-sql-scripts
zabbix-sql-scripts:
   Installed: 1:6.0.32-1+ubuntu22.04
   Candidate: 1:6.0.32-1+ubuntu22.04 
   Version table:
  *** 1:6.0.32-1+ubuntu22.04 500
         500 https://repo.zabbix.com/zabbix/6.0/ubuntu jammy/main all Packages
         100 /var/lib/dpkg/status
      1:6.0.31-1+ubuntu22.04 500
         500 https://repo.zabbix.com/zabbix/6.0/ubuntu jammy/main all Packages
      1:6.0.30-1+ubuntu22.04 500
         500 https://repo.zabbix.com/zabbix/6.0/ubuntu jammy/main all Packages
...
Comment by Jurijs Klopovskis [ 2024 Aug 08 ]

Also, the sql-scripts is listed in architecture independent https://repo.zabbix.com/zabbix/6.0/ubuntu/dists/jammy/main/binary-all/Packages file.

Comment by Andrey Zhdanov [ 2024 Aug 08 ]

But why is it missing from Packages for amd64?

Comment by Jurijs Klopovskis [ 2024 Aug 08 ]

But why is it missing from Packages for amd64?

Because it is an architecture agnostic package.
It being in binary-all should not pose a problem since it is referred by the main Release file for jammy.

> curl https://repo.zabbix.com/zabbix/6.0/ubuntu/dists/jammy/Release
Origin: Zabbix
Label: zabbix
Codename: jammy
Suite: zabbix
Date: Thu, 08 Aug 2024 05:34:26 UTC
Architectures: all amd64
Components: main
Description: Zabbix official apt repository
Version: 22.04
MD5Sum:
 029e2d13b5da46006096956e3b0d3bb7 131645 main/binary-all/Packages
 b80650d8c09694f1401b74359bb36a9a 16148 main/binary-all/Packages.gz
 a27cea2491eff1d316c541659e31fbd8 107 main/binary-all/Release
 675931f1828f4a3ed315bbb94b288f2f 588991 main/binary-amd64/Packages
 266770e0587782f33304b897a053078f 82377 main/binary-amd64/Packages.gz
 914b192f9b2f0d2a80328e167e035064 109 main/binary-amd64/Release
 0ffafe31157e00f6aa40870f29cc17dd 149837 main/source/Sources
 e4f060bf1aae1da1e1ca0a3a69663436 25115 main/source/Sources.gz
 b6bfd9ce5e424d6e6bffaf87fbde7fcf 110 main/source/Release
SHA1:
 a2817ac53204a3f230c64d4f954782587799743b 131645 main/binary-all/Packages
 404525d862b632e9c23235c6efc49cee9896e0bf 16148 main/binary-all/Packages.gz
 e3e57c88fef349c20c5b3234aef69dc5d3e1581f 107 main/binary-all/Release
 1cda26803c846563eed5129c6bb4b7b3f62684f4 588991 main/binary-amd64/Packages
 04ce37436868a7bfea790e5660090355f617ccba 82377 main/binary-amd64/Packages.gz
 7df478cd95d3450503ae3be21cef6bdb9e176fb7 109 main/binary-amd64/Release
 52b50c0e12e18903ba69e6bc60897cc422115eda 149837 main/source/Sources
 47c7c8eafbcea8afd81ac7770245912a003cb10a 25115 main/source/Sources.gz
 46e9c44b3e0595c066e9c4b723e6a0e017acda53 110 main/source/Release
SHA256:
 1c7656c513840e9f51c810efcd109168dfe93bd15bb80ae58a09e1bbe55ef89c 131645 main/binary-all/Packages
 7cd6d9d0d4c82f387e74651170feb379defc1a5ed86c53bc61f95bc8452de1c0 16148 main/binary-all/Packages.gz
 8d6bcdbea1188cacf786c60968a6b52f171a88012a51da763ede3d83ab40185f 107 main/binary-all/Release
 07b2ccda466284103a4a2f71bdd87c378237d06127c2092b8287caba7d9ba346 588991 main/binary-amd64/Packages
 2a32c24493e126907aa23cf62f7fe2e979cce0b66d4d4f8914caa48c8c54d2ce 82377 main/binary-amd64/Packages.gz
 b9bac28a57167acd498211d7a4638af180977ff501f267b667b4436aaa81fd9b 109 main/binary-amd64/Release
 9ef8c55aced283e3c45dccecf56977a4d91bb4f91f48e38ed424d6f50b621896 149837 main/source/Sources
 b0e161c8850c790c9f4493c32d178166c17ad15c2aab20abaf058063a02b3b90 25115 main/source/Sources.gz
 0080c230408e5af08e9a57979330b9859010ca880c3b9dae93a5e28f0ad4f0d8 110 main/source/Release
Comment by Andrey Zhdanov [ 2024 Aug 08 ]

Using a package synchronization tool like uyuni, a specific architecture is specified and the all packages are not included in it.
Maybe this is a problem with specific tools...

Comment by Jurijs Klopovskis [ 2024 Aug 09 ]

Using a package synchronization tool like uyuni, a specific architecture is specified and the all packages are not included in it.
Maybe this is a problem with specific tools...

Yeah. We should take that into consideration.

Can you do an extra sync for "all" as well as for x86_64?

Comment by Andrey Zhdanov [ 2024 Aug 10 ]

This is an unnecessary action that violates the order and logic of package management... I would not like such perversions.

Generated at Mon Jun 23 06:53:17 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.