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

Package version automatically updated after apt-get ugrade #37

Open
jwmarshall opened this issue Jun 2, 2015 · 5 comments
Open

Package version automatically updated after apt-get ugrade #37

jwmarshall opened this issue Jun 2, 2015 · 5 comments
Assignees

Comments

@jwmarshall
Copy link

As stated in the title I have an issue where Uchiwa (installed from package) is upgraded to the latest version when apt-get upgrade is run. This wouldn't be a terrible issue if I wasn't installing a specific version via attributes, also the latest version seems to have some bugs and doesn't allow me to silence alarms.

This cookbook should probably pin the version used by apt. (Im using Ubuntu 14.04 FYI)

See: https://help.ubuntu.com/community/PinningHowto

@amdprophet
Copy link
Member

Hi @jwmarshall, are you using the http or repo recipe to install Uchiwa? How are you currently overriding the version attribute?

@amdprophet
Copy link
Member

Oh sorry, I understand what you're describing now. I'll need to implement this functionality in the cookbook. Thanks for reporting the issue!

@amdprophet amdprophet added the bug label Jun 2, 2015
@amdprophet amdprophet self-assigned this Jun 2, 2015
@jwmarshall
Copy link
Author

I'm using default['uchiwa']['version'] = '0.7.1-1' specifically. I just looked at the apt cookbook and there is an LWRP for package preferences.

https://github.com/opscode-cookbooks/apt#apt_preference

@jwmarshall
Copy link
Author

FWIW I upgraded to the latest uchiwa, the problem I had was a web sockets issue with my proxy. So the bug above is less relevant for me now. I do appreciate your time and effort though.

:)

@amdprophet
Copy link
Member

@jwmarshall I'm glad you got it working. I will be implementing the apt_preference resource soon to prevent others from running into similar issues in the future.

@majormoses majormoses added Type: Bug and removed bug labels Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants