[Bug 500311] New: zypper dup --dry-run broken by kernel-source delta.rpm package
http://bugzilla.novell.com/show_bug.cgi?id=500311 Summary: zypper dup --dry-run broken by kernel-source delta.rpm package Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i586 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hedgehogshiatus@gmail.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9) Gecko/2009041500 SUSE/3.0.9-0.1.1 Firefox/3.0.9 Zypper dry-run is 'broken' after a kernal-source patch.rpm. Making this critical becasue with zypper's v. poor repo host handling: Error code: User abort Error message: connect() timed out! or Error code: Connection failed Error message: couldn't connect to host the 'dry-run' is the only avenue available to keep a system update from hosing your installed system with delayed/aborted and inconsistent package downloads. # zypper --version zypper 1.0.5 The kernel source delta.rpm: kernel-source-2.6.27.19_2.6.27.21-3.2.1_0.1.1.i586.delta.rpm Reproducible: Always Steps to Reproduce: 1. Turn off rep refresh, run `zypper dup --dry-run` 2. After kernel-source delta.rpm allow a few more packages to download. 3. ctl-c the zypper process 4. rerun `zypper dup --dry-run` Actual Results: The dry run does not download packages _before_ the kernel source package delta.rpm is downloaded and its installation simulated. After the kernel-source package is downloaded and application/installation simulated, _all_ subsequent packages are downloaded /again/ Expected Results: That packages are not downloaded more than once in repeated dry-runs. Even after a kernel source delta.rpm is downloaded and its installation simulated. -- 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=500311
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=500311
User dmueller@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c1
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=500311
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c2
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=500311
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c3
--- Comment #3 from Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=500311
User hedgehogshiatus@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c4
--- Comment #4 from Hedge Hog
http://bugzilla.novell.com/show_bug.cgi?id=500311
User hedgehogshiatus@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c5
Hedge Hog
http://bugzilla.novell.com/show_bug.cgi?id=500311
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c6
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=500311
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=500311#c7
Ján Kupec
I should have stated that explicitly, though it is implicit in the behavior I described - I do not see the packages re-download the second time (after the ctl-c, ctl-c interrupt) - but this is true only up until the kernel-source delta.rpm is 'installed', after that the packages are re-downloaded.
I have again tonight reproduced this behavior as described.
zypper log attached.
The log suggests that you interrupted zypper (when doing the --dry-run) when downloading kde3-amarok-lang-1.4.10-34.1, so when running zypper again, it had to be re-downloaded. See for yourself - where you see lines with MediaCurl.cc(doGetFileCopy), the file is going to be downloaded: .. [zypp] RepoProvideFile.cc(provideFile):212 [1]./i586/kde3-amarok-lang-1.4.10-34.1.i586.rpm{7.5 M|sha1-b5005754cdafb1ce6a928cceb673697d2af12661} .. .. [zypp:fetcher++] Fetcher.cc(addCachePath):319 Adding fetcher cache: '/var/cache/zypp/packages/KDE:Backports'. .. .. [zypp:fetcher] Fetcher.cc(provideToDest):553 Not found in cache, downloading .. .. [zypp++] MediaCurl.cc(doGetFileCopy):1191 URL: http://download.opensuse.org/repositories/KDE:/Backports/openSUSE_11.1/i586/... Where you don't see MediaCurl, just Fetcher, the file is provided from the local cache created during the --dry-run: .. [zypp:fetcher] Fetcher.cc(validate):397 Checking job [/var/cache/zypp/packages/KDE:Backports/i586/kde3-kaffeine-lang-0.8.7-49.1.i586.rpm] (1 checkers ) .. .. [zypp] PackageProvider.cc(providePackage):147 provided Package (707)kde3-kaffeine-lang-0.8.7-49.1.i586(KDE:Backports) at /var/cache/zypp/packages/KDE:Backports/i586/kde3-kaffeine-lang-0.8.7-49.1.i586.rpm So, the kde3-amarok-lang-1.4.10-34.1 wasn't found in cache, but e.g. package kde3-kaffeine-lang-0.8.7-49.1 (and all others) was => not a bug. Also the behavior is not related to the kernel-source package at all. -- 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