Bug#838112: uctodata: fails to upgrade from 'jessie' - trying to overwrite /etc/ucto/es.abr
Adrian Bunk
bunk at debian.org
Sun Jan 22 08:48:47 UTC 2017
Adding Andreas, the BTS does not Cc the submitter on messages.
On Mon, Jan 16, 2017 at 08:17:03PM +0100, Maarten van Gompel wrote:
> Quoting Andreas Beckmann (2017-01-16 17:24:19)
> > Followup-For: Bug #838112
> > Control: found -1 0.3.1-1
> > Control: affects -1 + ucto
> >
> > that bug has just reappered:
> >
> > Preparing to unpack .../ucto_0.9.5-1_amd64.deb ...
> > Unpacking ucto (0.9.5-1) over (0.5.3-3.1+b1) ...
> > dpkg: warning: unable to delete old directory '/etc/ucto': Directory not empty
> > Selecting previously unselected package uctodata.
> > Preparing to unpack .../uctodata_0.3.1-1_all.deb ...
> > Unpacking uctodata (0.3.1-1) ...
> > dpkg: error processing archive /var/cache/apt/archives/uctodata_0.3.1-1_all.deb (--unpack):
> > trying to overwrite '/etc/ucto/es.abr', which is also in package ucto 0.9.5-1
> >
> >
> > Andreas
>
> Hi,
>
> Thanks for the notification. It seems this bug is a persistent one and I don't really get why it's
> resurfacing; I'm probably missing something so CC'ing the debian-science list
> for help. Ucto 0.9.5 no longer has the
> mentioned file /etc/ucto/es.abr, is was part of ucto until 0.8.0-1 and then
> moved to a separate uctodata package. To prevent this issue, ucto 0.9.5 (package libucto2 actually),
> states:
>
> Replaces: ucto (<< 0.5.5-1)
> Breaks: ucto (<< 0.5.5-1)
>
> Uctodata also states:
>
> Replaces: ucto (<< 0.9.2-1)
> Breaks: ucto (<< 0.9.2-1
>
> But as this resurfaced, it's apparently not enough, What am I missing here?
es.abr was a conffile in the jessie ucto, that needs additional treatment.
The solution might be using mv_conffile from dpkg-maintscript-helper(1)
in a .maintscript to move the conffile to the new name spa.abr and the
new package (es.abr is now a symlink), but Andreas should comment on
that since he knows this better.
> Regards,
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the debian-science-maintainers
mailing list