Posts: 107
brian
Joined: 10 Sep 2011
#1
Hi everyone,
I'm trying to add a repository:

Code: Select all

sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
but I get this error:

Code: Select all

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for antiX/jessie
Any help appreciated!

brian
Last edited by brian on 04 Oct 2017, 19:04, edited 1 time in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Don't! Adding ppa's may break your antiX install.

If you want simplescreenrecorder, install it via the metapackage-installer app in the control centre. Under Screencast.

Or use synaptic
Or apt-get install simplescreenrecorder
Posts: 107
brian
Joined: 10 Sep 2011
#3
anticapitalista wrote: Don't! Adding ppa's may break your antiX install.

If you want simplescreenrecorder, install it via the metapackage-installer  app in the control centre. Under Screencast.

Or use synaptic
Or apt-get install simplescreenrecorder
Hi anticapitalista,
first of all, thank you for responding. I LOVE AntiX. (even got a realtime kernel installed on this 5-year old PC and LOVING it!)   (I like the new forum atmosphere too!)

I tried installing from the control centre and got this error:
start installation for Screencast-SimpleScreenRecorder.bm
--------------------------------------
---- in preprocessing ----
---- preprocessing done----
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package simplescreenrecorder

search all installed packages who need locale packages, please wait ...

==================================
enter your code or close the window <ALT> + <F4>

I also tried just apt-get to do the install but it says that package is not found. :(

brian
Posts: 1,139
masinick
Joined: 26 Apr 2008
#4
Hi Brian!

My name is also Brian.  When you install new software using apt-get, you have to first update the package cache.

Here's how to do that:

Code: Select all

sudo apt-get update
sudo apt-get install [your-package]
(naturally replacing [your-package] with whatever package or packages (separate multiple packages by spaces in between each package name).

If you prefer to use synaptic, in that case you click the Refresh button prior to selecting the packages to be installed.  Once the package list is refreshed, you can install whatever available packages you are interested in.
Posts: 107
brian
Joined: 10 Sep 2011
#5
masinick wrote: Hi Brian!

My name is also Brian.  When you install new software using apt-get, you have to first update the package cache.

Here's how to do that:

Code: Select all

sudo apt-get update
sudo apt-get install [your-package]
(naturally replacing [your-package] with whatever package or packages (separate multiple packages by spaces in between each package name).

If you prefer to use synaptic, in that case you click the Refresh button prior to selecting the packages to be installed.  Once the package list is refreshed, you can install whatever available packages you are interested in.
Hi Brian,
thank you for your help. Unfortunately I've already tried updating the repositories but alas, simplescreenrecorder is not available. It is listed in the Control Centre metapackage installer but it doesn't install it. It mentions something about locales, and that I need to enter my code number. --??

brian
Posts: 1,139
masinick
Joined: 26 Apr 2008
#6
brian wrote:
masinick wrote: Hi Brian!

My name is also Brian.  When you install new software using apt-get, you have to first update the package cache.

Here's how to do that:

Code: Select all

sudo apt-get update
sudo apt-get install [your-package]
(naturally replacing [your-package] with whatever package or packages (separate multiple packages by spaces in between each package name).

If you prefer to use synaptic, in that case you click the Refresh button prior to selecting the packages to be installed.  Once the package list is refreshed, you can install whatever available packages you are interested in.
Hi Brian,
thank you for your help. Unfortunately I've already tried updating the repositories but alas, simplescreenrecorder is not available. It is listed in the Control Centre metapackage installer but it doesn't install it. It mentions something about locales, and that I need to enter my code number. --??

brian
Send a screenshot of the details. Maybe we can help you with it.
Posts: 107
brian
Joined: 10 Sep 2011
#7
Here:
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
I just use

Code: Select all

avconv -f alsa -i hw:0,0 -f x11grab -s 1600x900 -r 25 -i :0.0 -vcodec libx264 -acodec libmp3lame vid_file.avi
Just change 1600x900 to fit your resolution on your screen. You will pick up sound through the microphone with above command. At least I do on my AntiX install. No need to install ppa then . Post a screenshot anyways for Brian and the rest of us to get a better idea on what is going on with you. I can't upload the .avi I just made with the above command. So here is my screen shot.
Image

Oh my God. Lucid repos. For shame.

Oh yeah. For list of running locales

Code: Select all

harry@biker:~
$ locale -a
C
C.UTF-8
en_US
en_US.iso88591
en_US.utf8
POSIX
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#9
Brian, since metapackageinstaller isn't working for ya, you can download via browser from here:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://mxrepo.com/mx/testrepo/pool/test/s/simplescreenrecorder/"
linktext was:"http://mxrepo.com/mx/testrepo/pool/test ... nrecorder/"
====================================

then install the download deb file(s) using the command: sudo dpkg -i packagename.deb

file(s) == (I don't know whether the separate"libssr-glinject" package contains optional addon files, or is required)

ps:
If the workflow during installation of a package asks"enter your locale code --"
(FWIW, for most packages, locale is nearly always auto-detected)
and your language is english
en
^----"dash dash" is a placeholder, hinting that it's awaiting your 2 character locale code
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
Remove the ppa from your sources
Posts: 107
brian
Joined: 10 Sep 2011
#11
Hi all,
I appreciate all the feedback. One of these options has gotta work...!
There is no ppa to remove from the sources. At least, not the one that is given at the 
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.maartenbaert.be/simplescreenrecorder/"
linktext was:"http://www.maartenbaert.be/simplescreenrecorder/"
====================================
  website.

I tried putting"en" for the locale when trying to install from the Control Centre but got this:
enter your code or close the window <ALT> + <F4>
# en
/tmp/temp_aptgetcall.sNKkQj: line 50: en: command not found

I guess I could either try installing the .deb file in the link Skidoo posted; or just learn the syntax for using the command line avconv as rokytnji posted. (I need to record audio through Jack though, and ideally just a window area.   I did a test (with my screen resolution) but it didn't produce a file that I could see.  ??

brian
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#12
Post the output of inxi -r
Posts: 107
brian
Joined: 10 Sep 2011
#13
anticapitalista wrote: Post the output of inxi -r
$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.it.debian.org/debian/"
linktext was:"http://ftp.it.debian.org/debian/"
====================================
jessie main contrib non-free
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================
jessie/updates main contrib non-free
           deb-src
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.it.debian.org/debian/"
linktext was:"http://ftp.it.debian.org/debian/"
====================================
jessie main contrib non-free
           deb-src
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.it.debian.org/debian/"
linktext was:"http://ftp.it.debian.org/debian/"
====================================
testing main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/kxstudio-debian.list
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu/"
====================================
lucid main
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/"
====================================
lucid main
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debia ... ns/ubuntu/"
====================================
lucid main
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu/"
====================================
lucid main
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debia ... io/ubuntu/"
====================================
lucid main
           Active apt sources in file: /etc/apt/sources.list.d/kxstudio-debian.new.list
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu/"
====================================
trusty main
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/"
====================================
trusty main
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debia ... ns/ubuntu/"
====================================
trusty main
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu/"
====================================
trusty main
           deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu/"
linktext was:"http://ppa.launchpad.net/kxstudio-debia ... io/ubuntu/"
====================================
trusty main
           Active apt sources in file: /etc/apt/sources.list.d/kxstudio-free.list
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://kxstudio.linuxaudio.org/repo/"
linktext was:"http://kxstudio.linuxaudio.org/repo/"
====================================
stable free
           Active apt sources in file: /etc/apt/sources.list.d/kxstudio-non-free.list
           deb [arch=amd64,i386]
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://kxstudio.linuxaudio.org/repo/"
linktext was:"http://kxstudio.linuxaudio.org/repo/"
====================================
stable non-free

anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#14
As I said, remove the ppa entries. Or remove this file - kxstudio-debian.list
Posts: 107
brian
Joined: 10 Sep 2011
#15
anticapitalista wrote: As I said, remove the ppa entries. Or remove this file - kxstudio-debian.list
Oh, I thought you meant the ppa that is given at the SimpleSoundRecorder website.
I don't want to remove the kxstudio ppa's because I use a lot of apps from these.  Won't I lose those app updates if I eliminate the ppa's?


brian