Bug 455768 - Usability problems while installing software from firefox
Summary: Usability problems while installing software from firefox
Status: RESOLVED FIXED
: 511094 561829 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: RC 1
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 21:26 UTC by Bart Whiteley
Modified: 2021-02-18 14:49 UTC (History)
4 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2log (82.86 KB, text/plain)
2008-12-16 15:21 UTC, Ladislav Slezák
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Whiteley 2008-12-02 21:26:16 UTC
If I click on a link to download an RPM from Firefox, I'm presented with the options to install the software or save the file.  If I choose to install the software, I'm asked for the root password.  So far, so good.  However, nothing appears to happen after entering the password. The user is left to believe that something crashed.  Only after doing an 'rpm -qi <package>' and checking the Install Date, or release number, can you verify that the package was actually installed.  Some sort of progress indication and a 'package successfully installed' dialog should be displayed.
Comment 2 Ladislav Slezák 2008-12-15 15:16:30 UTC
That's strange, you should see some progress.

Maybe that the progress window was opened in background (below the firefox window). Could you check whether there is a new window opened after starting the installation?

And please attach the Yast logs.
Comment 3 Ladislav Slezák 2008-12-16 15:20:46 UTC
I have reproduced it by myself - the package is installed but there is no installation progress. There is a progress at the beginning (loading the package manager) but that's all.

And also suseconfig call is missing.
Comment 4 Ladislav Slezák 2008-12-16 15:21:34 UTC
Created attachment 260350 [details]
y2log
Comment 5 Ladislav Slezák 2008-12-23 14:03:49 UTC
The problem is that progress of RPM installation is not reported by libzypp when calling RpmDb::doInstallPackage():

2008-12-23 14:30:00 <1> muffin(7455) [Pkg] clients/sw_single.ycp:179 Pkg Builtin called: TargetInstall
2008-12-23 14:30:00 <1> muffin(7455) [zypp] RpmDb.cc(doInstallPackage):1976 RpmDb::installPackage(/tmp/yast2-trans-sk-2.17.3-1.
8.noarch-5.rpm,0000000000)2008-12-23 14:30:00 <1> muffin(7455) [zypp++] ExternalProgram.cc(start_program):210 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '--' '/tmp/yast2-trans-sk-2.17.3-1.8.noarch-5.rpm'
2008-12-23 14:30:00 <1> muffin(7455) [zypp++] ExternalProgram.cc(start_program):354 pid 7497 launched
2008-12-23 14:30:00 <1> muffin(7455) [zypp++] ExternalProgram.cc(checkStatus):408 Pid 7497 successfully completed
2008-12-23 14:30:00 <0> muffin(7455) [libycp] ExecutionEnvironment.cc(popframe):115 Pop frame 0x7f46b81361c0
2008-12-23 14:30:00 <0> muffin(7455) [liby2] SymbolEntry.cc(setValue):107 SymbolEntry::setValue (installed@0x10a0ea0 = 'true')


On the other hand during standard commit the progress is reported:

2008-12-23 14:38:05 <1> muffin(7582) [zypp++] ExternalProgram.cc(start_program):210 Executing 'rpm' '--root' '/' '--dbpath' '/var/lib/rpm' '-U' '--percent' '--force' '--nodeps' '--' '/var/cache/zypp/packages/openSUSE 11.1-0/suse/noarch/yast2-trans-sk-2.17.3-1.8.noarch.rpm'
2008-12-23 14:38:05 <1> muffin(7582) [zypp++] ExternalProgram.cc(start_program):354 pid 7629 launched
2008-12-23 14:38:05 <0> muffin(7582) [Pkg] Callbacks.YCP.cc(evaluate):233 Evaluating callback (registered funciton: ProgressPackage)
2008-12-23 14:38:05 <0> muffin(7582) [liby2] SymbolEntry.cc(setValue):107 SymbolEntry::setValue (pkg_percent@0xaa8e90 = '0')


IMO it's not worth of fixing the progress, Yast should switch to standard commit anyway (see bug #459268) and it will solve also this problem.

Comment 6 Ladislav Slezák 2009-07-08 16:26:42 UTC
*** Bug 511094 has been marked as a duplicate of this bug. ***
Comment 7 Ladislav Slezák 2010-01-11 17:10:57 UTC
Fixed in yast2-packager-2.19.3 (Factory, 11.3).
Comment 8 Ladislav Slezák 2010-01-12 09:56:47 UTC
*** Bug 561829 has been marked as a duplicate of this bug. ***
Comment 9 Bernhard Wiedemann 2016-04-15 09:22:34 UTC
This is an autogenerated message for OBS integration:
This bug (455768) was mentioned in
https://build.opensuse.org/request/show/29170 Factory / yast2-packager