Bug 17592 - can not upgrade to 7.7. From 7.6 must remove old package and start all over
: can not upgrade to 7.7. From 7.6 must remove old package and start all over
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 7.7.0
: PC Other
: P1 major with 1 vote (vote)
: 7.7.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-25 11:04 UTC by Mikael Nyberg
Modified: 2011-10-02 21:44 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Nyberg 2011-09-25 11:04:16 UTC
yes 7.7 can not be installed over 7.6 so an upgrade is not possible with the RPM package.

i have to rpm -e to remove 7.6 before installing 7.7 lms .
possible but not nice i prefer to upgrade with all settings and dB intact.
Comment 1 Mikael Nyberg 2011-09-26 05:03:23 UTC
Se this post.

http://forums.slimdevices.com/showpost.php?p=659772&postcount=58

A solution was suggested:

"Surely this is as simple as adding 'Obsoletes: squeezeboxserver' to the spec file?

Devs, if you want to change the package name, please obsolete the old one so it is possible to upgrade rather than have to remove and re-install.
"
Comment 2 Mikael Nyberg 2011-09-26 05:24:26 UTC
7.7/trunk/platforms/redhat/squeezeboxserver.spec

Has this in line 50

Obsoletes: squeezecenter, slimserver, SliMP3

This means that i can upgrade from squeezecenter or slimserver :)
But not from squeezeboxserver ?
Comment 3 Michael Herger 2011-09-26 12:42:10 UTC
should now install fine using "rpm -U" on top of an existing sb server
Comment 4 Mikael Nyberg 2011-09-26 21:21:54 UTC
Can someone do the nigthly builds for 7.7

So that I can try this and verify :)
Comment 5 Mikael Nyberg 2011-09-27 03:39:25 UTC
Worked for me installed and running...
Comment 6 Mikael Nyberg 2011-10-02 11:41:56 UTC
Can we reopen I can not not install 7.7 rc4 over rc3
I get conflicts.

Nor can I install a nightly i get other erros.

[root@hal ~]# rpm -Uvh http://downloads.slimdevices.com/nightly/7.7/sc/33540/logitechmediaserver-7.7.0-0.1.33540.noarch.rpm
Retrieving http://downloads.slimdevices.com/nightly/7.7/sc/33540/logitechmediaserver-7.7.0-0.1.33540.noarch.rpm
warning: /var/tmp/rpm-xfer.imyxOT: V3 DSA signature: NOKEY, key ID 4123722a
Preparing...                ########################################### [100%]
	package logitechmediaserver-7.7.0-1 (which is newer than logitechmediaserver-7.7.0-0.1.33540) is already installed
[root@hal ~]# rpm -Uvh http://downloads.slimdevices.com/LogitechMediaServer_v7.7.0_rc4/logitechmediaserver-7.7.0-1.noarch.rpm
Retrieving http://downloads.slimdevices.com/LogitechMediaServer_v7.7.0_rc4/logitechmediaserver-7.7.0-1.noarch.rpm
warning: /var/tmp/rpm-xfer.wHCnEU: V3 DSA signature: NOKEY, key ID 4123722a
Preparing...                ########################################### [100%]
	package logitechmediaserver-7.7.0-1 is already installed
	file /usr/lib/perl5/vendor_perl/Slim/Music/Import.pm from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Player/SqueezeSlave.pm from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Plugin/ImageBrowser/strings.txt from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Plugin/Orange/strings.txt from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Plugin/UPnP/Common/Utils.pm from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Utils/Update.pm from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/lib/perl5/vendor_perl/Slim/Web/Graphics.pm from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
	file /usr/share/squeezeboxserver/revision.txt from install of logitechmediaserver-7.7.0-1 conflicts with file from package logitechmediaserver-7.7.0-1
[root@hal ~]#
Comment 7 Mikael Nyberg 2011-10-02 12:10:33 UTC
The nightly was possible to install with the --oldpackage option
Comment 8 Michael Herger 2011-10-02 21:44:48 UTC
(In reply to comment #7)
> The nightly was possible to install with the --oldpackage option

The problem here is the file naming: releases (and release candidates) come with 7.7.0-1, while nightlies are 7.7.0-0.1. Under "normal" circumstances this is correct, as you wouldn't have nightly builds of the same release once the product has been released. It's slightly different with the RCs, but nothing to really worry about. It's been this way for years.