Hi, I am encountering a problem with the installation of an AUR package I have built. During the installation I get the following error message: error: failed to commit transaction (conflicting files) libtlsrpt-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded. The installation script attempts to execute the following command: /usr/bin/mkdir -p '/usr/local/share/man/man3' Is there a solution how I can solve the problem in the PKGBUILD? Thank you in advance! Klaus. -- --------------------------------------- e-Mail : klaus@tachtler.net Homepage: https://www.tachtler.net DokuWiki: https://dokuwiki.tachtler.net ---------------------------------------
On 1/24/25 12:11 PM, Klaus Tachtler wrote:
Hi,
I am encountering a problem with the installation of an AUR package I have built.
During the installation I get the following error message:
error: failed to commit transaction (conflicting files) libtlsrpt-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.
The installation script attempts to execute the following command:
/usr/bin/mkdir -p '/usr/local/share/man/man3'
Is there a solution how I can solve the problem in the PKGBUILD?
Thank you in advance! Klaus.
https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette First point. You should not be installing to /usr/local/, always to /usr/. Usually by setting 'prefix', but it all depends on the build system.
Hi, you're right - I've change to: ./configure --prefix=/usr --mandir=/usr/share/man Now it works! Klaus. On 1/24/25 19:21, Doug Newgard wrote:
On 1/24/25 12:11 PM, Klaus Tachtler wrote:
Hi,
I am encountering a problem with the installation of an AUR package I have built.
During the installation I get the following error message:
error: failed to commit transaction (conflicting files) libtlsrpt-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.
The installation script attempts to execute the following command:
/usr/bin/mkdir -p '/usr/local/share/man/man3'
Is there a solution how I can solve the problem in the PKGBUILD?
Thank you in advance! Klaus.
https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette
First point. You should not be installing to /usr/local/, always to /usr/. Usually by setting 'prefix', but it all depends on the build system.
-- --------------------------------------- e-Mail : klaus@tachtler.net Homepage: https://www.tachtler.net DokuWiki: https://dokuwiki.tachtler.net ---------------------------------------
Sorry, didn't see this was fixed. Never mind. Cheers On viernes, 24 de enero de 2025 2:28:13 p. m. hora de Venezuela Klaus Tachtler wrote:
Hi,
you're right - I've change to:
./configure --prefix=/usr --mandir=/usr/share/man
Now it works!
Klaus.
On 1/24/25 19:21, Doug Newgard wrote:
On 1/24/25 12:11 PM, Klaus Tachtler wrote:
Hi,
I am encountering a problem with the installation of an AUR package I have built.
During the installation I get the following error message:
error: failed to commit transaction (conflicting files) libtlsrpt-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.
The installation script attempts to execute the following command:
/usr/bin/mkdir -p '/usr/local/share/man/man3'
Is there a solution how I can solve the problem in the PKGBUILD?
Thank you in advance! Klaus.
https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette
First point. You should not be installing to /usr/local/, always to /usr/. Usually by setting 'prefix', but it all depends on the build system.
Hi, If I am not entirely wrong, the reason is because the directory most likely already exists. So maybe try to move the contents into the directory On viernes, 24 de enero de 2025 2:11:50 p. m. hora de Venezuela Klaus Tachtler wrote:
Hi,
I am encountering a problem with the installation of an AUR package I have built.
During the installation I get the following error message:
error: failed to commit transaction (conflicting files) libtlsrpt-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.
The installation script attempts to execute the following command:
/usr/bin/mkdir -p '/usr/local/share/man/man3'
Is there a solution how I can solve the problem in the PKGBUILD?
Thank you in advance! Klaus.
participants (3)
-
Benjamin Buske
-
Doug Newgard
-
Klaus Tachtler