Bug#838112: uctodata: fails to upgrade from jessie - trying to overwrite /etc/ucto/es.abr

Mattia Rizzolo mattia at debian.org
Mon Jan 23 19:04:06 UTC 2017


On Mon, Jan 23, 2017 at 07:48:34PM +0100, Andreas Beckmann wrote:
> On 2017-01-23 19:17, Maarten van Gompel wrote:
> > Hi Andreas, Mattia, et. al.

Hi Maarten :)

> > 
> >> uploads should happen early enough to allow automatic migration after 10
> >> days on Feb 05 (so probably at most 2 days left)

Yes.

Also, I would have advise against uploading before today, as that would
have mean blocking the migration that was ongoing (that finished last
night).

> > I followed the documentation and created postint/preinst/postrm scripts for
> > libucto2 (ucto), uctodata and frogdata that takes care of removing the old
> > files, as you suggested. I tested it on migration from the previous releases
> > and it works. Still, a second look from someone with more knowledge about these
> > things is highly appreciated.  I haven't been able to test the upgrade from the
> > jessie versions yet but I'll try to look into piuparts to do that. I think
> > everything should be solved with the releases I prepared today (but again;
> > double checks appreciated!)
> 
> I'll take a look

It looks ok from my side, but as Andreas wrote below, please use the
tools dh_installdeb(1) give you, i.e. the debian/$pkg.maintscript file.

> > @Mattia: Do you happen to be available on such short notice to sponsor/upload
> > these four packages again?  Considering also the very tight deadline before the
> > freeze. Sorry for the inconvenience!
> 
> If needed, I can sponsor that as well

Yes I am.
I haven't followed the other discussion at all, mostly because I trust
Andreas and bunk to know what they are writing :)

Just to confirm: in this case there is no order to follow, right?

> > PS: the postinst/preinst/postrm scripts are currently three copies of the same
> > thing. I realize this is probably ugly (unnecessary duplication) and not the
> > best way, but I didn't know what would be the best solution and since I was in
> > a rush I left it like this.
> 
> use debian/$package.maintscript instead of doing it directly in maintscripts
> 
> put in there lines like
> 
>     rm_conffile /etc/ucto/tokconfig-es 0.4-1~
> 
> no dpkg-maintscript-helper prefix, no default arguments, no trailing
> comments!
> use $VERSION_TO_BE_UPLOADED + "~" as prior-version argument
> 
> this will generate appropriate pre/post/inst/rm scripts with the same
> content

> Andreas (in a hurry)
Andreas: Dont worry, if you don't have time for this I'll happily
sponsor them; I already have all of them locally, etc. :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170123/90b512c8/attachment.sig>


More information about the debian-science-maintainers mailing list