[Bug 1000003] New: Two distinct files reported as file conflict by zypper
http://bugzilla.suse.com/show_bug.cgi?id=1000003 Bug ID: 1000003 Summary: Two distinct files reported as file conflict by zypper Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fvogt@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- plasma5-theme-openSUSE installs the file /usr/share/plasma/look-and-feel/org.openSUSE.desktop/contents/components/SessionManagementScreen.qml plasma5-workspace installs /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/SessionManagementScreen.qml zypper reports that those conflict, but the path is different. There are no sym- or hardlinks involved. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c1
Fabian Vogt
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c2
Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c3
Fabian Vogt
Why do you say that no symlinks are involved? The plasma5-workspace-branding-openSUSE-13.2-21.1 package from Leap 42.1 contains:
lrwxrwxrwx 1 root root 48 Oct 28 05:36 /usr/share/plasma/look-and-feel/org.openSUSE.desktop/contents/components -> ../../org.kde.breeze.desktop/contents/components
Thus the conflict seems valid to me.
That is the old version of the package that is replaced by a new one, that does not use a symlink any more. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c4
Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c5
Fabian Vogt
Why would that matter? The openQA test is trying to upgrade from 42.1 to 42.2, so the symlink exists when zypper is run.
Note that you simply *cannot* replace a directory with a symlink and vice versa with a package update.
That's bad... What has to be done to accomplish this? The symlink _has_ to be replaced by a real directory. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1000003
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c6
Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c7
--- Comment #7 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c8
Fabian Vogt
The issue was introduced with an online update of 42.1, right? So could we fix the issue in 42.1 by undoing the symlink there? Since the file content is identical in 42.1 there should actually be no file conflict.
Tumbleweed has the issue as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c9
--- Comment #9 from Michael Andres
Sorry, not possible. rpm-wise you could do some magic with a pre-trans script written in lua, but the file conflict check is done before any transaction is run.
CC Michael Andres for advice.
Does rpm execute the pre-trans before checking for file conflicts? Anyway, we don't have any execution hook before the fileconflict check in libzypp. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c10
--- Comment #10 from Fabian Vogt
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c11
--- Comment #11 from Michael Schröder
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c12
--- Comment #12 from Richard Brown
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c13
Fabian Vogt
http://bugzilla.suse.com/show_bug.cgi?id=1000003
http://bugzilla.suse.com/show_bug.cgi?id=1000003#c14
Fabian Vogt
participants (1)
-
bugzilla_noreply@novell.com