[Bug 1049973] New: File conflicts TW upgrade ruby2.2 to ruby2.4
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973 Bug ID: 1049973 Summary: File conflicts TW upgrade ruby2.2 to ruby2.4 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Ruby Assignee: ruby-devel@suse.de Reporter: sebix+novell.com@sebix.at QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- During the upgrade from 20170712 to the current one (where can I see the to-be-installed release?) I get the following list of file conflicts. Warning: Checking for file conflicts requires not installed packages to be downloaded in advance in order to access their file lists. See option '--download-in-advance' in the zypper manual page for details. The following package had to be excluded from file conflicts check because it is not yet downloaded: bubblewrap Detected 8 file conflicts: File /usr/bin/erb from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/bin/gem from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/bin/irb from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/bin/ruby from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/share/man/man1/erb.1.gz from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/share/man/man1/irb.1.gz from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/share/man/man1/ri.1.gz from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File /usr/share/man/man1/ruby.1.gz from install of ruby2.4-2.4.1-2.2.x86_64 (openSUSE-Tumbleweed-Oss) conflicts with file from package ruby2.2-2.2.6-3.1.x86_64 (@System) File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content. Continue? [yes/no] (no): -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Antoine Belvire
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c1
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Max Lin
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c2
Ludwig Nussel
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c3
Sebastian Wagner
are you sure you ran zypper dup?
yes :) As ruby2.2 and ruby2.4 have conflicting files, shouldn't the rpms conflict? Currently it does not:
zypper if --obsoletes ruby2.4 ... Conflicts : ruby(abi) = 2.4.0
I am now using a new installation (because of other reasons), but I can test possible solutions on the old one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c4
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c5
Klaus Kämpf
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c6
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c7
Klaus Kämpf
Proposed solution. It will not fix the existing case but the future upgrades:
https://gist.github.com/darix/b5c5868b8730ae67c62a4f1c6de5125b
Wouldn't this prevent to have 2.2 and 2.4 in parallel ? Shouldn't it rather be a provides/obsoletes combination to indicate "this is the successor of ..." ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c8
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
Marcus Rückert
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c9
Sebastian Wagner
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973
http://bugzilla.opensuse.org/show_bug.cgi?id=1049973#c10
Marcus Rückert
participants (1)
-
bugzilla_noreply@novell.com