Re: yum-metadata-parser 1.1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



seth vidal wrote:
On Wed, 2007-08-29 at 07:53 -0400, Matthew Miller wrote:
On Wed, Aug 29, 2007 at 12:52:20AM -0400, seth vidal wrote:
This release of yum-metadata-parser should really only be used with yum
3.2.X.
Enough to warrant adding a "Conflicts: yum < 3.2.0"?


no. If the db is created and yum can't read it - yum will just download
the xml and use it.


-sv

Hi Seth,
Maybe you do want to have this only work with yum 3.2 and above.

# rpm -q yum
yum-3.0.6-3.sl.noarch
# rpm -q yum-metadata-parser
yum-metadata-parser-1.1.2-1.sl5.i386
# rpm -qa | grep sqlite | sort
python-sqlite-1.1.7-1.2.1.i386
sqlite-3.3.6-2.i386
sqlite-devel-3.3.6-2.i386
# yum --enablerepo=* list yum
Loading "kernel-module" plugin
Setting up repositories
fermi-contrib             100% |=========================|  951 B    00:00
fermi-security            100% |=========================|  951 B    00:00
fermi-addons                                                     951 B 00:00
sl-srpms                  100% |=========================|  951 B    00:00
fermi-bugfix-51           100% |=========================|  951 B    00:00
flash                     100% |=========================| 1.9 kB    00:00
sl-base                   100% |=========================| 1.1 kB    00:00
sl-debuginfo              100% |=========================|  951 B    00:00
dag                       100% |=========================| 1.1 kB    00:00
atrpms                    100% |=========================|  951 B    00:00
fermi-fastbugs            100% |=========================|  951 B    00:00
fermi-testing             100% |=========================|  951 B    00:00
fermi-base                100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 6.5 kB    00:00
fermi-cont: ################################################## 21/21
primary.xml.gz            100% |=========================| 269 kB    00:00
fermi-secu: ################################################## 826/826
primary.xml.gz                                                   210 B 00:00
primary.xml.gz            100% |=========================| 326 kB    00:00
sl-srpms  : ################################################## 1333/1333
primary.xml.gz            100% |=========================|  213 B    00:00
primary.xml.gz            100% |=========================| 1.4 kB    00:00
flash     : ################################################## 4/4
primary.xml.gz            100% |=========================| 682 kB    00:00
sl-base   : ################################################## 2455/2455
primary.xml.gz            100% |=========================|  15 kB    00:00
sl-debugin: ################################################## 72/72
primary.xml.gz            100% |=========================| 1.5 MB    00:00
dag       : ################################################## 5919/5919
primary.xml.gz            100% |=========================| 453 kB    00:00
atrpms    : ################################################## 3096/3096
primary.xml.gz            100% |=========================|  212 B    00:00
primary.xml.gz            100% |=========================| 6.3 kB    00:00
fermi-test: ################################################## 31/31
primary.xml.gz            100% |=========================|  29 kB    00:00
fermi-base: ################################################## 70/70
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 94, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 381, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 160, in doCommand
    ypl = base.returnPkgLists(extcmds)
  File "/usr/share/yum-cli/cli.py", line 895, in returnPkgLists
    ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 976, in doPackageLists
    self.doRepoSetup()
  File "/usr/share/yum-cli/cli.py", line 109, in doRepoSetup
    self.doSackSetup(thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 341, in doSackSetup
    self.pkgSack.excludeArchs(archlist)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 331, in excludeArchs
    sack.excludeArchs(archlist)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 589, in excludeArchs
    obj = self.pc(rep,self.db2class(x))
  File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 431, in db2class
    y.checksum = {'pkgid': 'YES','type': db.checksum_type,
  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 97, in __getattr__
    raise AttributeError, key
AttributeError: CHECKSUM_VALUE
#

I'm not saying I need it fixed. I'm just saying you might want to rethink not having it be for yum 3.2 and above.
I installed yum 3.2.8 on this and everything works fine.

# yum --enablerepo=* list yum
Loading "kernel-module" plugin
primary.sqlite.bz2        100% |=========================| 2.7 kB    00:00
Installed Packages
yum.noarch                               3.2.8-1.sl             installed
Available Packages
yum.noarch                               3.0.6-3.sl             sl-base

Troy
--
__________________________________________________
Troy Dawson  dawson@xxxxxxxx  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux