|
Bugzilla – Full Text Bug Listing |
| Summary: | Yast2 PatchCD looks for file ./patches/content | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Lars Vogdt <lars.vogdt> |
| Component: | YaST2 | Assignee: | Jan Kupec <jkupec> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | dmacvicar, jsuchome, lars.vogdt, lslezak |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
/var/log/YaST2/* files from the testmachine
proposed patch for pkg-bindings (may not be correct or complete) proposed patch for pkg-bindings |
||
Created attachment 183675 [details]
proposed patch for pkg-bindings (may not be correct or complete)
The call for probing the type of the repository did not take the patch dir into the account in the pkg-bindings. I hope the attached patch all that is needed to make this work again. Lada please check the patch and provide fixed pkg-bindings for Lars.
Created attachment 183725 [details]
proposed patch for pkg-bindings
fixed version of the Jano's patch
Unfortunately the fix doesn't solve the problem completely, it's just one step forward. After probing the correct directory libzypp fails when downloading the metadata:
2007-11-16 17:04:54 <1> cyclops(14745) [parser::yum] RepomdFileReader.cc(Impl):103 Reading /var/cache/zypp/raw/CD1K5WmuV/patches/repodata/repomd.xml
2007-11-16 17:04:54 <1> cyclops(14745) [zypp] Downloader.cc(repomd_Callback):58 patches : [ 1 ]
./repodata/patches.xml{0 B|sha1-b5200d53a0e811abe06f9f2f6cee73b991936d9b}
2007-11-16 17:04:54 <3> cyclops(14745) [zypp] MediaCurl.cc(doGetFileCopy):1155 curl error: 9: Server denied you to change to the given directory, temp file size 0 byte.
2007-11-16 17:04:54 <1> cyclops(14745) [zypp] PathInfo.cc(_Log_Result):295 mkdir /var/adm/mount/AP_0x0000000d/repodata 00755unlink /var/adm/mount/AP_0x0000000d/repodata/patches.xml.new.zypp.9CfOTP
2007-11-16 17:04:54 <5> cyclops(14745) [zypp] Exception.cc(log):119 MediaCurl.cc(doGetFileCopy):1244 THROW: MediaCurl.cc(doGetFileCopy):1244: File ./repodata/patches.xml not found on media: ftp://machcd2.suse.de/CDs/openSUSE-10.3-RM-i386-Build102/CD1/
2007-11-16 17:04:54 <5> cyclops(14745) [zypp] Exception.cc(log):119 MediaCurl.cc(doGetFileCopy):1253 RETHROW: MediaCurl.cc(doGetFileCopy):1244: File ./repodata/patches.xml not found on media: ftp://machcd2.suse.de/CDs/openSUSE-10.3-RM-i386-Build102/CD1/
It seems that repomd.xml is downloaded from the correct location but, then it fails when reading patches.xml later (due to a wrong directory).
JFYI: I have submitted the patch to STABLE (in yast2-pkg-bindings-2.16.4) It looks like this happens also when trying to install SLE10-SP2 as a patch CD on the top of SP1. (In reply to comment #7 from Jiří Suchomel) > It looks like this happens also when trying to install SLE10-SP2 as a patch CD > on the top of SP1. False alarm, sorry. I added the source wrong way - using the way proposed by Ladislav in comment 5 works. As for 10.3+, seems we have to re-enable the support for multi-product repositories. Either the old way (if it worked all right) or some other way. probably fixed in svn, to be in libzypp > 5.3.0, needs testing, Lado can you help? I have just tested it, it works correctly with SLES-10-SP2-DVD-i386-GM-DVD1 source. It reads all patches and the source is successfully created. submitted |
Created attachment 183334 [details] /var/log/YaST2/* files from the testmachine During creation of a new openSUSE 10.3 Add-on Media, containing some updated kernels and a patchfile for these kernels, I get the following errors if I tried to load the ISO on a 10.3 system with the Patch-CD module: 2007-10-24 20:10:58 <1> linux-erd3(8593) [zypp] MediaHandler.cc(attach):653 Attached: cd:/// attached; localRoot "/media/SU1030.001" 2007-10-24 20:10:58 <5> linux-erd3(8593) [zypp] Exception.cc(log):119 MediaHandler.cc(getFile):1240 THROW: MediaHandler.cc(getFile):1240: File ./patches/content not found on media : cd:/// 2007-10-24 20:10:58 <5> linux-erd3(8593) [zypp] Exception.cc(log):119 MediaSetAccess.cc(provideFileInternal):223 CAUGHT: MediaHandler.cc(getFile):1240: File ./patches/content not f ound on media: cd:/// With another media (sorry, deleted already) which contains a symlink from ./patches to ../ the module looks also for /patches/media.1/media I'm a bit confused, because I can't find any documentation about this "new" files. So even this looks like a bug or missing documentation about the content of the files patches/content and /patches/media.1/media... y2logs attached