Ad Widget

Collapse

Установка Zabbix-agent Ошибка Depends libmodbus5 (>= 3.0.2) but it is not installable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • D.Frolov
    Member
    • Apr 2020
    • 95

    #1

    Установка Zabbix-agent Ошибка Depends libmodbus5 (>= 3.0.2) but it is not installable

    1. cat /etc/os-release

    Code:
    PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
    NAME="Debian GNU/Linux"
    VERSION_ID="12"
    VERSION="12 (bookworm)"
    VERSION_CODENAME=bookworm
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"
    2. https://www.zabbix.com/ru/download?z...debian&os_vers ion=12&components=agent&db=&ws=

    3. apt install zabbix-agent

    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     zabbix-agent : Depends: libmodbus5 (>= 3.0.2) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    Last edited by D.Frolov; 15-10-2024, 15:06.
  • Kos
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2015
    • 3404

    #2
    Первый шаг этой инструкции (установка пакета репозитория) до этого выполнен?
    Code:
    wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+12_all.deb
    dpkg -i zabbix-release_latest+12_all.deb
    apt update

    Comment

    • D.Frolov
      Member
      • Apr 2020
      • 95

      #3
      Originally posted by Kos
      Первый шаг этой инструкции (установка пакета репозитория) до этого выполнен?
      Code:
      wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+12_all.deb
      dpkg -i zabbix-release_latest+12_all.deb
      apt update
      Да, конечно выполнена

      Comment

      • D.Frolov
        Member
        • Apr 2020
        • 95

        #4
        Originally posted by Kos
        Первый шаг этой инструкции (установка пакета репозитория) до этого выполнен?
        Code:
        wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+12_all.deb
        dpkg -i zabbix-release_latest+12_all.deb
        apt update
        Вы выбираете агента 2, там вообще ответ 404

        Code:
        wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+12_all.deb
        --2024-10-15 16:54:31--  https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+12_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... 404 Not Found
        А вот когда Agent просто, то да, все установлено

        Comment

        • Kos
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Aug 2015
          • 3404

          #5
          Originally posted by D.Frolov
          Вы выбираете агента 2, там вообще ответ 404
          [...]
          А вот когда Agent просто, то да, все установлено
          Я что ни выбираю, там высвечивается одна и та же ссылка. Но Вы правы - она на данный момент битая, правильная - такая:
          https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_latest+debian12_all.deb
          Написал, чтобы поправили.

          Comment

          • D.Frolov
            Member
            • Apr 2020
            • 95

            #6
            Originally posted by D.Frolov
            1. cat /etc/os-release

            Code:
            PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
            NAME="Debian GNU/Linux"
            VERSION_ID="12"
            VERSION="12 (bookworm)"
            VERSION_CODENAME=bookworm
            ID=debian
            HOME_URL="https://www.debian.org/"
            SUPPORT_URL="https://www.debian.org/support"
            BUG_REPORT_URL="https://bugs.debian.org/"
            2. https://www.zabbix.com/ru/download?z...debian&os_vers ion=12&components=agent&db=&ws=

            3. apt install zabbix-agent

            Code:
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            Some packages could not be installed. This may mean that you have
            requested an impossible situation or if you are using the unstable
            distribution that some required packages have not yet been created
            or been moved out of Incoming.
            The following information may help to resolve the situation:
            
            The following packages have unmet dependencies:
            zabbix-agent : Depends: libmodbus5 (>= 3.0.2) but it is not installable
            E: Unable to correct problems, you have held broken packages.
            Проблема решилась, вот что было:

            1. Это был сервер Proxmox Backup Server
            2. По умолчанию, там платный репозиторий, не давал сделать apt update && apt upgrade
            3. Заменил, на бесплатный репозиторий, сделал apt update && apt upgrade
            4. Смог установить zabbix-agent проблем не возникло.

            Comment

            Working...