[Bug 1129422] New: yast2: software managment: installing google-chrome_current_x86_64.rpm fails, then succeeds
http://bugzilla.suse.com/show_bug.cgi?id=1129422 Bug ID: 1129422 Summary: yast2: software managment: installing google-chrome_current_x86_64.rpm fails, then succeeds Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: amajer@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- I went to Google website to download Google Chrome. https://www.google.com/chrome/ I open it with default selection of install and remove software. This prompts me for root password. Then it does, /bin/bash /sbin/yast2 sw_single /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm /usr/bin/ruby.ruby2.5 --encoding=utf-8 /usr/lib/YaST2/bin/y2start sw_single --arg /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm qt -name YaST2 -icon yast Then I get an error with no details.... Looking at the Yast log I see, 2019-03-15 13:30:25 <3> adamm(22979) [bash] ShellCommand.cc(shellcommand):78 warning: /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY 2019-03-15 13:30:25 <3> adamm(22979) [bash] ShellCommand.cc(shellcommand):78 error: incorrect format: unexpected } 2019-03-15 13:30:25 <3> adamm(22979) [bash] ShellCommand.cc(shellcommand):78 warning: /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY 2019-03-15 13:30:25 <3> adamm(22979) [bash] ShellCommand.cc(shellcommand):78 error: incorrect format: unexpected } 2019-03-15 13:30:25 <1> adamm(22979) [Ruby] clients/sw_single.rb:251 File /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm: package name: , src package: false 2019-03-15 13:30:25 <1> adamm(22979) [Ruby] clients/sw_single.rb:258 Installing from file /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm (repository 14) ... 2019-03-15 13:30:25 <3> adamm(22979) [Ruby] clients/sw_single.rb:274 Package /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm could not be installed. Details: After this scary looking message, it proceeds back to package manager which then resolved lsb-release as a missing dependency. Then it proceeds to install things without errors (except for expected signing key). So, why is there the scary looking window before? Why is it trying to install things before getting confirmation about what it is suppose to be installing? What's the purpose of the scary window? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1129422 http://bugzilla.suse.com/show_bug.cgi?id=1129422#c1 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amajer@suse.com, | |ancor@suse.com Flags| |needinfo?(amajer@suse.com) --- Comment #1 from Ancor Gonzalez Sosa <ancor@suse.com> --- Could you please provide full YaST logs of the attempt instead of only those 6 lines? It's hard to get the full picture with such a small fraction of the logs. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1129422 http://bugzilla.suse.com/show_bug.cgi?id=1129422#c2 Adam Majer <amajer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(amajer@suse.com) | --- Comment #2 from Adam Majer <amajer@suse.com> --- Created attachment 800260 --> http://bugzilla.suse.com/attachment.cgi?id=800260&action=edit Entire log from today -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1129422 http://bugzilla.suse.com/show_bug.cgi?id=1129422#c3 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #3 from Ancor Gonzalez Sosa <ancor@suse.com> --- YaST should be executing this command /bin/rpm -q --qf '%{NAME}' -p /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm But it looks like, instead of that, YaST is executing some broken command like this: /bin/rpm -q --qf '%%{NAME}' -p /tmp/mozilla_adamm0/google-chrome-stable_current_x86_64.rpm Note the double %%. The error was for sure introduced in this recent change https://github.com/yast/yast-packager/commit/f26cea3f43fd0d69454e4eaafa67e78... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1129422 Ancor Gonzalez Sosa <ancor@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trello.com/c/CeR32M | |Ix Assignee|yast2-maintainers@suse.de |yast-internal@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1129422 http://bugzilla.suse.com/show_bug.cgi?id=1129422#c4 David Diaz <dgonzalez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED CC| |dgonzalez@suse.com Resolution|--- |FIXED --- Comment #4 from David Diaz <dgonzalez@suse.com> --- As Ancor said, the bug was accidentally introduced in recent changes. The good thing is that it is already fixed :) - PR: https://github.com/yast/yast-packager/pull/417 - SR: https://build.suse.de/request/show/188136 Thank you for report it. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com