Bug 444549

Summary: Error No Checksum Found During Installation - the second download doesn't find the checksum
Product: [openSUSE] openSUSE 11.1 Reporter: Holger Sickenberg <holgi>
Component: InstallationAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P2 - High CC: dmacvicar, locilka, lslezak, ug
Version: Beta 5   
Target Milestone: RC 1   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2-000.png
y2logs0.tgz

Description Holger Sickenberg 2008-11-13 10:35:14 UTC
Created attachment 251844 [details]
yast2-000.png

I added some additional packages to the default software selection of KDE 3.5 and get "No Checksum Found During" when leaving Software Selection and returning to the "Installation Settings" page.
Comment 1 Holger Sickenberg 2008-11-13 10:35:56 UTC
Created attachment 251845 [details]
y2logs0.tgz
Comment 2 Ladislav Slezák 2008-11-13 14:13:26 UTC
Duncan, the checksum for /images/images.xml is in the content file, but libzypp downloads only /images/directory.yast, /directory.yast and then /images/images.xml. Then it says no checksum available.


The strange thing is that the first download 

2008-11-13 05:21:07 <1> hp(3867) [Pkg] ImageInstallation.ycp:643 Pkg Builtin called: SourceProvideDigestedFile

passed without problems, but later the second attempt

2008-11-13 11:29:50 <1> hp(3867) [Pkg] ImageInstallation.ycp:643 Pkg Builtin called: SourceProvideDigestedFile

failed. See the log.


Can be the problem in not using the remembered index file?

2008-11-13 05:21:08 <1> hp(3867) [zypp:fetcher] Fetcher.cc(downloadAndReadIndexList):730 Remember read index /var/tmp/TmpDir.qH
XQFS/content{- 0644 0/0 size 10979}
Comment 3 Ladislav Slezák 2008-11-13 14:21:07 UTC
Lukas, it seems that images.xml is downloaded whenever the proposal is changed, there should be some cache, one download is enough...
Comment 4 Duncan Mac-Vicar 2008-11-17 13:37:08 UTC
Ladislav, I think somehow you are losing the files it downloaded, but the fetcher is not reset, so he still thinks the index was already read.

If you are going to remove the directory, reset the fetcher if you want to use it again. (typical YaST stuff of keeping "global" things everywhere)
Comment 5 Lukas Ocilka 2008-11-18 13:21:07 UTC
*** Bug 440974 has been marked as a duplicate of this bug. ***
Comment 6 Ladislav Slezák 2008-11-18 14:27:02 UTC
Pkg-bindings use a different Fetcher object in each call (unless there is a singleton somewhere in libzypp).

Moreover the target directory is a TmpDir directory which is stored in an internal list and removed in pkg-bindings destructor. So the downloaded files should be present in the system until yast is running or until they are explicitly removed from the running YCP script.

Anyway, it seems that the problem was in libzypp and it seems to be fixed now.
I have a small YCP scripts which downloads two digested files and it works correctly for me using libzypp rev. 11678. On Beta5 it fails.

Holgi, please retry it in new builds if possible.
Comment 7 Lukas Ocilka 2008-11-20 18:27:31 UTC
Adjusting to NEEDINFO according to the last comment.
Comment 8 Ladislav Slezák 2008-11-24 15:48:22 UTC
BTW This might be a duplicate of bug#447010.

Comment 9 Holger Sickenberg 2008-12-01 11:45:59 UTC
No error message appearing anymore with RC1
Comment 10 Lukas Ocilka 2008-12-01 11:48:28 UTC
Which means -> FIXED (in RC1, RC1.1 or RC1.2 ;))