# Revision history [back]

### Resolving file conflicts FC18

Hello.

I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem.

We have two packages, both of which have the following lines in their spec files:

install -d -m 0755 ${RPM_BUILD_ROOT}%{apphome}/conf  Both packages store files in this directory as follows: Package 1: install -m 0600 conf/pkg1.cnf${RPM_BUILD_ROOT}%{apphome}/conf

Package 2:
install -m 0600 conf/pkg2.cnf ${RPM_BUILD_ROOT}%{apphome}/conf  Similarily, both have portions in the %files sections: Package 1: %files %dir %{apphome}/conf %{apphome}/conf/pkg1.cnf Package 2: %files %dir %{apphome}/conf %{apphome}/conf/pkg2.cnf  When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log: ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.  How can I resolve this? ### Resolving file conflicts FC18 Hello. I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem. We have two packages, both of which have the following lines in their spec files: install -d -m 0755${RPM_BUILD_ROOT}%{apphome}/conf


Both packages store files in this directory as follows:

Package 1:
install -m 0600 conf/pkg1.cnf ${RPM_BUILD_ROOT}%{apphome}/conf Package 2: install -m 0600 conf/pkg2.cnf${RPM_BUILD_ROOT}%{apphome}/conf


Similarily, both have portions in the %files sections:

Package 1:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg1.cnf

Package 2:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg2.cnf


When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log:

ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.


How can I resolve this?

Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory

Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions?

### Resolving file conflicts FC18

Hello.

I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem.

We have two packages, both of which have the following lines in their spec files:

install -d -m 0755 ${RPM_BUILD_ROOT}%{apphome}/conf  Both packages store files in this directory as follows: Package 1: install -m 0600 conf/pkg1.cnf${RPM_BUILD_ROOT}%{apphome}/conf

Package 2:
install -m 0600 conf/pkg2.cnf ${RPM_BUILD_ROOT}%{apphome}/conf  Similarily, both have portions in the %files sections: Package 1: %files %dir %{apphome}/conf %{apphome}/conf/pkg1.cnf Package 2: %files %dir %{apphome}/conf %{apphome}/conf/pkg2.cnf  When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log: ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.  How can I resolve this? Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions? FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages. Thanks!  4 No.4 Revision none 782 ●6 ●23 ●33 ### Resolving file conflicts FC18 Hello. I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem. We have two packages, both of which have the following lines in their spec files: install -d -m 0755${RPM_BUILD_ROOT}%{apphome}/conf


Both packages store files in this directory as follows:

Package 1:
install -m 0600 conf/pkg1.cnf ${RPM_BUILD_ROOT}%{apphome}/conf Package 2: install -m 0600 conf/pkg2.cnf${RPM_BUILD_ROOT}%{apphome}/conf


Similarily, both have portions in the %files sections:

Package 1:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg1.cnf

Package 2:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg2.cnf


When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log:

ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.


How can I resolve this?

Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory

Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions?

FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages.

Thanks!

 5 No.5 Revision none 782 ●6 ●23 ●33

### Resolving file conflicts FC18

Hello.

I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem.

We have two packages, both of which have the following lines in their spec files:

install -d -m 0755 ${RPM_BUILD_ROOT}%{apphome}/conf  Both packages store files in this directory as follows: Package 1: install -m 0600 conf/pkg1.cnf${RPM_BUILD_ROOT}%{apphome}/conf

Package 2:
install -m 0600 conf/pkg2.cnf ${RPM_BUILD_ROOT}%{apphome}/conf  Similarily, both have portions in the %files sections: Package 1: %files %dir %{apphome}/conf %{apphome}/conf/pkg1.cnf Package 2: %files %dir %{apphome}/conf %{apphome}/conf/pkg2.cnf  When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log: ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.  How can I resolve this? Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions? FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages. Thanks!  6 No.6 Revision none 782 ●6 ●23 ●33 ### Resolving file conflicts FC18 Hello. I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem. We have two packages, both of which have the following lines in their spec files: install -d -m 0755${RPM_BUILD_ROOT}%{apphome}/conf


Both packages store files in this directory as follows:

Package 1:
install -m 0600 conf/pkg1.cnf ${RPM_BUILD_ROOT}%{apphome}/conf Package 2: install -m 0600 conf/pkg2.cnf${RPM_BUILD_ROOT}%{apphome}/conf


Similarily, both have portions in the %files sections:

Package 1:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg1.cnf

Package 2:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg2.cnf


When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log:

ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.


How can I resolve this?

Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory

Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions?

FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages.

Thanks!

 7 retagged mether 7061 ●43 ●67 ●111 https://fedoraproject....

### Resolving file conflicts FC18

Hello.

I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem.

We have two packages, both of which have the following lines in their spec files:

install -d -m 0755 ${RPM_BUILD_ROOT}%{apphome}/conf  Both packages store files in this directory as follows: Package 1: install -m 0600 conf/pkg1.cnf${RPM_BUILD_ROOT}%{apphome}/conf

Package 2:
install -m 0600 conf/pkg2.cnf ${RPM_BUILD_ROOT}%{apphome}/conf  Similarily, both have portions in the %files sections: Package 1: %files %dir %{apphome}/conf %{apphome}/conf/pkg1.cnf Package 2: %files %dir %{apphome}/conf %{apphome}/conf/pkg2.cnf  When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log: ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.  How can I resolve this? Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions? FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages. Thanks!  8 retagged mether 7061 ●43 ●67 ●111 https://fedoraproject.... ### Resolving file conflicts FC18 Hello. I am working on a project that started in fc12. We are now upgrading our servers to fc18 and have an installation problem. We have two packages, both of which have the following lines in their spec files: install -d -m 0755${RPM_BUILD_ROOT}%{apphome}/conf


Both packages store files in this directory as follows:

Package 1:
install -m 0600 conf/pkg1.cnf ${RPM_BUILD_ROOT}%{apphome}/conf Package 2: install -m 0600 conf/pkg2.cnf${RPM_BUILD_ROOT}%{apphome}/conf


Similarily, both have portions in the %files sections:

Package 1:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg1.cnf

Package 2:
%files
%dir %{apphome}/conf
%{apphome}/conf/pkg2.cnf


When I attempt to install these with a fresh install using anaconda, I get errors of the following form in /tmp/packaging.log:

ERR packaging: file /apphome/conf conflicts between attempted installs of pkg1.i386 and pkg2.i386.


How can I resolve this?

Here is what I tried so far: - remove the "%dir" lines from one of the packages - no effect - same errors - remove the "install -d" lines from one of the packages - buildrpm fails when trying to store files in the directory

Is it a permission problem? Do I simply need to make sure both packages are creating the directory with the same permissions?

FIXED I was able to resolve by making sure the permissions on the directories were the same in both packages.

Thanks!