You are not logged in.

#1 2015-01-11 03:30:15

jonnsl
Member
Registered: 2015-01-11
Posts: 22

error installing package from AUR. /usr/lib64 exists in filesystem

I installed the package zoneminder-xinetd 1.27.0-1 using the instruction on the wiki, the installation finished successfully. then I realized that the package was outdated, so I uninstalled it using "sudo pacman -R zoneminder-xinetd", manually edit the files .AURINFO and PKGBUILD to get the new version, compiled successfully using 'makepkg -s' but when I'm try to install it(sudo pacman -U zoneminder-xinetd-1.28.0-1-x86_64.pkg.tar.xz) I got this error:
error: failed to commit transaction (conflicting files)
zoneminder-xinetd: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.

I also tried to install this other package https://aur.archlinux.org/packages/zoneminder after removing some unwanted dependencies but i get the same error.

Offline

#2 2015-01-11 04:56:38

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: error installing package from AUR. /usr/lib64 exists in filesystem

Pacman 4.2 handles symlinks differently than past versions of pacman. Allan's blog has a good description (see the section "Directory Symlink Handling") http://allanmcrae.com/2014/12/pacman-4-2-released/. I suggest you inform the maintainers of those packages so that they may update the PKGBUILDs.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2015-01-16 05:07:48

jonnsl
Member
Registered: 2015-01-11
Posts: 22

Re: error installing package from AUR. /usr/lib64 exists in filesystem

fsckd wrote:

Pacman 4.2 handles symlinks differently than past versions of pacman. Allan's blog has a good description (see the section "Directory Symlink Handling") http://allanmcrae.com/2014/12/pacman-4-2-released/. I suggest you inform the maintainers of those packages so that they may update the PKGBUILDs.

Thanks for the quick answer.
I solved this issue by adding "-DCMAKE_INSTALL_LIBDIR=/lib" to the cmake in the PKGBUILD. The mantainer of the zoneminder package solved this already by adding "-DZM_PERL_SUBPREFIX=/lib/perl5 \".
Also, I adopted the zoneminder-xinetd package big_smile.

Offline

#4 2015-01-18 10:38:57

CrazyTux
Member
Registered: 2013-08-23
Posts: 32

Re: error installing package from AUR. /usr/lib64 exists in filesystem

I have the same problem with doomsday. Any idea how to fix it? The PKGBUILD has this line:

 34     # Fix lib64 stuff
 35     sed 's/lib64/lib/g' -i config_unix.pri

If that is supposed to fix it, it doesn't.

Any ideas?

Offline

Board footer

Powered by FluxBB