Bug 168844

Summary: yast2 - patch- and delta-rpms of patches are not honered
Product: [openSUSE] SUSE Linux 10.1 Reporter: Harald Mueller-Ney <hmuelle>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Critical    
Priority: P5 - None CC: aj, andreas.hanke, bugz57, DOSProfi, hmuelle, kkaempf, meissner, mls, suse-beta
Version: RC 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 135318    

Description Harald Mueller-Ney 2006-04-24 15:57:27 UTC
We downgraded all RPMs for testing install patch-gcc-1280.xml  (10.1 repo).

rpm -Uhv --oldpackage \
./SUSE-10.1-Beta7/i386/CD1/suse/i586/gcc-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD3/suse/i586/gcc-c++-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD1/suse/i586/libgcc-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD2/suse/i586/libgcj-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD1/suse/i586/libstdc++-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD2/suse/i586/libstdc++-devel-4.1.0-3.i586.rpm \
./SUSE-10.1-Beta7/i386/CD1/suse/i586/cpp-4.1.0-3.i586.rpm\

The patch contains the correct patch-rpm for installation, e.g. cpp:

<package xmlns="http://linux.duke.edu/metadata/common" type="rpm">
      <name>cpp</name>
      <arch>i586</arch>
      <version epoch="0" ver="4.1.0" rel="12"/>
      <checksum type="sha" pkgid="YES">e67c84010428e47b898e3ac29fe86cc9fb237ced</checksum>
      <time file="1144071668" build="1143829222"/>
      <size package="1990734" installed="4790152" archive="4791228"/>
      <location href="rpm/i586/cpp-4.1.0-12.i586.rpm"/>
      <format>
        <rpm:requires>
          <rpm:entry kind="package" name="cpp" epoch="0" ver="4.1.0" rel="12" flags="GE"/>
        </rpm:requires>
        <suse:freshens>
          <suse:entry kind="package" name="cpp"/>
        </suse:freshens>
      </format>
      <pkgfiles xmlns="http://novell.com/package/metadata/suse/patch">
        <patchrpm>
          <location href="rpm/i586/cpp-4.1.0-12.i586.patch.rpm"/>
          <checksum type="sha">f04af253a6320f2830aed4c3b05b4bda</checksum>
          <time file="1144087410" build="1143829222"/>
          <size package="1990381" archive="4790612"/>
          <base_version epoch="0" ver="4.1.0" rel="10"/>
          <base_version epoch="0" ver="4.1.0" rel="3"/>
          <base_version epoch="0" ver="4.1.0" rel="5"/>
        </patchrpm>
        <deltarpm>
          <location href="rpm/i586/cpp-4.1.0-10_12.i586.delta.rpm"/>
          <checksum type="sha">668b74dd32fbd3a039cfcd1f28070beb05c3a382</checksum>
          <time file="1144087412" build="1143829222"/>
          <size package="31831" archive="0"/>
          <base_version epoch="0" ver="4.1.0" rel="10" md5sum="47bb8e225841629790dc221d615e9ccf" buildtime="1143375382" sequence_info="cpp-4.1.0-10-6e839e45353051c49632b3ca81f0aa8170"/>
        </deltarpm>
      </pkgfiles>
    </package>

but wether a patch rpm nor a delta rpm is used.
Comment 1 Jiri Srain 2006-04-24 20:45:27 UTC
I just looked at the code. Using patch and delta RPMs seems not to be implemented at all yet.
Comment 5 Stanislav Visnovsky 2006-04-25 13:08:53 UTC
Michael, something for you.
Comment 6 Martin Vidner 2006-05-26 15:46:53 UTC
Ping?
people on #suse ask.
Comment 7 Stephan Binner 2006-06-02 20:34:24 UTC
*** Bug 177111 has been marked as a duplicate of this bug. ***
Comment 8 Marcus Meissner 2006-06-07 13:40:56 UTC
this must be fixed soon, but after the current ZYPP fix update.
Comment 9 Marcus Meissner 2006-06-13 11:38:17 UTC
We just received an OpenOffice_org security problem of critical nature.

This will be 128 MB of download for the main RPM + german translation
if delta rpms are not supported.
Comment 10 Marcus Meissner 2006-06-13 11:44:53 UTC
reduce sev
Comment 11 Michael Andres 2006-08-08 10:56:33 UTC
Fixed in libzypp-1.3.0. 
Comment 12 Michael Andres 2006-08-08 10:57:40 UTC
Fixed
Comment 13 Enrico Bartky 2006-08-08 21:34:45 UTC
It is possible/planned to include libzypp-1.3.0 in OpenSUSE 10.1 or is this a 10.2 target?
Comment 14 Stanislav Visnovsky 2006-08-17 10:36:37 UTC
Reopen for callbacks tracking.
Comment 15 Jiří Suchomel 2006-08-17 10:44:06 UTC
Just a note - yast2-online-update will of course work even without new callbacks, it will just produce the same progress information as now.
Second note: it will be necessary to include updated yast2-trans* packages if you want to have new progress information translated.
Comment 16 Jiří Suchomel 2006-08-17 12:48:35 UTC
BTW, I think I need swampid to generate patchinfo, am I right?
Comment 17 Marcus Meissner 2006-08-17 12:50:10 UTC
since this will be rolled into one zypp/zmd update again,
AJ or Harald will provide the patchinfo/SWAMP.

there is no need to provide a seperate one.
Comment 18 Stanislav Visnovsky 2006-08-17 13:07:13 UTC
I will handle the patchinfo myself. Just submit the package.
Comment 19 Jiří Suchomel 2006-08-17 13:14:06 UTC
OK. I've just submitted the package, so everything is done.