I created an rpm that attempts to install the file /etc/rsyslog.conf (which on my system is already installed and owned by the rsyslog package).
When I install this through rpm, I get the appropriate error. However, when I install the rpm through zypper, I get no complaints, and in the end two packages end up owning the file.
Is this the expected behavior? Does zypper force install rpms despite errors?
I looked through all the config files, but couldn’t find any setting dealing with this case. Is this something that is controlled by a config somewhere?
Hopefully the code below helps explain the situation.
Thanks in advance for any help clearing this up.
I’m running openSUSE 11.2-0
linux:/usr/src/packages/RPMS/x86_64 # rpm -i testfile-2.0.1-0.x86_64.rpm
file /etc/rsyslog.conf from install of testfile-2.0.1-0.x86_64 conflicts with file from package rsyslog-4.4.1-3.1.x86_64
linux:/usr/src/packages/RPMS/x86_64 # zypper in testfile-2.0.1-0.x86_64.rpm
Loading repository data...
Warning: Repository 'http-10.1.0.123-4dfcb0b5' appears to outdated. Consider using a different mirror or server.
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
testfile
1 new package to install.
Overall download size: 1.0 MiB. After the operation, additional 1.0 MiB will be
used.
Continue? [y/n/?] (y): y
Retrieving package testfile-2.0.1-0.x86_64 (1/1), 1.0 MiB (1.0 MiB unpacked)
Installing: testfile-2.0.1-0 [done]
Additional rpm output:
warning: /etc/rsyslog.conf saved as /etc/rsyslog.conf.rpmsave
linux:/usr/src/packages/RPMS/x86_64 # rpm -qf /etc/rsyslog.conf
rsyslog-4.4.1-3.1.x86_64
testfile-2.0.1-0.x86_64