<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>804</bug_id>
          
          <creation_ts>2011-03-03 23:52:58 +0000</creation_ts>
          <short_desc>[zypper] zypper lose package information after zypper/rpm install/remove</short_desc>
          <delta_ts>2011-03-22 00:03:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>kunwei.tian</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>qing.he</cc>
    
    <cc>sgw</cc>
    
    <cc>xudong.hao</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12284</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-03 23:52:58 +0000</bug_when>
    <thetext>Image location:
http://autobuilder03.jf.intel.com/nightly/20110226-1/
Commit information: e08dc5aaaeba61e332caab4a3df5750df6b49ac1

With RC1 images(qemux86 and atom-pc), if I install a package with RPM command, it can be shown as installed with RPM command. But using zypper remove command, zypper will show that the package is not installed.


########
root@qemux86:/opt# rpm -qa | grep man
libpixman-1-0-0.20.2-r0.i586
connman-plugin-loopback-0.65-r0.i586
connman-plugin-dnsproxy-0.65-r0.i586
connman-plugin-bluetooth-0.65-r0.i586
connman-plugin-wifi-0.65-r0.i586
connman-plugin-ethernet-0.65-r0.i586
pcmanfm-0.9.8-r0.i586
connman-0.65-r0.i586
connman-gnome-0.5-r4.i586
man-1.6f-r0.i586
########

########
root@qemux86:/opt# zypper remove man
Loading repository data...
Reading installed packages...
Package &apos;man&apos; is not installed.
&apos;man&apos; not found in package names. Trying capabilities.
No provider of &apos;man&apos; is installed.
Resolving package dependencies...

The following NEW package is going to be installed:
  libc6

1 new package to install.
Overall download size: 1.6 MiB. After the operation, additional 3.3 MiB will be used.
########

Reproduce Steps:
1. Prepare a repo on host
2. Add the repo for zypper on target
3. Copy man-1.6f-r0.i586 to target
4. install the package with rpm command
5. zypper remove man and check the output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12331</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-07 11:36:14 +0000</bug_when>
    <thetext>I think this is related to 722, and is likely fixed.  Should be verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12523</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-12 08:55:19 +0000</bug_when>
    <thetext>The issue still exists on RC2-20110305 build, and I find the more generic steps to reproduce such the issue:

1. zypper search package, for example, man, zypper should show the packages matching pattern *man*, but no man-1.6f-r0.*.rpm is installed
2. Prepare man-1.6f-r0.*.rpm package and install it by rpm
3. zypper search, you will find zypper prompts no packages found
4. If you install another package by rpm, zypper search will work again

If you install package by zypper, the libc6 issue will be prompted at the second time.

The bug seems same as bug 827, bug 845 and bug 841.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12668</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-15 20:02:04 +0000</bug_when>
    <thetext>The bug still exists on RC3 build image, commit: a33a2cc024f9c9147c92c5da70d8fbb631b968f9, bernard branch on master tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12724</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-03-16 19:02:09 +0000</bug_when>
    <thetext>This is now believed to be fixed.

http://git.pokylinux.org/cgit.cgi/poky/commit/?h=bernard&amp;id=a7d927af3585403fe6eb8d184bdadd307d681e02</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12895</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-22 00:03:17 +0000</bug_when>
    <thetext>Verify the bug with gold build, it is fixed.

The commit number is 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>