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

Something's broken with custom repos #84

Closed
lfr opened this issue Feb 1, 2021 · 5 comments
Closed

Something's broken with custom repos #84

lfr opened this issue Feb 1, 2021 · 5 comments

Comments

@lfr
Copy link

lfr commented Feb 1, 2021

The following Aptfile used to work a few weeks ago:

:repo:deb [trusted=yes arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod xenial main
dotnet-sdk-5.0

Now it generates the following error during build:

-----> Fetching :repo:deb
       curl: (3) URL using bad/illegal format or missing URL
 !     Push rejected, failed to compile Apt app.

This happens both with edge and standard versions

@edmorley
Copy link
Member

edmorley commented Feb 1, 2021

Hi! See: #79 (comment)

@lfr
Copy link
Author

lfr commented Feb 1, 2021

Hi! See: #79 (comment)

That seems to refer to pre-existing errors that weren't properly reported before. This is not what's happening here, the logs from successful builds show that dotnet-sdk-5.0 was properly being installed from the repo that now causes the error:

image

@lfr
Copy link
Author

lfr commented Feb 1, 2021

I've updated my comment, clearly #79 is not applicable here, and removing the :repo:deb is obviously not the solution.

@lfr
Copy link
Author

lfr commented Feb 1, 2021

Turns out it was an invisible control character in the Aptfile that was causing my error

@lfr lfr closed this as completed Feb 1, 2021
@edmorley
Copy link
Member

edmorley commented Feb 1, 2021

@lfr Ah that makes sense - thank you for posting back with the reason. Sorry it was such a pain to debug!

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

2 participants