Can't find a way to resolve this error.

– Please Write here your help request –
I’m trying to install OBS studio and was following the commands given by OBS official page. While using add-apt-repository I recieved an error that such command does not exist. So, I installed software-properties-common. And I thought it’ll work. But when I executed “sudo add-apt-repository ppa:obsproject/obs-studio”, I recieved the following error. Help me with this.


  • ParrotOS iso in use:
    4.11

  • Application used for flashing the iso:
    Etcher

  • Logs/Terminal output (use pastebin or similar services):
    Traceback (most recent call last):
    File “/usr/bin/add-apt-repository”, line 95, in
    sp = SoftwareProperties(options=options)
    File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 103, in init
    self.sourceslist = SourcesList()
    File “/usr/lib/python3/dist-packages/aptsources/sourceslist.py”, line 276, in init
    self.refresh()
    File “/usr/lib/python3/dist-packages/aptsources/sourceslist.py”, line 292, in refresh
    self.matcher.match(source)
    File “/usr/lib/python3/dist-packages/aptsources/sourceslist.py”, line 484, in match
    if (re.search(template.match_uri, source.uri) and
    File “/usr/lib/python3.9/re.py”, line 201, in search
    return _compile(pattern, flags).search(string)
    File “/usr/lib/python3.9/re.py”, line 304, in _compile
    p = sre_compile.compile(pattern, flags)
    File “/usr/lib/python3.9/sre_compile.py”, line 764, in compile
    p = sre_parse.parse(p, flags)
    File “/usr/lib/python3.9/sre_parse.py”, line 948, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
    File “/usr/lib/python3.9/sre_parse.py”, line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
    File “/usr/lib/python3.9/sre_parse.py”, line 834, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
    File “/usr/lib/python3.9/sre_parse.py”, line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
    File “/usr/lib/python3.9/sre_parse.py”, line 834, in _parse
    p = _parse_sub(source, state, sub_verbose, nested + 1)
    File “/usr/lib/python3.9/sre_parse.py”, line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
    File “/usr/lib/python3.9/sre_parse.py”, line 668, in _parse
    raise source.error(“nothing to repeat”,
    re.error: nothing to repeat at position 2

  • Screenshots:

Try install OBS Studio via snap

sudo apt update
sudo apt install snapd
reboot

sudo snap install obs-studio

also check Install OBS Studio on Linux | Snap Store for how to connect interfaces & more.

The fun part is, I tried running the software and it was actually installed and working fine. But I did not understand the error it was showing.

To my knowledge and experience, PPA repositories are for Ubuntu-based distros only. Debian does not (on purpose) have the software available for adding any PPA.

1 Like

why does this make sense?

So, nothing happened when I executed the commands to add the repositories??
It would’ve worked without adding any repos?

You should try :slight_smile:

sudo apt-get update
sudo apt install obs-studio

This worked on my :parrot::parrot: os

1 Like