PDA

View Full Version : problems on ubuntu



jj61
2007-10-06, 21:46
I have tried installing versions of slimserver with ubuntu without success. I have tried different versions of slimserver. I have had the best success with the unstable release, but no sound.

I assume the safest is the main stable release. So I did apt-get autoremove on slimserver, put

deb http://debian.slimdevices.com stable main

as the first entry in my sources.list file, did apt-get install, and rebooted. I tried variations of urls including the one which appeared in /var/log/slimserver/slimserver.log (and http://localhost:9000 and http://127.0.0.1:9000) and just get 404 not found errors.

Any suggestions?

John

Any suggestions?

egd
2007-10-07, 03:58
Any suggestions?

Assuming you're running Feisty the following should work (should work on any flavour of Ubuntu for that matter):


sudo gedit /etc/apt/sources.list

then add

# deb http://debian.slimdevices.com testing main
# deb http://debian.slimdevices.com unstable main

and remove the # from the first line if you want 6.5.x or the second if you want 7.x. Remove ALL other slimserver sources, including "deb http://debian.slimdevices.com stable main". Thereafter, execute the following:

sudo apt-get update
sudo apt-get install slimserver

jj61
2007-10-07, 07:21
Yes, I am using feisty.

Does stable/main not work? I assumed that if anything should work it would be the stable version.

John

egd
2007-10-07, 15:11
Does stable/main not work? I assumed that if anything should work it would be the stable version.

It should, but I've not used it in a very long time so cannot comment. The reason I said to remove "deb http://debian.slimdevices.com stable main" was just so you don't have conflicting sources. You could just as easily put a # at the beginning of the "deb http://debian.slimdevices.com stable main" line.

One thing I should have added is that it is probably not a bad idea to uninstall slimserver before doing the update:

sudo apt-get remove slimserver

I also found that getting rid of the database and thus forcing it to be recreated took care of some instances when slimserver didn't want to start - this was particularly the case going between versions of slimserver, especially 6.x to 7x. I'd do this directly following the uninstall.

sudo rm -R /var/cache/slimserver/MySQL

The Debian wiki summarises most things quite nicely: http://wiki.slimdevices.com/index.cgi?DebianPackage

thing-fish
2007-10-09, 07:42
The Debian wiki summarises most things quite nicely: http://wiki.slimdevices.com/index.cgi?DebianPackage

I fortunately had no trouble installing onto Xubuntu using those instructions, I hope the original poster has the same fortune. Getting MusicIP Mixer to work was another matter! But those wiki instructions nailed it for me on Xubuntu.

jj61
2007-10-09, 18:58
Hi,

I have had more success. It seems that if you remove slimserver with apt-get, only some files get removed and that can mess things up when installing again, at least if you are changing versions of slimserver.

Thanks.

John