Re: [ubuntu-in] something wrong with the command to add mediubuntu repos

2009-11-12 Thread Mehul Ved
On Thu, Nov 12, 2009 at 11:33 PM, Ramnarayan.K  wrote:
> Hi
>
> i got this command
> sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list \
>  --output-document=/etc/apt/sources.list.d/medibuntu.list &&
>
> from
> https://help.ubuntu.com/community/Medibuntu
>
> but when i use it (in a terminal) all i get is
>>
>
> seems like something is wrong with the command , i cannot figure that out ??

&& is what's wrong with the command. You don't need to add that unless
you're going to run another command if the given command executes
successfully.
What is written on that page is to 'and' all those commands
I hope it shows in a better manner here

sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list \
 --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo
apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated
install medibuntu-keyring && sudo apt-get -q update

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


[ubuntu-in] something wrong with the command to add mediubuntu repos

2009-11-12 Thread Ramnarayan.K
Hi

i got this command
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list \
 --output-document=/etc/apt/sources.list.d/medibuntu.list &&

from
https://help.ubuntu.com/community/Medibuntu

but when i use it (in a terminal) all i get is
>

seems like something is wrong with the command , i cannot figure that out ??

But I used commands from an earlier version with the distribution name
changed and this seems to work

$ sudo wget http://www.medibuntu.org/sources.list.d/karmic.list -O
/etc/apt/sources.list.d/medibuntu.list
$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo
apt-key add - && sudo apt-get update

ram

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in