On Sat, Apr 16, 2011 at 11:52 PM, Anders Brander <[email protected]> wrote: > On Sat, 2011-04-16 at 13:48 +0200, Anders Kvist wrote: >> It's because Rawstudio 2.0 is less than Rawstudo 2.0RC1 - it's been >> deleted from the repository to upload the 2.0. Try removing the package >> and reinstall it again...that should work :) > > Is this really the correct solution?
I'm not into Debian/Ubuntu packaging but in Fedora once the issue is created (broken update path due to issuing an update with a lower NVR - Name Version Release) the only way out is using the "Epoch" field in RPMs. Epoch has an higher priority than NVR so the comparison turns into: 0:Rawstudio 2.0RC1 vs 1:Rawstudio 2.0 and it sorts correctly. Debs may have a similar mechanism. For the records, in Fedora land we use 0.# as release until it turns stable so to avoid such issues. For example, the rawstudio package in Fedora had: rawstudio-1.2-7.20100907svn3521 # snapshots after the 1.2 release rawstudio-2.0-0.1.beta1 # first beta, 2.0 sorts correctly from 1.2 rawstudio-2.0-0.2.rc1 # RC version, notice the 0.2 trick makes it update correctly rawstudio-2.0-1 # final release. Again, I'm pretty sure there are similar guidelines in DEB land to handle this kind of situations. HTH Gianluca -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu _______________________________________________ Rawstudio-users mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-users
