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

-y is not a valid option for add-apt-repository on Lucid #190

Closed
derikson opened this issue Dec 1, 2013 · 2 comments
Closed

-y is not a valid option for add-apt-repository on Lucid #190

derikson opened this issue Dec 1, 2013 · 2 comments

Comments

@derikson
Copy link

derikson commented Dec 1, 2013

On Lucid, and probably other versions of Ubuntu, -y is an invalid option. This causes use of the apt::ppa resource to fail with "Error: /usr/bin/add-apt-repository -y ppa:git-core/ppa returned 2 instead of one of [0]".

The $option parameter should only be set to "-y" by default on versions of Debian/Ubuntu that support it.

See #146, where this option was introduced.

@boite
Copy link

boite commented Jan 21, 2014

I'd like to figure out a way to work around this issue for a Lucid box: does anyone have any helpful hints?

@chelnak
Copy link

chelnak commented Mar 8, 2022

Hello! We are doing some house keeping and noticed that this issue has been open for a long time.

We're going to close it but please do raise another issue if the issue still persists. 😄

@chelnak chelnak closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants