Skip to content

Fixed conflict with /usr/bin on rpm install#2

Open
ndusek wants to merge 1 commit into
slaclab:masterfrom
ndusek:master
Open

Fixed conflict with /usr/bin on rpm install#2
ndusek wants to merge 1 commit into
slaclab:masterfrom
ndusek:master

Conversation

@ndusek

@ndusek ndusek commented Aug 7, 2020

Copy link
Copy Markdown

After building RPM and trying to install, the following error is thrown:

sudo rpm -ivh bbcp-14.9.2-1.el7.x86_64.rpm 
Preparing...                          ################################# [100%]
	file /usr/bin from install of bbcp-14.9.2-1.el7.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64

It seemed that the following lines in the build spec are being interpreted to mean that /usr/bin is a file to be installed, which is not what we want.

%files
%{instdir}/bin

Changing this to %{instdir}/bin/bbcp results in a successful installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant