[Bug 1185341] New: yum crash with error "Error: Invalid version flag: if"
https://bugzilla.suse.com/show_bug.cgi?id=1185341 Bug ID: 1185341 Summary: yum crash with error "Error: Invalid version flag: if" Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: olivier.lahaye1@free.fr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 848779 --> https://bugzilla.suse.com/attachment.cgi?id=848779&action=edit The used yum.conf file (not sure it is useful) yum crashes with the following error: Error: Invalid version flag: if Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 288, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 203, in main if base._depsolving_failed: AttributeError: 'YumBaseCli' object has no attribute '_depsolving_failed' How to reproduce: (needs the yum.conf attachment) yum -c /tmp/yum.conf -d 10 -e 2 -y install timezone curl dmraid ntfs-3g multipath-tools open-lldp nvme-cli biosdevname Result: crash Expected result: packages are installed. yum version: yum-3.4.3-bp153.2.8.x86_64 (I know that I should use zypper, but I can't as yum is called from yume a component from OSCAR Cluster suite. I'm in the process to update yume to support zypper, but code is not ready yet, so for now, yume requires a working yum) yume is a cross distro package manager. On rpm based distros it uses yum with a generated yum.conf file that list OS repos and OSCAR cluster repos. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1185341 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com Assignee|screening-team-bugs@suse.de |ngompa13@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1185341 https://bugzilla.suse.com/show_bug.cgi?id=1185341#c1 --- Comment #1 from Olivier LAHAYE <olivier.lahaye1@free.fr> --- Just to help: it works on OpenSUSE Leap 15.2 (only affected version is 15.3beta) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com