Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21987

zabbix-sender needs to breaks+replaces on zabbix-agent

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Agent (G)
    • None
    • Product delivery backlog, Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.25

      Steps to reproduce:

      1. Install zabbix-agent from Debian
      2. Try to install zabbix-sender from your repository
      3. fail...

      The Debian package is made of a single zabbix-agent package that contains zabbix-sender. I would recommend doing the same thing, but if that's not possible, one solution is to add:

      Breaks: zabbix-agent (<< ${binary:Version}~)
      Replaces: zabbix-agent (<< ${binary:Version}~)

      to the Package: zabbix-sender, so that upgrading works correctly. Maybe it'd also be nice to add:

      Depends: zabbix-agent (<< ${binary:Version})

      but I will leave this to your judgement.

      (FYI: I know what I'm talking about, I on the top-10 uploaders in Debian)

      Also, thanks a lot for taking into account my previous bug report about fixing the versionning from release names to numbers. This fixed upgrading for us.

            yurii Jurijs Klopovskis
            zigo Thomas Goirand
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: