[Bug 584345] New: zypper shows wrong number of packages during installation/update
http://bugzilla.novell.com/show_bug.cgi?id=584345 http://bugzilla.novell.com/show_bug.cgi?id=584345#c0 Summary: zypper shows wrong number of packages during installation/update Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: fisiu82@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.2 Firefox/3.6 If we specify some spacial option in '/etc/zypp/zypp.conf' to adjust style of downloading packages to: commit.downloadMode = DownloadInHeaps or commit.downloadMode = DownloadInAdvance zypper counts all operations (dowmloading and installing) instead only installing. Let's trace it on example. We have 2 packages to update: pendrak:~ # zypper lu Pobieranie danych repozytorium... Odczyt zainstalowanych pakietów... S | Repozytorium | Nazwa | Obecna wersja | Dostępna wersja | Arch --+----------------------+-----------------+---------------+-----------------+----- v | openSUSE-11.2-Update | kpartx | 0.4.8-44.45.1 | 0.4.8-44.46.1 | i586 v | openSUSE-11.2-Update | multipath-tools | 0.4.8-44.45.1 | 0.4.8-44.46.1 | i586 Then let's make an update via 'zypper up': Pobieranie pakiet kpartx-0.4.8-44.46.1.i586 (1/2), 29,0 KiB (41,0 KiB po zainstalowaniu) Pobieranie różnicy: ./rpm/i586/kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm, 13,0 KiB Pobieranie: kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione (0 B/s)] Nanoszenie różnicy: ./kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione] Pobieranie pakiet multipath-tools-0.4.8-44.46.1.i586 (2/2), 163,0 KiB (479,0 KiB po zainstalowaniu) Pobieranie różnicy: /rpm/i586/multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm, 18,0 KiB Pobieranie: multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione (0 B/s)] Nanoszenie różnicy: ./multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione] Pobieranie pakiet kpartx-0.4.8-44.46.1.i586 (3/2), 29,0 KiB (41,0 KiB po zainstalowaniu) Pobieranie różnicy: ./rpm/i586/kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm, 13,0 KiB Pobieranie: kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione (21,5 KiB/s)] Nanoszenie różnicy: ./kpartx-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione] Instalowanie: kpartx-0.4.8-44.46.1 [zrobione] Pobieranie pakiet multipath-tools-0.4.8-44.46.1.i586 (4/2), 163,0 KiB (479,0 KiB po zainstalowaniu) Pobieranie różnicy: /rpm/i586/multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm, 18,0 KiB Pobieranie: multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione (0 B/s)] Nanoszenie różnicy: ./multipath-tools-0.4.8-44.45.1_44.46.1.i586.delta.rpm [zrobione] Instalowanie: multipath-tools-0.4.8-44.46.1 [zrobione] Finally, we can see when both packages was downloaded we had counter status (2/2). Then we began install those packages and this state has finished with counter state at (4/2). Reproducible: Always Steps to Reproduce: 1. Add 'commit.downloadMode = DownloadInAdvance' or 'commit.downloadMode = DownloadInHeaps' option in '/etc/zypp/zypp.conf' file. 2. Refresh repositories to get some updates, if none wait for them. 3. Do update via 'zypper up'. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=584345 http://bugzilla.novell.com/show_bug.cgi?id=584345#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Ján Kupec <jkupec@novell.com> 2010-03-02 07:35:42 UTC --- Thanx! This is known and fixed. *** This bug has been marked as a duplicate of bug 545295 *** http://bugzilla.novell.com/show_bug.cgi?id=545295 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=584345 http://bugzilla.novell.com/show_bug.cgi?id=584345#c Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com Target Milestone|--- |Future 11.3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com