Bug 436103
| Summary: | Anaconda displays '-1' as a number of Remaining Packages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Adam Stokes <astokes> | ||||
| Component: | anaconda | Assignee: | Martin Sivák <msivak> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Alexander Todorov <atodorov> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.3 | CC: | atodorov, jtluka, tao | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-11-20 08:50:51 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 391501 | ||||||
| Attachments: |
|
||||||
Created attachment 296884 [details]
ss of remaining pkgs
*** Bug 436275 has been marked as a duplicate of this bug. *** Fixed in Fedora by http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=dcd151c7bc22f93957ec1b23b1fd5f39bdb67c7d This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Will be included in 11.1.2.114 Adam, how did you reproduce this? What package selection? I've tried with 5.2 Server and the remaining package count went down to 1 then anaconda executed %post scripts and was ready to reboot. This was with default package selection. Adam, can we get the kickstart file from the customer. We can't reproduce with info what packages were selected for installation. |
Description of problem: Anaconda displays '-1' as a number of Remaining Packages . This has reproduced on my xen pv configuration as well. Please refer to the previous post for the serial console output. I looked in my configuration. After the install (where it actually showed "Remaining" as "-1", I checked with rpm -qa | wc -l and sees that the package exactly adds up to 860 (see another previous post). Therefore there should be something wrong with the cound on "Completed" . This is presumably done in textw/progress_text.py: textw/progress_text.py 23 def completePackage(self, header, timer): 24 def formatTime(amt): 25 hours = amt / 60 / 60 26 amt = amt % (60 * 60) 27 min = amt / 60 28 amt = amt % 60 29 secs = amt 30 31 return "%01d:%02d:%02d" % (int(hours) ,int(min), int(secs)) 32 33 self.numComplete = self.numComplete + 1 This is called from yuminstall.py: 96 def callback(self, what, amount, total, h, user): : 162 elif what == rpm.RPMCALLBACK_INST_CLOSE_FILE: 163 po = h 164 hdr = po.returnLocalHeader() 165 path = po.returnSimple('relativepath') 166 167 nvra = "%s" %(po,) 168 169 fn = self.files[nvra].name 170 self.files[nvra].close() 171 self.method.unlinkFilename(fn) 172 self.progress.completePackage(hdr, self.pkgTimer) Version-Release number of selected component (if applicable): anaconda 11.x How reproducible: 100% Steps to Reproduce: 1. Install system via text mode 2. 3. Actual results: Remaining displays -1 Expected results: Show correct number of remaining packages Additional info: