[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 Sun, Jan 18, 2015 at 10:37:19PM +0100, Andreas Beckmann wrote:
> On 2015-01-18 18:48, Niko Tyni wrote:
> > a) - make xfonts-traditional 'postinst triggered' survive missing dependencies
> >    - make perl-base+perl-modules+perl Break xfonts-traditional older than that
> 
> What about this rather simple solution:
> 
> Package: perl-modules
> Breaks: xfonts-traditional (<< 1.7~)
> 
> The action to achieve is: before the new perl-modules is unpacked 
> (which would break xfonts-traditional.postinst due to missing (or 
> better: relocated) File/Find.pm, ensure xfonts-traditional is either 
> upgraded first or deconfigured - this should be sufficient for any old 
> dpkg not to do trigger processing any more (as long as it is not in a 
> configured state).

Unfortunately that doesn't help with partial upgrades. Nothing prevents
upgrading and configuring xfonts-traditional first, and only then
upgrading the rest of the system.
-- 
Niko Tyni   ntyni@debian.org


Reply to: