Re: repoclosure.py

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

 



> package: openmotif - 2.2.3-6.FC3.1.i386 from updates-released
>   unresolved deps:
>      /usr/X11R6/lib/X11/XKeysymDB
> 
> [root@devel bin]# rpm -qf /usr/share/magic.mime
> file-4.12-1.FC3.1
> You have new mail in /var/spool/mail/mpeters
> [root@devel bin]# rpm -qf /usr/share/magic.mime
> file-4.12-1.FC3.1
> [root@devel bin]# rpm -qf /usr/lib/python2.3
> python-2.3.4-11
> [root@devel bin]# rpm -qf /usr/X11R6/lib/X11/XKeysymDB
> xorg-x11-libs-6.8.1-12.FC3.21
> [root@devel bin]#
> 

So what you're seeing is a small bug during the metadata import.

Here is the patch that's in cvs for it:
--- yum/repos.py        20 Jan 2005 06:59:18 -0000      1.59
+++ yum/repos.py        30 Jan 2005 18:12:20 -0000      1.60
@@ -59,6 +59,8 @@
             if not self.added.has_key(repoid):
                 self.added[repoid] = []
             self.added[repoid].append('metadata')
+            # indexes will need to be rebuilt
+            self.indexesBuilt = 0

         elif datatype in ['filelists', 'otherdata']:
             if self.added.has_key(repoid):
@@ -75,6 +77,8 @@
                         po.importFromDict(pkgdict, repoid)

             self.added[repoid].append(datatype)
+            # indexes will need to be rebuilt
+            self.indexesBuilt = 0
         else:
             # umm, wtf?
             pass

-sv



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux