@m-anish plz help us come to a decision to get Nextcloud's php-* dependencies in place [non-php pkgs might also be added/removed?]#2258
Conversation
|
no... php-mysql pulls in the correct dependencies for common |
|
If you were to include php-common it might generate the same type of 'is a virtual package provided by:' error as the real package is php7.3-common that provides the virtual php-common package. As noted php-mysql correctly pulls in php7.3-mysql and php7.3-common which provides php-common. edit: Tried the apt install php-common test that looks like it would work right. Any real reason you expanded the apt list from #2119 to include those other 8-9 problem virtual packages? Did you even try that list as provided or did you go straight to misunderstanding that some of those modules listed in prerequisites-for-manual-installation were modules at one point but that are now included in and provided by a different module, be it common, xml or some other package? |
|
Whatever our best-guesstimate as to what field communities likely (might) want for Nextcloud 19, 20, etc in the future should be fine for now. This is likely a moving target after all. e.g. @m-anish was very forthcoming explaining that his list of Nextcloud prereq+associated packages ...which contains extras & at least 1 duplicate ...may work on Ubuntu 19.10 today, but not necessarily elsewhere! I'm sure Anish can add some suggestions here when he gets back online in coming days? Even if nothing is super-easy when Nextcloud install docs don't spell this out in a tangibly actionable way. To be clear, I'm not at all criticizing them for including bonus extras for implementers/communities who want that, e.g. for fast image previewing and interop with other apps etc! But I do wish Nextcloud's core requirements were spelled out in (more of) an unambiguous way. e.g. Nextcloud's 1-line installer does something a bit different from their stated requirements ;) |
|
FWIW even though it doesn't align perfectly with Nextcloud's official instructions (!) their 1-line installer script here does offer insights: |
|
@m-anish when you review this, 2 main questions:
|
|
What problem is all this trying to solve? Did nextcloud magically stop working at some point and if so, what changed? Also, php modules needed by nextcloud should be in the nextcloud role unless used by other commonly installed roles. |
2 things:
I (think!) everyone's in agreement there. Thanks @tim-moody for stating that upfront to make it clear. |
|
then then name php-uncommon would be more apt, but just php-modules would do. |
|
How will you know when 'refine' is complete? Why do base requirements need changing as they worked before? The new title sounds like we are evaluating php modules and packages to see which should support nextcloud. |
|
I'm just hoping @m-anish can come up with a recommendation for all of us to take seriously, but I realize he's just getting back online (talked with him very quickly last night!) and so it may take him a few days until he has time for this. |
|
I'm not the originator of any of the Nextcloud PR's just a observer, commentator, debugger trying to pointing out weaknesses in the changes. I am not the hidden hand behind any of these changes, why is my name Mentioned? |
Builds on PRs #2219, #2255 given @jvonau's research under #2255 (review)
cc: @m-anish
Background: https://docs.nextcloud.com/server/18/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation