Hi,

I now see this as a bug.  I think this was caused by my post-bookworm change in 
debian-reference (2.109) on Mon, 18 Dec 2023.

If I remember correctly, the intent of this change was to move all
HTML/PDF/Plain_Text document to a path under /usr/share/doc/ for better policy
compliance.

This regression was partly addressed in debian-reference (2.114) by closing
#1063590 on Sat, 10 Feb 2024. What is reported is the remaining issue.

So the question is the best known method to mitigate potential upgrade problem.

I now understand "adding Conflicts or upgrading the versioned dependency on
debian-reference-common to a Pre-Depends" is one way.

Before doing it, I would like to know the best established method.

How about adding simpler versioned depends (no pre-depends) with pre-rm script?
Isn't it simpler?

Or is there any other simpler and cleaner established solution. (A pointer to a
package using such trics will be good for me.)

Any suggestion?

Osamu


On Sun, 2025-04-13 at 16:08 +0200, textsh...@uchuujin.de wrote:
> I belive debian wants to provide its documentation as packages in stable
> releases.
> 
> But currently debian-reference is scheduled for auto removal on 2025-04-15
> (which this mail bumps a bit into the future).
> Maybe "nobody" is aware of this?
> 
> Anyone up to taking a look at this?
> 
> On Mon, 17 Mar 2025 08:14:02 +0100 Helmut Grohne <hel...@subdivi.de> wrote:
> > Package: debian-reference-de,debian-reference-en,debian-reference-es,debian-
> > reference-fr,debian-reference-id,debian-reference-it,debian-reference-
> > ja,debian-reference-pt,debian-reference-pt-br,debian-reference-zh-cn,debian-
> > reference-zh-tw
> > Version: 2.125
> > Severity: serious
> > User: debian...@lists.debian.org
> > Usertags: fileconflict
> > Control: affects -1 + debian-reference-common
> > 
> > The debian-reference packages have a tricky undeclared file conflict
> > that may break bookworm to trixie upgrades. In bookworm,
> > debian-reference-common contains a symlink
> > /usr/share/doc/debian-reference-common/docs pointing to
> > ../../debian-reference whereas the debian-references-* packages in
> > trixie install the same location as a directory. On the face of it, this
> > is an undeclared file conflict. Really though, a bad unpack order can
> > cause the unpack of the trixie files to be redirected and then go
> > missing as this is a symlink to directory conversion moving between
> > packages. The debian-refefence-* packages really need to prevent
> > concurrent unpack with bookworm's debian-reference-common. Breaks and
> > Replaces is not sufficient here. I think the options basically are using
> > Conflicts or upgrading the versioned dependency on
> > debian-reference-common to a Pre-Depends (requires consultation with
> > d-devel). The latter option is a larger hammer and prevents a weird
> > corner case that is not covered by Conflicts.
> > 
> > Helmut
> 

Reply via email to