1

I use a program called SimpleScreenRecorder to record videos for YouTube. I was having a problem with it when trying to launch it so I decided to reinstall it. When I try to run the command sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder it tells me this:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 91, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/xenial

This does not happen when I run sudo apt-get update and it says this (just in case something is wrong here too)

Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 204 kB in 1s (178 kB/s)                             
Reading package lists... Done

When I try to run sudo apt-get install simplescreenrecorder it gives me this output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package simplescreenrecorder

and SimpleScreenRecorder does not install. The exact same thing happens when I try to install LiVES even down to the same outputs and I had the same problems.

I am running Ubuntu 16.04.2

wjandrea
  • 14,504
AlexJF
  • 11

1 Answers1

3

It's most likely that you don't have the correct repository listed in your /etc/apt/sources.list file. The that maintains the install has an installation help page located here http://www.maartenbaert.be/simplescreenrecorder/

Which instructs you to add the PPA using these commands:

sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo apt-get update
sudo apt-get install simplescreenrecorder
# if you want to record 32-bit OpenGL applications on a 64-bit system:
sudo apt-get install simplescreenrecorder-lib:i386

Also, make sure that you have software-properties-common installed or you won't be able to add the PPA and if you get an error, try installing it with this:

sudo apt-get install software-properties-common