[pacman-dev] Conflict when replacing a folder with subfolders by a file in a package update

Andrew Gregory andrew.gregory.8 at gmail.com
Wed Aug 7 09:05:56 EDT 2013


On 08/07/13 at 10:54pm, Allan McRae wrote:
> On 06/08/13 00:33, Timothée Ravier wrote:
> > Hi,
> > 
> > Pacman exits with a conflict error if the package updated is replacing a
> > folder with subfolders inside by a single file with the same name.
> > 
> > This may be a bug as I don't know any cases where this cloud make sense.
> > But I may be wrong of course. I'll let you decide.
> > 
> > Testing was done on fully updated Arch Linux system with the following
> > repositories enabled: kf5, kde-unstable, testing, core, extra,
> > community-testing, community, multilib-testing, multilib.
> > 
> > Example PKGBUILDs to reproduce the issue:
> 
> <snip>
> 
> Confirmed using pacman-git.  We need a bug report and a pactest for this
> (and even a fix!) Any volunteers?
> 
> Allan

It's an easy enough fix.  I forgot to add a slash to directories in
dir_belongsto_pkgs.  I can fix it this weekend if nobody else gets to it before
that.

apg


More information about the pacman-dev mailing list