[Bug 438622] New: "zypper dup" does not show progress while re-creating @ system.solv
https://bugzilla.novell.com/show_bug.cgi?id=438622 Summary: "zypper dup" does not show progress while re-creating @system.solv Product: openSUSE 11.1 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: kkaempf@novell.com QAContact: qa@suse.de Found By: --- If @system.solv has to be recreated, "zypper" apparently does not report this on stdout. So running "zypper dup" leaves the user with no visible feedback for
30 secs.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438622
User kkaempf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c1
--- Comment #1 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=438622
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c2
--- Comment #2 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=438622
User kkaempf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c3
--- Comment #3 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=438622
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c4
--- Comment #4 from Ján Kupec
It should report "Reading package database ..."
Reading is reported, building not, as this was not needed before. This is done during target initialization. It used to say "Initializing Target" (this is still shown in -v). Should i move this to the default verbosity again? BTW-------------- It takes quite a long time for me, too. cca 5 secs on a cold start, no other CPU/disk load. Easily reproducible with $ zypper clean -m anyrepo $ sync; echo 3 > /proc/sys/vm/drop_caches $ zypper se foo It then takes cca 5 secs for me to build the solv. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438622
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=438622
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c5
--- Comment #5 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=438622
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c6
--- Comment #6 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=438622
User kkaempf@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c7
--- Comment #7 from Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=438622
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c8
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=438622
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c9
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=438622
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c10
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=438622
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c11
Ján Kupec
There are also several fast 'rpmdb2solv -n' calls that do not even build a solv file nor look at the rpm database. Just the one in Target::load might take some time.
But also only sometimes.
A callback does not help much as long as rpmdb2solv does not trigger it.
We had to change rpmdb2solv to
- While we're at it: support '-o outputfile'. Security is worried about all output redirection we use.
- Support --hash and/or --percent writing ticks or percentage to stderr(!).
I would like this, too, but let's write the progress info only if there is some bigger operation, like building the .solv file, otherwise not, so that we don't write too much output in apps. Michael (mls), will you do this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=438622
User mls@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438622#c12
Michael Schröder
participants (1)
-
bugzilla_noreply@novell.com