Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?

click to hide/show revision 2
Adding attempted fix information

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!

click to hide/show revision 4
No.4 Revision

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!

click to hide/show revision 5
No.5 Revision

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!

click to hide/show revision 6
No.6 Revision

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!

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!

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!