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

Malformed input #179

Closed
dmelikhov opened this issue Aug 16, 2019 · 1 comment · Fixed by #195
Closed

Malformed input #179

dmelikhov opened this issue Aug 16, 2019 · 1 comment · Fixed by #195

Comments

@dmelikhov
Copy link

dmelikhov commented Aug 16, 2019

Hi, I'm trying to install Docker on Tina (https://docs.docker.com/install/linux/docker-ce/ubuntu/) and I'm unable to setup their repository using add-apt-repository command:

image

Workaround
Add the repo manually to /etc/apt/sources.list

See also
typora/typora-issues#2065
https://forums.docker.com/t/59436/4
https://stackoverflow.com/q/57402923
#171

@BrHal
Copy link

BrHal commented Dec 8, 2019

Happened to me as well. The '[ option=value ]' is rejected due to an incomplete regexp, below is how I fixed /usr/lib/linuxmint/mintSources/mintSources.py

211c211
<     r = re.compile(r'(?:deb|deb-src)\s+\w+:/\S+?/?\s+\S+')
---
>     r = re.compile(r'(?:deb|deb-src)\s+(?:\[.*\])\s+\w+:/\S+?/?\s+\S+')

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

Successfully merging a pull request may close this issue.

2 participants