[ZBX-25270] Debian12 - Error with reading package list Created: 2024 Sep 19  Updated: 2024 Sep 23  Resolved: 2024 Sep 23

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Marek Rysavy Assignee: Jurijs Klopovskis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. server with debian 12
  2. wget https://repo.zabbix.com/zabbix/7.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+debian12_all.deb
  1. dpkg -i zabbix-release_latest+debian12_all.deb
  1. apt update

Result:

root@zabbix:~# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                              
Hit:4 http://deb.debian.org/debian bookworm-backports InRelease                                                            
Hit:5 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease                         
Hit:6 https://repo.zabbix.com/zabbix-tools/debian-ubuntu bookworm InRelease
Reading package lists... Error!                  
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repo.zabbix.com_zabbix-tools_debian-ubuntu_dists_bookworm_main_binary-all_Packages
E: The package lists or status file could not be parsed or opened. 


 Comments   
Comment by Jurijs Klopovskis [ 2024 Sep 19 ]

This should already be fixed.
Check, marekrysavy 

Comment by Marek Rysavy [ 2024 Sep 19 ]

Hi,

it's better, I can see at least something, but not the latest version...

 

root@zabbix:~# apt update
Hit:1 http://apt.postgresql.org/pub/repos/apt bookworm-pgdg InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease                  
Hit:3 http://deb.debian.org/debian bookworm InRelease                                         
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease           
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease         
Hit:6 https://repo.zabbix.com/zabbix-tools/debian-ubuntu bookworm InRelease
Reading package lists... Done                    
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@zabbix:~#
root@zabbix:~#
root@zabbix:~# apt-cache madison zabbix-server-pgsql
zabbix-server-pgsql | 1:7.0.2+dfsg-1~bpo12+1 | http://deb.debian.org/debian bookworm-backports/main amd64 Packages
zabbix-server-pgsql | 1:6.0.14+dfsg-1+b1 | http://deb.debian.org/debian bookworm/main amd64 Packages
    zabbix | 1:6.0.14+dfsg-1 | http://deb.debian.org/debian bookworm/main Sources 

 

 

 

Comment by Jurijs Klopovskis [ 2024 Sep 20 ]

What's the output of apt-cache policy zabbix-server-mysql?

Should be:

root@debian12:~# apt-cache policy zabbix-server-mysql
zabbix-server-mysql:
  Installed: (none)
  Candidate: 1:7.0.3-1+debian12
  Version table:
     1:7.0.3-1+debian12 500
        500 https://repo.zabbix.com/zabbix/7.0/debian bookworm/main amd64 Packages
     1:7.0.2-1+debian12 500
        500 https://repo.zabbix.com/zabbix/7.0/debian bookworm/main amd64 Packages
     1:7.0.1-1+debian12 500
        500 https://repo.zabbix.com/zabbix/7.0/debian bookworm/main amd64 Packages
     1:7.0.0-1+debian12 500
        500 https://repo.zabbix.com/zabbix/7.0/debian bookworm/main amd64 Packages
     1:6.0.14+dfsg-1+b1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages

Seems like the main zabbix repo is not installed on your system anymore.

Comment by Marek Rysavy [ 2024 Sep 23 ]

Currently good, somehow my OS doesn't sort the available versions correctly but I can get to the right version.

Generated at Tue May 20 07:59:45 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.