I've just returned from spending far too long trying to install Logitech's / Slimdevices new Squeezecenter software on my Server Only SME7 box. Given that there seems to be scant information on the web regarding the install of this software, I thought I'd write up my findings here so others may benefit from my misfortune / correct any errors I may have made along the way
Information on
http://wiki.slimdevices.com/index.cgi?SqueezeCenterRPM states you install the YUM repo using:
rpm -Uvh http://repos.slimdevices.com/yum/squeezecenter/release/squeezecenter-repo-1-4.noarch.rpm
Whilst that gave me a squeezecenter.repo file under yum, it didn't put the repo into the yum update repository db. So, after much searching (in vain) on the contribs and logitec/slimdevices forums, I took the text of squeezecenter.repo:
## Only enable one repository in this list...
[squeezecenter-release]
name = SqueezeCenter Release Repository
baseurl = http://repos.slimdevices.com/yum/squeezecenter/release/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SqueezeCenter
[squeezecenter-testing]
name = SqueezeCenter Branch Repository
baseurl = http://repos.slimdevices.com/yum/squeezecenter/testing/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SqueezeCenter
[squeezecenter-unstable]
name = SqueezeCenter Trunk Repository
baseurl = http://repos.slimdevices.com/yum/squeezecenter/unstable/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SqueezeCenterand added it to the YUM repository db manually:
db yum_repositories set squeezecenter repository BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ EnableGroups no GPGCheck yes GPGKey file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SqueezeCenter Name 'SqueezeCenter Release Repository' Visible yes status enabled
expand-template /etc/yum.conf
Then tried to install it:
yum install squeezecenter
Which downloads the package, but bombs out with the error:
warning: rpmts_HdrFromFdno: V3 RSA/MD5 signature: NOKEY, key ID c3cdadd1
Public key for squeezecenter-7.0-1.noarch.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SqueezeCenter
Importing GPG key 0xC3CDADD1 "Logitech <gpg@slimdevices.com>"
Is this ok [y/N]: y
Key imported successfully
Import of key(s) didn't help, wrong key(s)?
Public key for squeezecenter-7.0-1.noarch.rpm is not installedI then tried a manual update using:
rpm -Uvh http://repos.slimdevices.com/yum/squeezecenter/release/squeezecenter-7.0-1.noarch.rpm
...but that just tells me I've got the latest version already installed... er... where? I can't find it?!
Thinking the problem may be with the GPG key, I changing the repository db entry to ignore the key:
db yum_repositories remove squeezecenter
db yum_repositories set squeezecenter repository BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ EnableGroups no GPGCheck no Name 'SqueezeCenter Release Repository' Visible yes status enabled
expand-template /etc/yum.conf
Now
yum install squeezecenter works
Well, it installs. But after a
signal-event post-upgrade and
signal-event reboot I still get:
service squeezecenter status
'squeezecenter' is not a valid service name
So...
ln -s /etc/rc.d/init.d/squeezecenter /etc/rc.d/rc7.d/S99squeezecenter
service squeezecenter start
and we're away...
Starting SqueezeCenter: [
OK ]
Hurrah for my perseverance. Boo to Logitec for providing an RPM that doesn't do what they say it should, and double boo for a YUM installation package that does not complete the installation itself, instead requiring manual, undocumented, steps
Now I can finally go to
http://servername:9000 and configure the Squeezecentre. Which leads me to different issues that are not part of this thread...!
Anyway, sorry for the length of post, and if anyone can see any errors I have made or knows of a better way to get Squeezecentre running on SME7, then "I'm all ears"
Best regards,