cloudfoundry / apt-buildpack

MIT License
31 stars 48 forks source link

Cannot install sendmail package on cflinuxfs4 #199

Open akovov opened 2 months ago

akovov commented 2 months ago

What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version? "api_version":"2.222.0","osbapi_version":"2.15", cf.exe version 8.4.0+ffa55e895.2022-12-01

What version of the buildpack you are using? Apt Buildpack version 0.3.5

If you were attempting to accomplish a task, what was it you were attempting to do? i want to install sendmail as I need possibility to send email from my php app apt.yml

---
 packages:
  - sendmail

manifest.yml part

  stack: cflinuxfs4
  buildpacks:
    - apt_buildpack
    - php_buildpack

What did you expect to happen? sendmail present

What was the actual behavior? sendmail not present

Please confirm where necessary:

Log of app staging:

Staging app and tracing logs...
   Downloading php_buildpack...
   Downloading apt_buildpack...
   Downloaded apt_buildpack (2.3M)
   Downloaded php_buildpack (706M)
   Cell 018b4fb1-6068-4673-9252-011c27e40857 creating container for instance fde20424-7a96-45fc-9649-290efeb33da8
   Cell 018b4fb1-6068-4673-9252-011c27e40857 successfully created container for instance fde20424-7a96-45fc-9649-290efeb33da8
   Downloading app package...
   Downloading build artifacts cache...
   Downloaded app package (408.9K)
   Downloaded build artifacts cache (31.5M)
   -----> Apt Buildpack version 0.3.5
   -----> Updating apt cache
   -----> Downloading apt packages
   Reading package lists...
   Building dependency tree...
   The following additional packages will be installed:
   procmail sendmail-base sendmail-bin sendmail-cf sensible-mda
   Suggested packages:
   rmail logcheck resolvconf sasl2-bin
   The following NEW packages will be installed:
   procmail sendmail sendmail-base sendmail-bin sendmail-cf sendmail-doc
   sensible-mda
   0 upgraded, 7 newly installed, 0 to remove and 99 not upgraded.
   Need to get 0 B/1,572 kB of archives.
   After this operation, 5,384 kB of additional disk space will be used.
   Download complete and in download only mode

   -----> Installing apt packages

   -------> Buildpack version 4.6.16
   Installing HTTPD
   HTTPD 2.4.58
   Downloaded [file:///tmp/buildpacks/88bdafce12e2fb88bee3390732a27ea1/dependencies/https___buildpacks.cloudfoundry.org_dependencies_httpd_httpd_2.4.58_linux_x64_cflinuxfs4_bed46d20.tgz] to [/tmp]
   Installing PHP
   PHP 8.1.27
   Downloaded [file:///tmp/buildpacks/88bdafce12e2fb88bee3390732a27ea1/dependencies/https___buildpacks.cloudfoundry.org_dependencies_php_php_8.1.27_linux_x64_cflinuxfs4_4822f506.tgz] to [/tmp]
   Downloaded [file:///tmp/buildpacks/88bdafce12e2fb88bee3390732a27ea1/dependencies/https___buildpacks.cloudfoundry.org_dependencies_php_php_8.1.27_linux_x64_cflinuxfs4_4822f506.tgz] to [/tmp]
   Downloaded [file:///tmp/buildpacks/88bdafce12e2fb88bee3390732a27ea1/dependencies/https___buildpacks.cloudfoundry.org_dependencies_composer_composer_2.7.1_linux_noarch_any-stack_1ffd0be3.phar] to [/tmp]

Results of checks:

apt list --installed | grep sendmail

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

dpkg -l sendmail
dpkg-query: no packages found matching sendmail