Ad Widget

Collapse

Package zabbix-apache-conf is not available, but is referred to by another package.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marianogedisman
    Member
    • Oct 2021
    • 78

    #1

    Package zabbix-apache-conf is not available, but is referred to by another package.

    Hello everyone! Running into a weird error that I never got before. A few days ago I successfully installed Zabbix 6.0 LTS on this very same VM. Did something change?
    I googled the error, but found many conflicting workarounds, so any help is deeply appreciated!

    My OS:
    Code:
    Debian GNU/Linux 10 (buster)



    My download:





    The error when I run step (b) from https://www.zabbix.com/download?zabb...ysql&ws=apache :



    Code:
    user@instance-1:/# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
    
    Reading package lists... Done
    
    Building dependency tree
    
    Reading state information... Done
    
    Package zabbix-apache-conf is not available, but is referred to by another package.
    
    This may mean that the package is missing, has been obsoleted, or
    
    is only available from another source
    
    
    
    
    N: Ignoring file 'zabbix-release_6.0-1+debian10_all.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    
    E: Package 'zabbix-apache-conf' has no installation candidate
    
    E: Unable to locate package zabbix-sql-scripts
    
    user@instance#

  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Did you do step a properly? Did you manually put the file in /etc/apt/sources.list.d/?

    Comment

    • Sreekanth1985
      Junior Member
      • Apr 2022
      • 3

      #3
      Click image for larger version

Name:	Capture.png
Views:	3485
Size:	22.8 KB
ID:	443874

      When we tried sending Email as Media type, we are getting above error

      Could someone please help on this

      Comment

      • marianogedisman
        Member
        • Oct 2021
        • 78

        #4
        Originally posted by Atsushi
        Did you do step a properly? Did you manually put the file in /etc/apt/sources.list.d/?
        Hello! Thanks for replying.

        Yes, step a was completely successful. I will try again for the sake of it (after uninstalling everything):


        Code:
        user@instance-1:~$ wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-1+debian10_all.deb
        
        --2022-04-29 21:52:57-- https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-1+debian10_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... 200 OK
        
        Length: 3496 (3.4K) [application/octet-stream]
        
        Saving to: 'zabbix-release_6.0-1+debian10_all.deb.3'
        
        
        
        
        zabbix-release_6.0-1+debian1 100%[===========================================>] 3.41K --.-KB/s in 0s
        
        
        
        
        2022-04-29 21:52:57 (75.2 MB/s) - 'zabbix-release_6.0-1+debian10_all.deb.3' saved [3496/3496]
        
        
        
        
        
        user@instance-1:~$ sudo dpkg -i zabbix-release_6.0-1+debian10_all.deb
        
        (Reading database ... 65839 files and directories currently installed.)
        
        Preparing to unpack zabbix-release_6.0-1+debian10_all.deb ...
        
        Unpacking zabbix-release (1:6.0-1+debian10) over (1:6.0-1+debian10) ...
        
        Setting up zabbix-release (1:6.0-1+debian10) ...
        
        
        
        user@instance-1:~$ sudo apt update
        
        Hit:1 http://security.debian.org/debian-security buster/updates InRelease
        
        Hit:2 http://deb.debian.org/debian buster InRelease
        
        Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
        
        Get:4 http://packages.cloud.google.com/apt cloud-sdk-buster InRelease [6786 B]
        
        Hit:5 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-buster InRelease
        
        Get:6 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
        
        Get:7 http://packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease [5526 B]
        
        Fetched 111 kB in 1s (131 kB/s)
        
        Reading package lists... Done
        
        Building dependency tree
        
        Reading state information... Done
        
        All packages are up to date.

        And then the error:

        Code:
        user@instance-1:~$ sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
        
        Reading package lists... Done
        
        Building dependency tree
        
        Reading state information... Done
        
        Package zabbix-apache-conf is not available, but is referred to by another package.
        
        This may mean that the package is missing, has been obsoleted, or
        
        is only available from another source
        
        
        
        
        E: Package 'zabbix-apache-conf' has no installation candidate
        
        E: Unable to locate package zabbix-sql-scripts

        Comment

        • marianogedisman
          Member
          • Oct 2021
          • 78

          #5
          Update: Issue seems to be 6.0 LTS, 5.0 LTS installs just right.
          Which is odd, before I was able to install 6.0 LTS, but then I was playing around with config files to enable SSL, and that seems to have messed everything up.
          However, I removed all traces of Zabbix, but now unable to get 6.0 LTS to work.

          Comment

          Working...