RPI dependency issues with latest php7.0 7.0.30-0+deb9u1 (and their dependent packages)

    • OMV 4.x
    • Resolved
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • RPI dependency issues with latest php7.0 7.0.30-0+deb9u1 (and their dependent packages)

      Hi,

      This issue is already resolved permanently with the rollout of latest version of the openmediavault-omvextrasorg package, which will be pulled automatically during an OMV update. Following issues should be neither present, nor the workarounds should be relevant anymore.

      as there are new info, I quickly want to summarize the latest status of the issue, so users with this issue do not need to scroll through the whole thread. Hope this helps to quickly solve the issue:

      What is the issue
      • issue is related to updating latest PHP packages (PHP7.0-common 7.0.30-0+deb9u1 should be available, but only can get 7.0.27-0+deb9u1)
      • leads to several other issues dependent on PHP like nextcloud via nginx, docker, Sonarr? and probably others


      Who is affected
      • basically looks like all Raspberry Pis + OMV4 (reported also by cskrat, rdowns, probably also luizbacci: Link to Post, also another thread: Link to Post)
      • other armhf devices seem not to be affected (tkaiser was not able to reproduce on a NanoPi NEO)


      What was tried so far/what we know
      • it is not an OMV4 issue itself (but combined with RPI)
      • OMV3 seems not to be affected
      • upstream of Debian seems to be the root cause, which somehow does not allow RPI devices to update properly: most likely it has to do with pin priority of archive.raspberrypi.org
      • trying a forced PHP7.0-common update to latest 7.0.30-0+deb9u1 would result in removal of many critical other packages, but can also force-re-install them (however is case by case which packages are affected)
      • disabling backport repos does not lead to a solution of a proper update
      • there are workarounds, one is case-by-case package install... the other one ignoring archive.raspberrypi.org, which will lead to a lot of package updates.


      Possible workaround
      • cskrat posted a current workaround, which force installs the latest PHP 7.0.30-0 packages + force "reinstalls" the packages, which would have been removed, careful, as other packages might have a need to be added. Looks like it depends on case by case: Link to Post
      • ryecoaaron found an alternate approach to comment out pin priority for archive.raspberrypi.org. Seems to fit for all cases, however installs a lot of packages. Not sure if this has some side-effects: Link to Post
      • other alternative by ryecoaaron: apt-get update and then apt-get install openmediavault-omvextrasorg=4.1.9
      • other alternative by ryecoaaron: wget -O - http://omv-extras.org/install | bash



      Conclusion/summary
      • So far got workarounds, which seem to do the trick. Especially the last approaches I would consider for now as "final workaround" and would therefore treat this issue as solved via workarounds, until it is permanently implemented


      ---

      ORIGINAL POST:

      hope this forum is correct one and maybe somebody had that issue too (and resolved it).

      Problem is:
      - I'm using Nginx (as a plugin) on OMV4.1.8.2-1 and a RPI3B+, no updates available
      - (On top it I got a Nextcloud version)
      - (It screams that it needs some plugins like e.g. PHP module zip)
      - When trying to install latest PHP module zip, it needs a newer version of PHP-Common
      - And there is the fun: Normal apt-get update does not help. When trying to update the PHP-Common manually, it would like to kick instead many of my OMV packages. Looks like a weird compatibility issue. :S

      It feels like my server says: "You want to have Nextcloud with OMV+Nginx? Sure, press 'y' to confirm, that in return I can kick you in your nuts! Or go back to OMV3, where it just worked."
      I feel it is strange, that updating a package (which obviously exists in a newer version), would kill instead the whole OMV installation.
      Now I'm not sure, if my fresh OMV4.0 installation is already broken and would need to start over, or whether issue is somewhere else.

      Was thinking to run it in a Docker instead, but Nextcloud itself seem to be not working there as expected. Also linking my Lets-encrypt SSL from OMV would be an additional challenge.

      The post was edited 9 times, last by MrTestOne ().

    • Forgot yesterday to add some information, which may explain the issue:

      According to tracker.debian.org/pkg/php7.0tracker.debian.org/pkg/php7.0 our issue might be related to the latest update for PHP7.0, which was released few days ago "[2018-07-05] Accepted php7.0 7.0.30-0+deb9u1". Yet, hard to imagine, that after ten days it did not cause more issues for OMV users.

      However it looks like it is not available (yet) for us. Probably it needs some kind of full integration for OMV itself? Or Raspberry-related, as we both have it. But that would be weird, as I think it should affect also other platforms. Probably all our OMV packages are not compatible with php7.0 7.0.30-0+deb9u1. So I change the thread title to this.

      Just tried to update again (with hope, that the update would be magically available), no success.
    • dpkg.log:
      pastebin.com/v2n9BFYT

      dpkg output:
      pastebin.com/8MLFGjMu

      install attempt for php-curl and php7.0-curl:
      pastebin.com/mz6XE8Nq

      apt show for php7.0-common and php7.0-curl:
      pastebin.com/RDJTwCnT

      This is a fresh install from the image file obtained Sat. Jul 14, 2018. The only actions I've performed in the web gui at this point on this install is to enable root SSH login; no plugins, extras or even shares touched.

      Thank you for taking the time to look at this.
    • cskrat wrote:

      This is a fresh install from the image file obtained Sat. Jul 14, 2018. The only actions I've performed in the web gui at this point on this install is to enable root SSH login; no plugins, extras or even shares touched
      Thank you. I only had a look whether this could be the result of a mixture of Raspbian and Debian packages. The RPi image is using upstream Debian 9 (armhf) but we need to pull in some packages from archive.raspberrypi.org and without some ugly apt-pinning this could easily result in a broken package mixture. See Call for testers: OMV4 for ARM boards

      But the output looks fine, only upstream Debian involved so at least nothing we (OMV) could further look into or fix.
    • MrTestOne wrote:

      they (from archive.raspberrypi.org) can fix it, right?
      No. We use upstream Debian 9 armhf packages as already explained and there are only 5 packages that are pulled in from Raspberry Pi repos: github.com/ThomasKaiser/OMV4_f…/overlay/99raspberrypiorg

      I was only concerned that more packages are pulled in since such a mixture is a recipe for failure. But package installation seems not to be affected by such a mix and this is all upstream Debian stuff.
    • Hello tkaiser and thank you for looking into this!

      Can you please confirm that since this is neither an OMV or RPi issue that we need to engage the Debian team by creating a bug report?

      If this is incorrect, what would be our (people affected by this issue) next step in getting this issue resolved? So far, I have not found that this issue has been reported to Debian.


      Thanks!
    • rdowns wrote:

      Can you please confirm that since this is neither an OMV or RPi issue that we need to engage the Debian team by creating a bug report?
      Not entirely sure. Just tried my luck on a good SBC (I don't have any RPi around any more, too annoying)


      Source Code

      1. root@renegade:~# apt-cache search php7.0-common
      2. php7.0-common - documentation, examples and common module for PHP
      3. root@renegade:~# apt-cache show php7.0-common
      4. Package: php7.0-common
      5. Source: php7.0
      6. Version: 7.0.30-0+deb9u1
      7. Installed-Size: 4207
      8. Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
      9. Architecture: arm64
      10. Provides: php-calendar, php-ctype, php-exif, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets, php-sysvmsg, php-sysvsem, php-sysvshm, php-tokenizer, php7.0-calendar, php7.0-ctype, php7.0-exif, php7.0-fileinfo, php7.0-ftp, php7.0-gettext, php7.0-iconv, php7.0-pdo, php7.0-phar, php7.0-posix, php7.0-shmop, php7.0-sockets, php7.0-sysvmsg, php7.0-sysvsem, php7.0-sysvshm, php7.0-tokenizer
      11. Depends: php-common (>= 1:35), ucf, libc6 (>= 2.17), libssl1.1 (>= 1.1.0)
      12. Breaks: gforge-common (<< 6)
      13. Description: documentation, examples and common module for PHP
      14. Description-md5: 22a3869c501657868c4eaafa1e98ce95
      15. Homepage: http://www.php.net/
      16. Section: php
      17. Priority: optional
      18. Filename: pool/main/p/php7.0/php7.0-common_7.0.30-0+deb9u1_arm64.deb
      19. Size: 492718
      20. MD5sum: 8ac0b4e103a240c49595a666db9a45b2
      21. SHA256: a5fb575d37937429b7dea71c6e604f89b1830a982be321a69c8ffa667371c704
      22. root@renegade:~# apt install php-curl
      23. Reading package lists... Done
      24. Building dependency tree
      25. Reading state information... Done
      26. The following additional packages will be installed:
      27. php7.0-curl
      28. The following NEW packages will be installed:
      29. php-curl php7.0-curl
      30. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
      31. Need to get 30.1 kB of archives.
      32. After this operation, 126 kB of additional disk space will be used.
      33. Do you want to continue? [Y/n]
      34. Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 php7.0-curl arm64 7.0.30-0+deb9u1 [25.1 kB]
      35. Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main arm64 php-curl all 1:7.0+49 [5,048 B]
      36. Fetched 30.1 kB in 0s (113 kB/s)
      37. Selecting previously unselected package php7.0-curl.
      38. (Reading database ... 48251 files and directories currently installed.)
      39. Preparing to unpack .../php7.0-curl_7.0.30-0+deb9u1_arm64.deb ...
      40. Unpacking php7.0-curl (7.0.30-0+deb9u1) ...
      41. Selecting previously unselected package php-curl.
      42. Preparing to unpack .../php-curl_1%3a7.0+49_all.deb ...
      43. Unpacking php-curl (1:7.0+49) ...
      44. Setting up php7.0-curl (7.0.30-0+deb9u1) ...
      45. Creating config file /etc/php/7.0/mods-available/curl.ini with new version
      46. Processing triggers for php7.0-fpm (7.0.30-0+deb9u1) ...
      47. Setting up php-curl (1:7.0+49) ...
      Display All
      So can't reproduce but this is arm64 and not armhf architecture. Would be worth a try to check this on another armhf OMV4 image than RPi but I don't have 32-bit SBC any more to test with.
    • tkaiser wrote:

      Would be worth a try to check this on another armhf OMV4 image than RPi but I don't have 32-bit SBC any more to test with.
      Silly me forgot my cute NanoPi NEO. Just tested:

      Source Code

      1. root@backupsrv:/home/tk# apt-cache show php7.0-common
      2. Package: php7.0-common
      3. Source: php7.0
      4. Version: 7.0.30-0+deb9u1
      5. Installed-Size: 3922
      6. Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
      7. Architecture: armhf
      8. Provides: php-calendar, php-ctype, php-exif, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets, php-sysvmsg, php-sysvsem, php-sysvshm, php-tokenizer, php7.0-calendar, php7.0-ctype, php7.0-exif, php7.0-fileinfo, php7.0-ftp, php7.0-gettext, php7.0-iconv, php7.0-pdo, php7.0-phar, php7.0-posix, php7.0-shmop, php7.0-sockets, php7.0-sysvmsg, php7.0-sysvsem, php7.0-sysvshm, php7.0-tokenizer
      9. Depends: php-common (>= 1:35), ucf, libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
      10. Breaks: gforge-common (<< 6)
      11. Description-en: documentation, examples and common module for PHP
      12. This package provides the documentation, examples and common module(s) for PHP.
      13. .
      14. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
      15. open source general-purpose scripting language that is especially suited
      16. for web development and can be embedded into HTML.
      17. Description-md5: 22a3869c501657868c4eaafa1e98ce95
      18. Homepage: http://www.php.net/
      19. Section: php
      20. Priority: optional
      21. Filename: pool/main/p/php7.0/php7.0-common_7.0.30-0+deb9u1_armhf.deb
      22. Size: 489488
      23. MD5sum: e4bdc589f673890ff587b2f30ac7ddf9
      24. SHA256: 3a9351516c2ed8786b62decf837b0c5e019fd7b5a6eb78a9fb406daa01a80911
      25. root@backupsrv:/home/tk# apt install php-curl
      26. Reading package lists... Done
      27. Building dependency tree
      28. Reading state information... Done
      29. The following additional packages will be installed:
      30. php7.0-curl
      31. The following NEW packages will be installed:
      32. php-curl php7.0-curl
      33. 0 upgraded, 2 newly installed, 0 to remove and 20 not upgraded.
      34. Need to get 29.5 kB of archives.
      35. After this operation, 100 kB of additional disk space will be used.
      36. Do you want to continue? [Y/n]
      37. Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf php7.0-curl armhf 7.0.30-0+deb9u1 [24.5 kB]
      38. Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main armhf php-curl all 1:7.0+49 [5,048 B]
      39. Fetched 29.5 kB in 0s (78.6 kB/s)
      40. Selecting previously unselected package php7.0-curl.
      41. (Reading database ... 50471 files and directories currently installed.)
      42. Preparing to unpack .../php7.0-curl_7.0.30-0+deb9u1_armhf.deb ...
      43. Unpacking php7.0-curl (7.0.30-0+deb9u1) ...
      44. Selecting previously unselected package php-curl.
      45. Preparing to unpack .../php-curl_1%3a7.0+49_all.deb ...
      46. Unpacking php-curl (1:7.0+49) ...
      47. Setting up php7.0-curl (7.0.30-0+deb9u1) ...
      48. Creating config file /etc/php/7.0/mods-available/curl.ini with new version
      49. Processing triggers for php7.0-fpm (7.0.30-0+deb9u1) ...
      50. Setting up php-curl (1:7.0+49) ...
      Display All
    • On the NanoPi NEO I purged the php-curl package, activated Docker CE repo and it still works:

      Source Code

      1. root@backupsrv:/home/tk# apt purge php-curl
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following package was automatically installed and is no longer required:
      6. php7.0-curl
      7. Use 'apt autoremove' to remove it.
      8. The following packages will be REMOVED:
      9. php-curl*
      10. 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
      11. After this operation, 12.3 kB disk space will be freed.
      12. Do you want to continue? [Y/n]
      13. (Reading database ... 50466 files and directories currently installed.)
      14. Removing php-curl (1:7.0+49) ...
      15. root@backupsrv:/home/tk# ls -la /etc/apt/sources.list
      16. -rw-r--r-- 1 root root 614 Jul 15 13:21 /etc/apt/sources.list
      17. root@backupsrv:/home/tk# cat /etc/apt/sources.list
      18. deb http://httpredir.debian.org/debian stretch main contrib non-free
      19. #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
      20. deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
      21. #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
      22. #deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
      23. #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
      24. deb http://security.debian.org/ stretch/updates main contrib non-free
      25. #deb-src http://security.debian.org/ stretch/updates main contrib non-free
      26. root@backupsrv:/home/tk# ls -la /etc/apt/sources.list.d/
      27. total 28
      28. drwxr-xr-x 2 root root 4096 Jul 15 13:23 .
      29. drwxr-xr-x 11 root root 4096 Jul 15 13:21 ..
      30. -rw-rw-r-- 1 root root 70 Jan 25 11:00 armbian.list
      31. -rw-r--r-- 1 root root 309 Jul 15 13:22 omv-extras-org.list
      32. -rw-r--r-- 1 root root 79 Jul 15 13:23 openmediavault-kernel-backports.list
      33. -rw-r--r-- 1 root root 205 Jul 15 13:22 openmediavault.list
      34. -rw-r--r-- 1 root root 60 May 9 09:31 openmediavault-local.list
      35. root@backupsrv:/home/tk# cat /etc/apt/sources.list.d/armbian.list
      36. deb http://apt.armbian.com stretch main stretch-utils stretch-desktop
      37. root@backupsrv:/home/tk# apt update
      38. Get:1 file:/var/cache/openmediavault/archives InRelease
      39. Ign:1 file:/var/cache/openmediavault/archives InRelease
      40. Get:2 file:/var/cache/openmediavault/archives Release
      41. Ign:2 file:/var/cache/openmediavault/archives Release
      42. Get:3 file:/var/cache/openmediavault/archives Packages
      43. Ign:3 file:/var/cache/openmediavault/archives Packages
      44. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      45. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      46. Get:5 file:/var/cache/openmediavault/archives Translation-en
      47. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      48. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      49. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      50. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      51. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      52. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      53. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      54. Get:3 file:/var/cache/openmediavault/archives Packages
      55. Ign:3 file:/var/cache/openmediavault/archives Packages
      56. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      57. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      58. Get:5 file:/var/cache/openmediavault/archives Translation-en
      59. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      60. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      61. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      62. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      63. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      64. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      65. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      66. Get:3 file:/var/cache/openmediavault/archives Packages
      67. Ign:3 file:/var/cache/openmediavault/archives Packages
      68. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      69. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      70. Get:5 file:/var/cache/openmediavault/archives Translation-en
      71. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      72. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      73. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      74. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      75. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      76. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      77. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      78. Get:3 file:/var/cache/openmediavault/archives Packages
      79. Ign:3 file:/var/cache/openmediavault/archives Packages
      80. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      81. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      82. Get:5 file:/var/cache/openmediavault/archives Translation-en
      83. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      84. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      85. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      86. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      87. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      88. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      89. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      90. Get:3 file:/var/cache/openmediavault/archives Packages
      91. Ign:3 file:/var/cache/openmediavault/archives Packages
      92. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      93. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      94. Get:5 file:/var/cache/openmediavault/archives Translation-en
      95. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      96. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      97. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      98. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      99. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      100. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      101. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      102. Get:3 file:/var/cache/openmediavault/archives Packages
      103. Get:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      104. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US.UTF-8
      105. Get:5 file:/var/cache/openmediavault/archives Translation-en
      106. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      107. Get:6 file:/var/cache/openmediavault/archives Translation-en_US
      108. Ign:6 file:/var/cache/openmediavault/archives Translation-en_US
      109. Get:7 file:/var/cache/openmediavault/archives Contents (deb)
      110. Ign:7 file:/var/cache/openmediavault/archives Contents (deb)
      111. Get:8 file:/var/cache/openmediavault/archives Contents (deb)
      112. Ign:8 file:/var/cache/openmediavault/archives Contents (deb)
      113. Hit:9 http://packages.openmediavault.org/public arrakis InRelease
      114. Hit:13 http://security.debian.org stretch/updates InRelease
      115. Hit:14 http://apt.armbian.com stretch InRelease
      116. Ign:10 http://cdn-fastly.deb.debian.org/debian stretch InRelease
      117. Hit:11 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
      118. Hit:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
      119. Hit:15 http://cdn-fastly.deb.debian.org/debian stretch Release
      120. Ign:16 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      121. Hit:17 https://download.docker.com/linux/debian stretch InRelease
      122. Ign:18 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-docker stretch InRelease
      123. Get:19 https://openmediavault.github.io/packages arrakis InRelease [12.8 kB]
      124. Hit:20 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      125. Hit:21 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-docker stretch Release
      126. Fetched 12.8 kB in 9s (1,340 B/s)
      127. Reading package lists... Done
      128. Building dependency tree
      129. Reading state information... Done
      130. All packages are up to date.
      131. root@backupsrv:/home/tk# apt install php-curl
      132. Reading package lists... Done
      133. Building dependency tree
      134. Reading state information... Done
      135. The following NEW packages will be installed:
      136. php-curl
      137. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      138. Need to get 5,048 B of archives.
      139. After this operation, 12.3 kB of additional disk space will be used.
      140. Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf php-curl all 1:7.0+49 [5,048 B]
      141. Fetched 5,048 B in 0s (16.8 kB/s)
      142. Selecting previously unselected package php-curl.
      143. (Reading database ... 50464 files and directories currently installed.)
      144. Preparing to unpack .../php-curl_1%3a7.0+49_all.deb ...
      145. Unpacking php-curl (1:7.0+49) ...
      146. Setting up php-curl (1:7.0+49) ...
      Display All

      Maybe important: I've the backports repo disabled:

      Source Code

      1. root@backupsrv:/home/tk# cat /etc/apt/sources.list
      2. deb http://httpredir.debian.org/debian stretch main contrib non-free
      3. #deb-src http://httpredir.debian.org/debian stretch main contrib non-free
      4. deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
      5. #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
      6. #deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
      7. #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
      8. deb http://security.debian.org/ stretch/updates main contrib non-free
      9. #deb-src http://security.debian.org/ stretch/updates main contrib non-free
      Display All
    • Here looks like this:

      Source Code

      1. root@NAS2:~# apt-cache show php7.0-common
      2. Package: php7.0-common
      3. Source: php7.0
      4. Version: 7.0.30-0+deb9u1
      5. Installed-Size: 3922
      6. Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
      7. Architecture: armhf
      8. Provides: php-calendar, php-ctype, php-exif, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets, php-sysvmsg, php-sysvsem, php-sysvshm, php-tokenizer, php7.0-calendar, php7.0-
      9. ctype, php7.0-exif, php7.0-fileinfo, php7.0-ftp, php7.0-gettext, php7.0-iconv, php7.0-pdo, php7.0-phar, php7.0-posix, php7.0-shmop, php7.0-sockets, php7.0-sysvmsg, php7.0-sysvsem, php7.0-sysvshm, php7.0-tokenize
      10. r
      11. Depends: php-common (>= 1:35), ucf, libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
      12. Breaks: gforge-common (<< 6)
      13. Description: documentation, examples and common module for PHP
      14. Description-md5: 22a3869c501657868c4eaafa1e98ce95
      15. Homepage: http://www.php.net/
      16. Section: php
      17. Priority: optional
      18. Filename: pool/main/p/php7.0/php7.0-common_7.0.30-0+deb9u1_armhf.deb
      19. Size: 489488
      20. MD5sum: e4bdc589f673890ff587b2f30ac7ddf9
      21. SHA256: 3a9351516c2ed8786b62decf837b0c5e019fd7b5a6eb78a9fb406daa01a80911
      22. Package: php7.0-common
      23. Status: install ok installed
      24. Priority: optional
      25. Section: php
      26. Installed-Size: 3925
      27. Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
      28. Architecture: armhf
      29. Source: php7.0
      30. Version: 7.0.27-0+deb9u1
      31. Provides: php-calendar, php-ctype, php-exif, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets, php-sysvmsg, php-sysvsem, php-sysvshm, php-tokenizer, php7.0-calendar, php7.0-
      32. ctype, php7.0-exif, php7.0-fileinfo, php7.0-ftp, php7.0-gettext, php7.0-iconv, php7.0-pdo, php7.0-phar, php7.0-posix, php7.0-shmop, php7.0-sockets, php7.0-sysvmsg, php7.0-sysvsem, php7.0-sysvshm, php7.0-tokenize
      33. r
      34. Depends: php-common (>= 1:35), ucf, libc6 (>= 2.15), libssl1.1 (>= 1.1.0)
      35. Breaks: gforge-common (<< 6)
      36. Description: documentation, examples and common module for PHP
      37. Description-md5: 22a3869c501657868c4eaafa1e98ce95
      38. Homepage: http://www.php.net/
      Display All
    • commenting out the backports did not help, still get:

      Source Code

      1. root@NAS2:~# sudo apt-get install php7.0-common=7.0.30-0+deb9u1
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following packages were automatically installed and are no longer required:
      6. acl acpid avahi-daemon beep certbot collectd collectd-core cron-apt dmeventd docker-ce folder2ram fontconfig fontconfig-config fonts-dejavu-core gdisk imagemagick-6-common jfsutils jq libaio1
      7. libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libcairo2 libcups2 libdatrie1 libdbi1 libdevmapper-event1.02.1 libfftw3-double3 libfile-copy-recursive-perl libfile-slurp-perl
      8. libfontconfig1 libfreetype6 libgd3 libgraphite2-3 libharfbuzz0b libjavascript-minifier-xs-perl libjbig0 libjpeg62-turbo libjq1 libjs-extjs6 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl
      9. liblcms2-2 libldb1 liblocale-po-perl liblqr-1-0 libltdl7 liblvm2app2.2 liblvm2cmd2.02 libmagic-mgc libmagic1 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmemcached11 libmemcachedutil2
      10. libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
      11. libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnss-mdns libonig4 libopenjp2-7 libossp-uuid16 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libpython2.7
      12. libreadline5 librrd8 libtalloc2 libtdb1 libtevent0 libthai-data libthai0 libtiff5 libwbclient0 libwebp6 libx11-6 libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxpm4 libxrender1
      13. libxslt1.1 lvm2 mdadm monit nfs-kernel-server nginx nginx-common nginx-full php-symfony-class-loader php-symfony-polyfill-apcu pm-utils proftpd-basic proftpd-mod-vroot python-crypto python-dnspython
      14. python-ldb python-samba python-talloc python-tdb python3-acme python3-certbot python3-cffi-backend python3-chardet python3-configargparse python3-configobj python3-cryptography python3-dialog python3-future
      15. python3-idna python3-josepy python3-lxml python3-mock python3-natsort python3-netifaces python3-openssl python3-parsedatetime python3-pbr python3-pkg-resources python3-pyasn1 python3-pyudev python3-requests
      16. python3-requests-toolbelt python3-rfc3339 python3-setuptools python3-six python3-tz python3-urllib3 python3-zope.component python3-zope.event python3-zope.hookable python3-zope.interface quota quotatool
      17. rrdcached rrdtool samba samba-common samba-common-bin samba-libs samba-vfs-modules sdparm shellinabox smartmontools socat tdb-tools update-inetd uuid xfsprogs xmlstarlet
      18. Use 'sudo apt autoremove' to remove them.
      19. The following packages will be REMOVED:
      20. omvextras-common openmediavault openmediavault-docker-gui openmediavault-flashmemory openmediavault-letsencrypt openmediavault-nginx openmediavault-omvextrasorg openmediavault-shellinabox php php-bcmath
      21. php-cgi php-curl php-fpm php-imagick php-mbstring php-pam php-xml php7.0 php7.0-bcmath php7.0-cgi php7.0-cli php7.0-curl php7.0-fpm php7.0-json php7.0-mbstring php7.0-opcache php7.0-readline php7.0-xml
      22. The following packages will be upgraded:
      23. php7.0-common
      24. 1 upgraded, 0 newly installed, 28 to remove and 0 not upgraded.
      25. Need to get 489 kB of archives.
      26. After this operation, 24.7 MB disk space will be freed.
      27. Do you want to continue? [Y/n]
      Display All
    • I don't have an RPi running but what is the output of: apt-cache policy php7.0-common php7.0-curl with and without backports enabled? I have a feeling adding -t stretch-backports to the apt-get install with backports enabled might fix it.
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!

      The post was edited 1 time, last by ryecoaaron ().

    • Backports Enabled:

      Source Code

      1. root@raspberrypi:~# apt-cache policy php7.0-common php7.0-curl
      2. php7.0-common:
      3. Installed: 7.0.27-0+deb9u1
      4. Candidate: 7.0.30-0+deb9u1
      5. Version table:
      6. 7.0.30-0+deb9u1 995
      7. 10 http://httpredir.debian.org/debian stretch/main armhf Packages
      8. 10 http://security.debian.org stretch/updates/main armhf Packages
      9. 995 file:/var/cache/openmediavault/archives Packages
      10. *** 7.0.27-0+deb9u1 100
      11. 100 /var/lib/dpkg/status
      12. php7.0-curl:
      13. Installed: (none)
      14. Candidate: 7.0.30-0+deb9u1
      15. Version table:
      16. 7.0.30-0+deb9u1 10
      17. 10 http://httpredir.debian.org/debian stretch/main armhf Packages
      18. 10 http://security.debian.org stretch/updates/main armhf Packages
      Display All


      Backports Disabled:

      Source Code

      1. root@raspberrypi:~# apt-cache policy php7.0-common php7.0-curl
      2. php7.0-common:
      3. Installed: 7.0.27-0+deb9u1
      4. Candidate: 7.0.30-0+deb9u1
      5. Version table:
      6. 7.0.30-0+deb9u1 995
      7. 10 http://httpredir.debian.org/debian stretch/main armhf Packages
      8. 10 http://security.debian.org stretch/updates/main armhf Packages
      9. 995 file:/var/cache/openmediavault/archives Packages
      10. *** 7.0.27-0+deb9u1 100
      11. 100 /var/lib/dpkg/status
      12. php7.0-curl:
      13. Installed: (none)
      14. Candidate: 7.0.30-0+deb9u1
      15. Version table:
      16. 7.0.30-0+deb9u1 10
      17. 10 http://httpredir.debian.org/debian stretch/main armhf Packages
      18. 10 http://security.debian.org stretch/updates/main armhf Packages
      Display All
    • And, jumping the gun a bit:

      Source Code

      1. root@raspberrypi:~# apt-get install php7.0-curl -t stretch-backports
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. php7.0-curl : Depends: php7.0-common (= 7.0.30-0+deb9u1) but 7.0.27-0+deb9u1 is to be installed
      12. E: Unable to correct problems, you have held broken packages.
      Display All
    • The package isn't in backports but 7.0.30 is a candidate on your system. Try:

      apt-get upgrade

      If that still doesn't work:
      apt-get install php7.0-common=7.0.30-0+deb9u1
      omv 4.1.9 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.9
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • as there are several longer posts with code, logs, ..., I updated the title and the first entry to reflect the latest status as good as possible. Should help to keep the key info at one place and if there is new progress, will update it accordingly. Increases also the chances, that somebody new to that topic might help directly without reading through the details. :)
    • ryecoaaron wrote:

      The package isn't in backports but 7.0.30 is a candidate on your system. Try:

      apt-get upgrade

      If that still doesn't work:
      apt-get install php7.0-common=7.0.30-0+deb9u1

      I remember I tried "apt-get upgrade", unfortunately did not help.

      When trying to directly install the latest PHP7.0-common, it would break other stuff, see here: RPI dependency issues with latest php7.0 7.0.30-0+deb9u1 (and their dependent packages)