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/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux