Yum update failure -
Michael Schwendt
mschwendt at gmail.com
Fri Mar 13 09:28:02 UTC 2015
On Fri, 13 Mar 2015 05:24:13 -0400, Bob Goodwin wrote:
> I tried to yum update this computer and got the following error:
>
> One of the configured repositories failed (Fedora 21 - x86_64),
> and yum doesn't have enough cached data to continue. At this point the
> only
> safe thing yum can do is fail. There are a few ways to work "fix" this:
> .............
> Insufficient space in download directory /var/cache/yum/x86_64/21/fedora
> * free 0
> * needed 100 k
> .............
>
> It suggests such things as:
>
> 3. Disable the repository, so yum won't use it by default. Yum will then
> just ignore the repository until you permanently enable it
> again or use
> --enablerepo for temporary usage:
>
> yum-config-manager --disable fedora
> .............
>
> [root at bobgASRockServer bobg]# du -h /var/cache/yum/x86_64/21/fedora
> 4.0K /var/cache/yum/x86_64/21/fedora/gen
> 4.0K /var/cache/yum/x86_64/21/fedora/packages
> 12K /var/cache/yum/x86_64/21/fedora
>
> [root at bobgASRockServer bobg]# du -h /var/cache/yum/x86_64/21/
> 4.0K /var/cache/yum/x86_64/21/fedora/gen
> 4.0K /var/cache/yum/x86_64/21/fedora/packages
> 12K /var/cache/yum/x86_64/21/fedora
> 4.0K /var/cache/yum/x86_64/21/updates/gen
> 40K /var/cache/yum/x86_64/21/updates/packages
> 48K /var/cache/yum/x86_64/21/updates
> 68K /var/cache/yum/x86_64/21/
>
>
> It doesn't look like there are any large files? I don't understand
> what's going on here. two other F-21 computers updated normally.
You forgot to show how much free space there _is_.
Then, after you've done that, run "yum clean metadata" and retry.
Also check the directory access permission bits -- just in case.
More information about the users
mailing list