Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not upgrade module 'puppet-php' (v4.0.0 -> v5.0.0) #378

Closed
hostingnuggets opened this issue Sep 13, 2017 · 14 comments
Closed
Labels
bug Something isn't working

Comments

@hostingnuggets
Copy link

On my puppet 4.8.2 Debian 9 master server I am trying to upgrade the puppet-php module to v4.0.0 to v5.0.0 with the following command:

sudo puppet module upgrade --version 5.0.0 puppet-php

unfortunately it fails with the following output:

Notice: Preparing to upgrade 'puppet-php' ...
Notice: Found 'puppet-php' (v4.0.0) in /etc/puppet/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not upgrade module 'puppet-php' (v4.0.0 -> v5.0.0)
  No version of 'puppet-php' can satisfy all dependencies
    Use `puppet module upgrade --ignore-dependencies` to upgrade only this module

It must conflict with another puppet module but I can't figure out which one. I have the following modules installed:

/etc/puppet/code/environments/production/modules
├── darin-zypprepo (v1.0.2)
├── dhoppe-fail2ban (v1.3.4)
├── edestecd-clamav (v1.0.0)
├── example42-puppi (v2.2.3)
├── example42-yum (v2.1.28)
├── fraenki-proftpd (v1.0.0)
├── pdxcat-nrpe (v2.1.1)
├── puppet-archive (v2.0.0)  
├── puppet-extlib (v1.1.0)
├── puppet-nginx (v0.7.1)
├── puppet-php (v4.0.0)
├── puppet-staging (v2.2.0)
├── puppetlabs-apache (v2.0.0)
├── puppetlabs-apt (v4.1.0)  
├── puppetlabs-concat (v4.0.1)
├── puppetlabs-inifile (v1.6.0)
├── puppetlabs-mysql (v3.11.0)
├── puppetlabs-postgresql (v5.1.0)
├── puppetlabs-stdlib (v4.19.0)
├── puppetlabs-tagmail (v2.2.0)
├── razorsedge-snmp (v3.8.1)
├── saz-locales (v2.4.0)
└── stahnma-epel (v1.2.2)

any idea what could be wrong?

@ekohl
Copy link
Member

ekohl commented Sep 13, 2017

I wonder if it checks the supported OS since Debian 9 is not in metadata.json.

@hostingnuggets
Copy link
Author

Is it then safe to upgrade the package with the --force parameter? and would be great if that package also natively works with Debian 9 which is already out since around 3 months.

@djl
Copy link

djl commented Sep 15, 2017

This doesn't appear to be a Debian-specific issue. I'm seeing the same issue on CentOS 7.

@ekohl
Copy link
Member

ekohl commented Sep 15, 2017

I think that in your case you need 4fdc9a2 in a release. That allows your installed puppet-archive 2.0.0.

@dhollinger could you look at doing a 5.1.0 release?

@hostingnuggets
Copy link
Author

great that the cause could be found in the metadata.json file, looking forward to test 5.1.0.

@hostingnuggets
Copy link
Author

@ekohl version 5.1.0 is now out but I don't see any support for Debian 9 in metadata.json Is it possible you forgot to add it or is Debian 9 officially still not supported?

@juniorsysadmin juniorsysadmin added the bug Something isn't working label Nov 16, 2017
@hostingnuggets
Copy link
Author

any news?

@ekohl
Copy link
Member

ekohl commented Jan 18, 2018

This very much slipped my radar. Since I don't use PHP or this module, it really needs more maintainers to take care of this module. I'd be happy to help someone get up to speed with it but I don't have the time to maintain this module.

@hostingnuggets
Copy link
Author

@ekohl does this mean that you are actually the only person working on this module?

@ekohl
Copy link
Member

ekohl commented Jan 30, 2018

Not sure. Voxpupuli does rely on users to contribute since it's a pure community effort. Given the number of open issues and PRs this module does need people to step up.

@SimonHoenscheid
Copy link
Sponsor Member

This has gone into a release, please close

@hostingnuggets
Copy link
Author

@SimonHoenscheid the puppet metadata for this package still lists only Debian 7 and 8 as supported, maybe it has been forgotten to update this package file to list Debian 9?

@bastelfreak
Copy link
Member

@hostingnuggets #440 adds debian 9 support. This is curerntly in our master branch and will be released in the next days.

@hostingnuggets
Copy link
Author

@bastelfreak great thanks, I will then wait for this new release and test it. I will re-open this case if there should be anything going wrong with the upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants