You are not logged in.

#1 2015-03-01 00:43:07

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

[Solved]Error with installing package: /usr/lib64 exists in filesystem

So i know there are other posts about this and i have read them and I have also read the wiki https://wiki.archlinux.org/index.php/De … _in_.2Flib and also this forum post https://bbs.archlinux.org/viewtopic.php?id=156942
the error i get when trying to install a package from the AUR

error: failed to commit transaction (conflicting files)
hp-health: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.

I tried to find who owned the files/package in the /lib by the following commands

$ grep '^lib/' /var/lib/pacman/local/*/files
$ find /lib -exec pacman -Qo -- {} +

the output was

/lib is owned by filesystem 2015.02-1

Im confused what to do at this point as the wiki that I linked above says

If any package apart from glibc is listed as owning a file, that package needs to be updated to install its files in /usr/lib

Last edited by PigsInSpace (2015-03-01 02:25:24)

Offline

#2 2015-03-01 01:01:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [Solved]Error with installing package: /usr/lib64 exists in filesystem

You are following directions for a file conflict with /lib for a very specific one-time manual intervention, but you don't have that file conflict according to the error message you posted and it is not for that intervention.  See this instead: https://wiki.archlinux.org/index.php/Pa … 9.22_error then report the error on the aur page for that package.

This fixes it:

package() {
	cd "$srcdir"
+	mv usr/lib64 usr/lib
	cp -a opt usr var "$pkgdir"

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-03-01 01:32:48

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Re: [Solved]Error with installing package: /usr/lib64 exists in filesystem

Trilby wrote:
package() {
	cd "$srcdir"
+	mv usr/lib64 usr/lib
	cp -a opt usr var "$pkgdir"

How do i run that?

Offline

#4 2015-03-01 01:45:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [Solved]Error with installing package: /usr/lib64 exists in filesystem


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-03-01 02:23:01

PigsInSpace
Member
Registered: 2014-06-20
Posts: 51

Re: [Solved]Error with installing package: /usr/lib64 exists in filesystem

It worked, thanks so much

Offline

Board footer

Powered by FluxBB