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

Support to use default_release for package install #376

Open
ukcuf opened this issue Oct 8, 2018 · 2 comments
Open

Support to use default_release for package install #376

ukcuf opened this issue Oct 8, 2018 · 2 comments
Labels
Feature Request Enhancement to existing functionality or new functionality Good First Issue An issue which is a good way to get started in the project Help Wanted Assistance is required to resolve this issue

Comments

@ukcuf
Copy link

ukcuf commented Oct 8, 2018

Hello, do we have any way or plan to specify the default_release for installation when package_install == true?

On Debian/Ubuntu system, it is useful to pick up latest Redis released version from backports instead of stable repository.

A rough change of supporting this thought is like this commit ukcuf@dbda53a

Not sure if I can file a PR like above?

Thanks.

@xorima xorima added Feature Request Enhancement to existing functionality or new functionality Good First Issue An issue which is a good way to get started in the project Help Wanted Assistance is required to resolve this issue labels May 13, 2019
@salsa-dev
Copy link

+1 I get errors with just default attributes:

Recipe: redisio::install
  * apt_package[redisio_package_name] action install
    
    ================================================================================
    Error executing action `install` on resource 'apt_package[redisio_package_name]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '100'
    ---- Begin output of ["apt-get", "-q", "-y", "--allow-downgrades", "-o", "Dpkg::Options::=--force-confdef", "-o", "Dpkg::Options::=--force-confold", "install", "redis-server=2.8.20"] ----
    STDOUT: Reading package lists...
    Building dependency tree...
    Reading state information...
    STDERR: E: Version '2.8.20' for 'redis-server' was not found
    ---- End output of ["apt-get", "-q", "-y", "--allow-downgrades", "-o", "Dpkg::Options::=--force-confdef", "-o", "Dpkg::Options::=--force-confold", "install", "redis-server=2.8.20"] ----
    Ran ["apt-get", "-q", "-y", "--allow-downgrades", "-o", "Dpkg::Options::=--force-confdef", "-o", "Dpkg::Options::=--force-confold", "install", "redis-server=2.8.20"] returned 100
    

Ubuntu 18.04.1 LTS

should be possible. i will have a look

@github-actions
Copy link

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Enhancement to existing functionality or new functionality Good First Issue An issue which is a good way to get started in the project Help Wanted Assistance is required to resolve this issue
Projects
None yet
Development

No branches or pull requests

4 participants