Re: [PATCH] Set repo.cachedir to repo.basecachedir when reading configuration

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

seth vidal wrote:
| On Wed, 2008-07-23 at 15:32 +0300, Alexander Todorov wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA512
|>
|
|> The failure was at:
|> yumdownloader -c $yumconf anaconda-runtime. The config files that come with
|
| Is revisor actually running this command or is it doing something like
| it internally?
|
It really does run yumdownloader.

|
| is there some reason why repo.dirSetup() never gets run?
|

wrt current code: I have no idea
wrt to patch: didn't know about that function. Thanks.

| You'll notice that it does:
|  def dirSetup(self):
|         """make the necessary dirs, if possible, raise on failure"""
|
|         cachedir = os.path.join(self.basecachedir, self.id)
|         pkgdir = os.path.join(cachedir, 'packages')
|         hdrdir = os.path.join(cachedir, 'headers')
|         self.setAttribute('cachedir', cachedir)
|         self.setAttribute('pkgdir', pkgdir)
|         self.setAttribute('hdrdir', hdrdir)
|
|
| There may be another bug here, but I don't think the patch you sent is
| the right way to fix it.
|


I agree. I've tried with dirSetup but although it sets up the local directories
and yumdownloader is able to fetch the mirror list it fails to download the
package. I'll continue looking into it.

Thanks for the hint,
Alexander.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFIhypkhmd3WOiFct4RCnzGAJ0Z77LH3LJTu/EfVCjDhQDuvMV4CwCfUrTA
1kvxWSNSXDTEbAzWyRyeBqQ=
=bXm3
-----END PGP SIGNATURE-----
_______________________________________________
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