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

sources.list empty line results in debootstrap error #57

Open
svanschu opened this issue May 23, 2019 · 0 comments
Open

sources.list empty line results in debootstrap error #57

svanschu opened this issue May 23, 2019 · 0 comments

Comments

@svanschu
Copy link

I had the error that debootstrap is called with to less values (see image)
After a while I noticed that I had a empty line at the end of my sources.list file. Deleting this line fixed the issue.

The script reads every line, if it's empty or not.

Two possibility

  1. raise a worthy error message, which states the real problem
  2. just check if a line is empty and ignore empty lines ...

Reproduce:
Add empty lines to your sources.list for debootstrap and you should run into the error.

image

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

1 participant