[aur-general] file exist in filesystem

Armin K. krejzi at email.com
Tue Dec 24 10:17:51 EST 2013


Hello, I am trying to create a git package, which provides the non-git
packages from [extra], in this case mesa-git.

I've decided to symlink /usr/share/licenses/mesa to
/usr/share/licenses/mesa-git because the latter package provides the
former, and I wanted to use same license in lib32-mesa-git package, but
didn't want to depend on mesa-git.

Since mesa-git provides mesa, and mesa installs /usr/share/licenses/mesa
directory, I provide /usr/share/licenses/mesa as a symlink to
/usr/share/licenses/mesa-git. Now, when installing mesa-git built
packages, I get the following:

:: mesa-git and mesa are in conflict. Remove mesa? [y/N] y
:: mesa-libgl-git and mesa-libgl are in conflict. Remove mesa-libgl? [y/N] y
:: ati-dri-git and ati-dri are in conflict. Remove ati-dri? [y/N] y
:: intel-dri-git and intel-dri are in conflict. Remove intel-dri? [y/N] y

Packages (8): ati-dri-10.0.1-1 [removal]  intel-dri-10.0.1-1 [removal]
mesa-10.0.1-1 [removal]  mesa-libgl-10.0.1-1 [removal]
              ati-dri-git-10.1.0_devel.60267-1
intel-dri-git-10.1.0_devel.60267-1  mesa-git-10.1.0_devel.60267-1
              mesa-libgl-git-10.1.0_devel.60267-1

.
.
.

(4/4) checking for file conflicts
          [##############################################] 100%
error: failed to commit transaction (conflicting files)
mesa-git: /usr/share/licenses/mesa exists in filesystem
mesa-libgl-git: /usr/share/licenses/mesa-libgl exists in filesystem
ati-dri-git: /usr/share/licenses/ati-dri exists in filesystem
intel-dri-git: /usr/share/licenses/intel-dri exists in filesystem
Errors occurred, no packages were upgraded.



The directories belong to the packages I'm trying to replace, but I am
trying to replace the directories with a symlinks. Is this allowed?
Should this happen at all? What would be another way to achive what I'm
trying to achieve?

Note that replacing -git packages with -non-git packages goes fine, no
conflicts at all.

Cheers.

-- 
Note: My last name is not Krejzi.


More information about the aur-general mailing list