Bug 1009660 - pkcon refresh fails to re-create all data.
pkcon refresh fails to re-create all data.
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: PackageKit (Show other bugs)
6.5
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Richard Hughes
Desktop QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-18 15:52 EDT by smatula
Modified: 2014-05-20 09:41 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-05-20 09:41:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description smatula 2013-09-18 15:52:17 EDT
Description of problem: pkcon refresh fails to re-create other.sqlite data
after performing here is a diff: all other data is no longer there
Sequence Match output:

match at a[0] and b[0] of length 141
match at a[219] and b[141] of length 186
match at a[438] and b[327] of length 403
match at a[919] and b[730] of length 90
match at a[1087] and b[820] of length 629
match at a[1794] and b[1449] of length 256
match at a[2128] and b[1705] of length 340
match at a[2546] and b[2045] of length 383
match at a[3007] and b[2428] of length 336
match at a[3421] and b[2764] of length 147
match at a[3601] and b[2911] of length 479
match at a[4080] and b[3390] of length 0
Diff output:

  /var/cache/yum/x86_64/6Server/beaker-debuginfo:
  bb196d376ad03f384f4c0a8b5d3d10161a1c85d632ae31677fd988a4f6b39c35-primary.sqlite
  cachecookie
- f53bf7a4a7bf7987e504f851bd11313e826106a9bf57635f91e73a164b8ffbd9-other.sqlite
  fe673f6681eddd01fb896d4663a06784ea6986124507c1343d5c1453daf5d1b9-filelists.sqlite
  packages
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-harness:
  cachecookie
  filelists.xml.gz
  filelists.xml.gz.sqlite
- other.xml.gz
- other.xml.gz.sqlite
  packages
  primary.xml.gz
  primary.xml.gz.sqlite
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-HighAvailability:
  0813cbe6202636fba79ac1c9bd14cfc9147ebdba105a1689327dfeb71f8b9c83-comps-rhel6-HighAvailability.xml.gz
  b763b6e17e249c4da9ee3b1ae8eb56a73fbb719ded81ea2724b77033c4b2d751-primary.sqlite
  cachecookie
  edc938a6018f98ce3030dc6fd189caca87fdbf38ce661060b9f7c8d2172c97b8-filelists.sqlite
- fe3f907c2dc39f6b3fe1ff2e0cf26608d16b7ba1b6794ca41b2d27dcdf28038d-other.sqlite
  gen
  packages
  productid.gz
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-LoadBalancer:
- 4096a6dc9d7864dee44acd64d96409904d2d179de84216d9e91185344ed585a9-other.sqlite
  486520e09a79a2b0ecd7920302fbb02c61724f3bea2410a0ef14faa67ce6bb95-filelists.sqlite
  80b0529eea83326f934c6226b67c8cd6d918c2e15576c515bd83433ae0fbef7b-comps-rhel6-LoadBalancer.xml.gz
  923648e4a5500a204b920aa2b25d8e4f903c6dcfb10789966a750aa937c17295-primary.sqlite
  cachecookie
  gen
  packages
  productid.gz
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-optional:
  28f4d3e9ba4c9efd311943a4fb21f7622edb3eb76c048374d69756d117740558-comps-rhel6-Server-optional.xml.gz
  38a69aba217f05d015a87aa2f579849d42f6b545a27d63df5801e92db1f7607a-filelists.sqlite
  9fb15628b2920c96fb7f9600858434e83852a5b6a847a8c5090d5fb31f566543-primary.sqlite
  cachecookie
- d0403a13629495f41780318fd281fccd526b4991c1fbb5a2556273d7964ea85c-other.sqlite
  gen
  packages
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-optional-debuginfo:
  020e588395a049a6364362fd09c911969726192d9bcee9285cb6b2b167ac1b67-filelists.sqlite
  c6c82e464dd918ef5e787bdd2e0a67652f1b602095dbecdb81f5e9717757e503-primary.sqlite
  cachecookie
- ffd2b0523e0f2488c08ab7ca4237c904b98435e476c7f819256f0ce4cdbe7848-other.sqlite
  packages
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-ResilientStorage:
  a7e90090ca0b594c7037dd0a9517f13fca78dcf181c7047bbb8d0e507af216a5-primary.sqlite
  b4b559f8b1fba7e46079d01552811c22ab25c9250e8c28978ec3f5358fdbfb25-comps-rhel6-ResilientStorage.xml.gz
  bee215c7426cb3e50e64c8000f6df4df955179455a83c4485f3e4704314a9ea8-filelists.sqlite
- c2383de83846349769fb3a7d5f6c2d9966cf09cc99aee895d91b789f1c24ff10-other.sqlite
  cachecookie
  gen
  packages
  productid.gz
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-ScalableFileSystem:
  586755592cec401c223d6bd3825266d5bd318441531f63f9a0b7c35f6bab218f-filelists.sqlite
  a6d394a8bf018f37249c2a2a6c3fc3ba88baf9813c1a03438c40a5d9b373dd68-comps-rhel6-ScalableFileSystem.xml.gz
  cachecookie
  e0d1640c7c38c9e9dad0d9447decbffd065775957bd94a737391fa19b8a4bcfe-primary.sqlite
- e3323aa395e68f888f0eee78024696f887cd6de64d2f8c0920c3f5a64797baff-other.sqlite
  gen
  packages
  productid.gz
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-Server:
  038fcce54b0690c34ce05255182dd2950e295669cf7d7259d8f31a22c9d61b75-filelists.sqlite
  263e6223d2bf03de4a126dcc724174127e186d42203ec8b0a23a46c80a84bf78-primary.sqlite
  6d325aab95554b8cf1e2418da0e985e6a2dcf74185d2ab3094bbf32cd46294ed-comps-rhel6-Server.xml.gz
- 993b12dd6976f5d13d5b9e400b860cb09c3878c5c91d75d10a41854d51096828-other.sqlite
  cachecookie
  gen
  packages
  productid.gz
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/beaker-tasks:
  cachecookie
  filelists.xml.gz
  filelists.xml.gz.sqlite
- other.xml.gz
- other.xml.gz.sqlite
  packages
  primary.xml.gz
  primary.xml.gz.sqlite
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/local:
  3ae47d5b3e8032a3e8aca398eef8a6eb929b1574d5f9a9018b52ea6a44312702-primary.sqlite
  9dee9e3488a5638c9c2a72e2ec63bacd68ed94d72493e5bb56820d9d8650da01-filelists.sqlite
  cachecookie
  packages
  repomd.xml
  
  /var/cache/yum/x86_64/6Server/rhel-source:
  909d9087cb9f755a5149fb6969e36411995fbd8d-primary.sqlite
  cachecookie
  e2b0f79b247d61a4a2162ca46a729c80e3ba5707-filelists.sqlite
  packages
  repomd.xml


Version-Release number of selected component (if applicable):
PackageKit-0.5.8-21.el6.x86_64

How reproducible:
always


Steps to Reproduce:
1.yum clean all
2.yum makecache (recreate)
3. save off list of contents under /var/cache/yum/x86_64/6Server/
4. yum clean all
5. pkcon refresh
6. get another list of contents and compare.

Actual results:
other data is now missing


Expected results:
All data to be recreated.

Additional info:
Comment 1 Richard Hughes 2014-05-20 09:41:26 EDT
(In reply to smatula from comment #0)
> 5. pkcon refresh
> 6. get another list of contents and compare.

PackageKit doesn't need other.xml and so it isn't downloaded. If you do need this file using yum, yum will automatically download it as required. PackageKit only refreshes the things it requires.

Note You need to log in before you can comment on or make changes to this bug.