[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what to do if upgrade is not possible?



Hi Olivier,

On Wed, Apr 27, 2011 at 10:39:59AM +0200, Olivier Sallou wrote:
> Hi,
> shame on me, I have an error in debian scripts of my package preventing
> an upgrade of the package (install is ok).

There is no real shame on you - that's what is happening when developing
software.  At first you should make the problem in question (I guess it
is #624284) RC critical (rise severity to grave) to prevent propagation
of the package into testing.  (In case you have no idea how to do this
there is a page on www.debian.org describing th email interface to
control@bugs.debian.org - feel free to ask if something remains
unclear.)
 
> While I fixed it in the new package (for further updates), in the
> meanwhile it means that if an upgrade is needed, one must first
> uninstall the package, then install the new one.
> 
> I'd like to know what is the best solution:
> 
> 1) update preinst etc.. to detect that it is an upgrade from version X ,
> and raise an error with explanatory message. User will have to do the
> removal/install manually. Package cannot revert automatically to version
> X, it will be broken. However user is safe from data/config point of view.
> 
> 2) put in the new package a Conflicts with itself for the version X 
> (Version Y conflicts with Version X).

If you ask me I would probably not make to much fuzz about a package
that never went from unstable to testing (assuming you would raise the
severity of the bug right in time this will not happen).  So probably
uploading the new package which fixes the bug is fine.  The situation
would be quite different if a package was in stable before.

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: