Oh is it asking you to confirm adding the ppa and hitting enter is like yes?  If so try adding a -y
http://manpages.ubuntu.com/manpages/wily/man1/add-apt-repository.1.html

You could add -r to remove them and try again.

On Mar 26, 2016 9:14 PM, "Michael" <bmike1@gmail.com> wrote:
no.... they all returned the same error. I just didn't include the full print out because it was redundant. When I run the command without the \r they will all run without error after I press the enter. however, because the ppa is already installed it says that nothing has changed.

On Sun, Mar 27, 2016 at 12:09 AM, Brien Dieterle <briend@gmail.com> wrote:

The "do" will execute the command without a /r, but it didn't break the command either.  It looks like one of your ppa does not support the version of your Ubuntu.  I bet the rest of them added OK though.  You should see them when you run
apt-cache policy

On Mar 26, 2016 8:47 PM, "Michael" <bmike1@gmail.com> wrote:
I was wondering what I should do to enter a carriage return after each add-apt and I didn't want to ask so.... I did a search for the information. I discovered that to do it I just need to put a '\r'. Cool? I thought so.... until I ran the command. After running the command it spat out:

$ for rep in ppa:dhor/myway ppa:hugin/hugin-builds ppa:mc3man/trusty-media ppa:nilarimogard/webupd8 ppa:otto-kesselgulasch/gimp ppa:yannubuntu/boot-repair; do sudo add-apt-repository $rep\r ; done 
[sudo] password for bmike1: 
'This PPA does not support trusty'
Cannot add PPA: ''This PPA does not support trusty''.

I'm pretty sure the problem is the \r because it doesn't say that when I hit the return key.
My websearch was fruitless so..... will I just have to press enter

On Sat, Mar 26, 2016 at 9:23 PM, Michael <bmike1@gmail.com> wrote:
DUH! I should have looked at it and figured it out. Thanks for that buddy.

On Sat, Mar 26, 2016 at 8:38 PM, Brien Dieterle <briend@gmail.com> wrote:

Put the sudo in front of the add add repo command, or see this
http://stackoverflow.com/questions/10889072/using-sudo-with-for-loop

On Mar 25, 2016 8:00 PM, "Michael" <bmike1@gmail.com> wrote:
not quite:

sudo for rep in ppa:dhor/myway ppa:hugin/hugin-builds ppa:mc3man/trusty-media ppa:nilarimogard/webupd8 ppa:otto-kesselgulasch/gimp ppa:yannubuntu/boot-repair; do add-apt-repository $rep ; done 
bash: syntax error near unexpected token `do'


On Fri, Mar 25, 2016 at 9:57 PM, Rusty Carruth <rustycar54@descomp.com> wrote:


On 03/25/2016 01:30 PM, Carruth, Rusty wrote:

for rep in <whatever1> <whatever2> < whatever3> ; do add-apt-repository $rep ; done

 

There.  A command that will take a list of repos.  And if you did that a lot, make it an alias or a function:

 

function addrepos() { for rep in $* ; do add-apt-repository $rep ; done ; }

 

Put in bashrc or whatever and there you go, a single command.

 

 

From: plug-discuss-bounces@lists.phxlinux.org [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Michael

 

bummer. thanks for the news!

 

On Fri, Mar 25, 2016 at 1:01 PM, Brian Cluff <brian@snaptek.com> wrote:

add-apt-repository only takes a single repository at a time.

Brian

 

On 03/25/2016 06:10 AM, Michael wrote:

does  'add-apt-repository <whatever>' work like 'apt-get install <whatever>' where you can just list the repositories after one ' add-apt-repository?

'add-apt-repository <whatever1> <whatever2> <whatever3> <whatever4>'



---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
:-)~MIKE~(-:



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss