Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#39599 - pacman reports file conflict for a directory

Attached to Project: Pacman
Opened by Jay Strict (jaystrictor) - Sunday, 23 March 2014, 12:45 GMT
Last edited by Andrew Gregory (andrewgregory) - Sunday, 23 March 2014, 14:07 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Andrew Gregory (andrewgregory)
Architecture All
Severity Medium
Priority Normal
Reported Version 4.1.2
Due in Version 4.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
I recently installed package 'twisted-svn' from AUR, replacing package 'twisted'.

Now I want to to revert this with a simple
# pacman -S twisted
but pacman reports a file conflict error,

============================================================
checking for file conflicts...
twisted: /usr/lib/python2.7/site-packages/Twisted-13.2.0-py2.7.egg-info exists in filesystem
Errors occurred, no packages were upgraded.
============================================================

But IMHO this should not occur, as the reported file is owned by twisted-svn
(which will be removed):

============================================================
# pacman -Qo /usr/lib/python2.7/site-packages/Twisted-13.2.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/Twisted-13.2.0-py2.7.egg-info is owned by twisted-svn 20140228.41773-1
============================================================

and furthermore the file is in fact a directory:

============================================================
# stat /usr/lib/python2.7/site-packages/Twisted-13.2.0-py2.7.egg-info
File: ‘/usr/lib/python2.7/site-packages/Twisted-13.2.0-py2.7.egg-info’
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 806h/2054d Inode: 408185 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-03-23 12:26:12.583967819 +0100
Modify: 2014-02-28 01:25:39.000000000 +0100
Change: 2014-02-28 01:28:44.478093456 +0100
Birth: -
============================================================


I attach the output given by
# pacman --debug -S twisted > >(tee stdout.log) 2> >(tee stderr.log >&2)
and by
# pacman -Qii twisted-svn


Steps to Reproduce:
# yaourt -S twisted-svn
# pacman -S twisted
This task depends upon

Closed by  Andrew Gregory (andrewgregory)
Sunday, 23 March 2014, 14:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit cbbd3781
Comment by Allan McRae (Allan) - Sunday, 23 March 2014, 12:50 GMT
99.9% sure this is fixed in git.

Loading...