No candidate version available for httpd24

I'm using httpd(0.6.2) custom resource in my ubuntu 16.04 node. When I run chef-install i'm getting the below error.

Recipe: lamp::prep
  * apt_package[httpd24] action install
    * No candidate version available for httpd24
    ================================================================================
    Error executing action `install` on resource 'apt_package[httpd24]'
    ================================================================================

    Chef::Exceptions::Package
    -------------------------
    No candidate version available for httpd24

    Resource Declaration:
    ---------------------
    # In /var/chef/cache/cookbooks/lamp/recipes/prep.rb

      8:   package pkg do
      9:     action :install
     10:   end
     11: end

    Compiled Resource:
    ------------------
    # Declared in /var/chef/cache/cookbooks/lamp/recipes/prep.rb:8:in `block in from_file'

    apt_package("httpd24") do
      package_name "httpd24"
      action [:install]
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "lamp"
      recipe_name "prep"
    end

    System Info:
    ------------
    chef_version=15.2.20
    platform=ubuntu
    platform_version=16.04
    ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
    program_name=/usr/bin/chef-client
    executable=/opt/chef/bin/chef-client


Running handlers:
[2019-08-26T16:57:56+07:00] ERROR: Running exception handlers
Running handlers complete
[2019-08-26T16:57:56+07:00] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 02 seconds
[2019-08-26T16:57:56+07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2019-08-26T16:57:56+07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-08-26T16:57:56+07:00] FATAL: Chef::Exceptions::Package: apt_package[httpd24] (lamp::prep line 8) had an error: Chef::Exceptions::Package: No candidate version available for httpd24

In Ubuntu, the Apache package in apt (unless you're using a custom repo) is apache2. Is this a third-party cookbook you're using for this? If so, it doesn't appear to be very aware of your environment.

I use httpd package from chef supermarket and pushed policyfile.lock.json to chef server.

Look up the apache2 cookbook: https://supermarket.chef.io/cookbooks/apache2