[arch-general] pacman bug? (can't replace dir with file)

Aaron Griffin aaronmgriffin at gmail.com
Mon Mar 23 11:03:22 EDT 2009


On Sun, Mar 22, 2009 at 4:52 PM, Damjan Georgievski <gdamjan at gmail.com> wrote:
> Is this a known pacman bug (or a feature)?
> I tried to upgrade python-fuse and it errored out.
> /usr/lib/python2.6/site-packages/fuse_python-0.2-py2.6.egg-info is a
> directory in the old package, but a file in the new package.
>
>
> # pacman -S python-fuse
> resolving dependencies...
> looking for inter-conflicts...
>
> Targets (1): python-fuse-20090321-1
>
> Total Download Size:    0,00 MB
> Total Installed Size:   0,15 MB
>
> Proceed with installation? [Y/n]
> checking package integrity...
> (1/1) checking for file conflicts
> [#####################################################] 100%
> error: could not prepare transaction
> error: failed to commit transaction (conflicting files)
> python-fuse: /usr/lib/python2.6/site-packages/fuse_python-0.2-py2.6.egg-info
> exists in filesystem
> Errors occurred, no packages were upgraded.

Hmm, I'd suggest making a simple test package that just does "mkdir
/foobar" in the build function, then bumping the version and replacing
it with a file.


More information about the arch-general mailing list