Re: Fedora 7 kickstart problem with rebuilt Everything image

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

 



On Fri, Jul 20, 2007 at 08:06:41PM +0100, Howard Wilkinson wrote:
> First the version of yum available in updates currently is incompatible 
> with the version of anaconda. The problem is that this version of yum 
> does not create the headers directory and anaconda assumes it will exist.
>    anaconda-11.2.0.66-1.i386.rpm
>    yum-3.2.1-1.fc7
> To get round this we have reverted to yum-3.2.0-1.fc7.noarch.rpm for now 
> but will probably try out the development releases of anaconda and yum 
> next week.

Pull this patch from Anaconda CVS:

Index: yuminstall.py
===================================================================
RCS file: /usr/local/CVS/anaconda/yuminstall.py,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -r1.290 -r1.291
--- yuminstall.py       26 Jun 2007 18:58:55 -0000      1.290
+++ yuminstall.py       27 Jun 2007 15:59:35 -0000      1.291
@@ -242,6 +242,11 @@
         self.setAttribute('pkgdir', root)
         self.setAttribute('hdrdir', '/tmp/cache/headers')
 
+    def dirSetup(self):
+        YumRepository.dirSetup(self)
+        if not os.path.isdir(self.hdrdir):
+            os.makedirs(self.hdrdir, mode=0755)
+
     #XXX: FIXME duplicated from YumRepository due to namespacing
     def __headersListFromDict(self):
         """Convert our dict of headers to a list of 2-tuples for urlgrabber."""


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux