FS#7338 - Installation fails due to file conflicts, conflicts= ignored.
Attached to Project:
Pacman
Opened by dtw (dibblethewrecker) - Saturday, 02 June 2007, 07:46 GMT
Last edited by Dan McGee (toofishes) - Monday, 18 June 2007, 00:22 GMT
Opened by dtw (dibblethewrecker) - Saturday, 02 June 2007, 07:46 GMT
Last edited by Dan McGee (toofishes) - Monday, 18 June 2007, 00:22 GMT
|
Details
I just tried to install thunar-svn and it failed due to file
conflicts.
Problem is thought that each -svn package dragged in is specifically set with a conflicts field for the existing package which seems to be ignored. |
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 18 June 2007, 00:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0.5, rebuild your DB's to ensure things are done right.
Monday, 18 June 2007, 00:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 3.0.5, rebuild your DB's to ensure things are done right.
pacman -Si libxfce4util-svn libxfcegui4-svn libxfce4mcs-svn exo-svn thunar-svn | grep -E "Name|Version|Conf"
Name : libxfce4util-svn
Version : 25448-2
Conflicts With : None
Name : libxfcegui4-svn
Version : 25769-1
Conflicts With : None
Name : libxfce4mcs-svn
Version : 25684-1
Conflicts With : None
Name : exo-svn
Version : 25448-1
Conflicts With : None
Name : thunar-svn
Version : 25448-1
Conflicts With : None
I don't have the slightest idea how this happened though, because apparently the PKGBUILDs do have a conflict statement, as well as the packages themselves, like :
pacman -Qi --file /var/cache/pacman/pkg/libxfce4util-svn-25448-2.pkg.tar.gz |grep -E "Name|Version|Conflicts"
Name : libxfce4util-svn
Version : 25448-2
Conflicts With : libxfce4util
Btw, the exo-svn PKGBUILD has pkgver and pkgrel on the same line, this looks odd.
Oh, this was already reported by Romashka there :
http://aur.archlinux.org/packages.php?do_Details=1&ID=7249&O=0&L=0&C=0&K=exo-svn&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd
ALL packages in the community database have an empty %CONFLICTS% field (in the depends file).
http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/scripts/repo-add.diff?r1=1.9&r2=1.10&cvsroot=Pacman
The funniest thing is that I read this commit back then, but I didn't understand it (the fact that it was wrong didn't help I guess) :
http://www.archlinux.org/pipermail/pacman-dev/2007-May/008222.html
Attaching a patch against pacman cvs, and one against pacman-git.
0001-FS7338-Fix-conflicts-typ... (1.1 KiB)