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

apt-select fail to parse sources.list with a specific arch #54

Open
epaul13 opened this issue Dec 5, 2016 · 3 comments
Open

apt-select fail to parse sources.list with a specific arch #54

epaul13 opened this issue Dec 5, 2016 · 3 comments
Assignees
Labels

Comments

@epaul13
Copy link

epaul13 commented Dec 5, 2016

In my sources.list I select [arch=amd64] which breaks apt-select parsing. if I remove [arch=amd64] it works fine.

For instance:

    deb [arch=amd64] http://mymirror/ubuntu trusty main restricted

The problem is in __confirm_apt_source_uri

@jblakeman jblakeman added the bug label Dec 12, 2016
@jblakeman
Copy link
Owner

jblakeman commented Dec 12, 2016

Thanks for reporting this. The parsing of sources.list has never considered [option=value] in the URI, which was an oversight.

@jblakeman jblakeman self-assigned this Dec 12, 2016
@epaul13
Copy link
Author

epaul13 commented Dec 12, 2016 via email

martin68 added a commit to martin68/apt-smart that referenced this issue Sep 23, 2019
…list, and then get it back when generating new sources.list , fix jblakeman/apt-select#54
@martin68
Copy link

@epaul13 Thank you for point this out. My similar project was also affected, and my commit
martin68/apt-smart@6c8b911
should fix it. Since this issue is open for almost 3 years without a fix, you can try my similar project: apt-smart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants