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

Mehul Ved mehul.n.ved at gmail.com
Thu Nov 12 19:40:21 GMT 2009


On Thu, Nov 12, 2009 at 11:33 PM, Ramnarayan.K <ramnarayan.k at gmail.com> 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



More information about the ubuntu-in mailing list