Forum archive
tklfileserver+ps3mediaserver
I am struggling to add a repository to the conf file inside tklpatch for a ps3 mediaserver patch .
below is code off the ps3 web site: http://www.ps3mediaserver.org/forum/viewtopic.php?f=3&t=13046
that I am trying to get to work:
sudo add-apt-repository ppa:happy-neko/ps3mediaserver
sudo apt-get update
sudo apt-get install ps3mediaserver
I dont use sudo as it is done as root , just wondering if I am missing something !
Any help would be much appreciated.
But as for the 'add-apt-repository' command, I don't recall 100% but I thnk something needs to be installed before that command can be used - but can't remember what it is.
Another tack you could take (and what I would do) is manually add a repo entry. Personally I like to keep things separate so would add a separate 'ps3mediaserver.list' file to the /etc/apt/sources.list.d/ folder (but you could just add the line to the existing sources.list file).
You can do that 2 ways; either write the file from the command line (ie in your conf script - do this if you wish to write to the existing sources.list) or include it in your overlay (how I'd do it).
I've just had a look at the PPA and here is the line that is needed:
If you use the install function/command that is included in the example patches then the only line you will need to include in you conf is
(The function will take care of the rest as long as the repo is added prior to that command).