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

Re: Bug#774844: xfonts-traditional: fails to upgrade from 'wheezy': Can't locate File/Find.pm in @INC



On Sat, Jan 17, 2015 at 04:24:58PM +0100, Andreas Beckmann wrote:
> On 2015-01-15 21:32, Niko Tyni wrote:
> > So, even if we add the Breaks in perl-modules+perl-base, it looks like
> > something else is needed. AFAICS either we need to somehow ensure that
> > dpkg is upgraded first, or the xfonts-traditional trigger functionality
> > needs to handle missing modules gracefully.
> 
> Do we have a list of packages that "trigger" xfonts-traditional?
> Could they (or some of them or a common ancestor) depend on
> dpkg (>= 1.17.triggerfixed)

>From the xfonts-traditional triggers file:
 interest-noawait /usr/share/fonts/X11
 interest-noawait /etc/X11/app-defaults/XTerm
 interest-noawait /etc/X11/fonts/misc/xfonts-base.alias

apt-file finds 91 packages in sid matching /usr/share/fonts/X11. That's
a bit much.

> > I'd love to hear thoughts on this. Also, my earlier questions still apply:
> > does this imply that all packages with strict versioned dependencies
> > and the like should more or less duplicate that information in Breaks
> > entries ?
> 
> I think this list can be reduced to "Uses 'perl stuff that requires
> strict dependencies' in their maintainer scripts."

My point was that this is potentially a much wider issue, not limited to perl.

But concentrating on this specific issue which is clearly RC for jessie:
assuming we don't want to change all the 91 font packages, I see these
possibilities:

a) - make xfonts-traditional 'postinst triggered' survive missing dependencies
   - make perl-base+perl-modules+perl Break xfonts-traditional older than that

b) - make perl-base+perl-modules Break: perl (<< 5.20.0~)
   - make perl-base+perl-modules+perl Pre-Depend on dpkg (>= 1.17.17)

The second choice is a more generic fix that may benefit other packages
too, assuming those Breaks are the "correct" thing to do.

I'm inclined to do b) but at least the predependency needs a discussion
on -devel too so I'll go there next.
-- 
Niko Tyni   ntyni@debian.org


Reply to: