Rydra / bgm-for-es

A python script to run background music in EmulationStation for Retropie
26 stars 11 forks source link

First command from installation instructions fail #1

Closed pherrymason closed 6 years ago

pherrymason commented 7 years ago

I'm trying to install your script but the very first command fail to run:

sudo echo "deb [trusted=yes] https://repo.fury.io/rydra/ /" > /etc/apt/sources.list.d/es-bgm.list

It is complaining about:

-bash: /etc/apt/sources.list.d/es-bgm.list: Permission denied

I had to manually edit the file with:

sudo vi /etc/apt/sources.list.d/es-bgm.list

And add the line deb [trusted=yes] https://repo.fury.io/rydra/ /

into the file

Rydra commented 7 years ago

It does not seem to have anything to do with the package, though try to use the command the following way (note the different quoting):

sudo "echo 'deb [trusted=yes] https://repo.fury.io/rydra/ /'" > /etc/apt/sources.list.d/es-bgm.list

If it is still not working, open the file /etc/apt/sources.list.d/es-bgm.list with your favourite editor (I use nano) and add the following line to the file. Afterwards, save it and follow the rest of the instructions:

deb [trusted=yes] https://repo.fury.io/rydra/ /

Does that work for you?

EDIT: Glad it worked for you, I figured out the problem. This command should work for you:

sudo sh -c 'echo "deb [trusted=yes] https://repo.fury.io/rydra/ /" > /etc/apt/sources.list.d/es-bgm.list'