Re: Why Must I Do "dnf clean all" Before Updating Will Proceed?

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

 



On Fri, 31 May 2019 10:40:45 -0400
Garry Williams <gtwilliams@xxxxxxxxx> wrote:

> On Fri, May 24, 2019 at 4:21 AM Samuel Sieb <samuel@xxxxxxxx> wrote:

> > Can't you just use "--refresh"?  
> 
> Nether one of those suggestions gets around the problem I seem to
> have:
> 
>     garry@ifr$ sudo dnf makecache;sudo dnf upgrade
>     Fedora 30 openh264 (From Cisco) - x86_64         1.3 kB/s | 542
> B     00:00 Fedora 30 - x86_64 - Updates                      51 kB/s
> |  16 kB     00:00 Fedora 30 - x86_64 - Updates
> 84 kB/s |  89 kB     00:01 Failed to synchronize cache for repo
> 'updates' Error: Failed to synchronize cache for repo 'updates'
>     Fedora 30 - x86_64 - Updates                      50 kB/s |  16
> kB     00:00 Fedora 30 - x86_64 - Updates                     2.5
> kB/s | 108 kB     00:43 Failed to synchronize cache for repo 'updates'
>     Error: Failed to synchronize cache for repo 'updates'
>     garry@ifr$ sudo dnf --refresh upgrade
>     Fedora 30 openh264 (From Cisco) - x86_64         2.0 kB/s | 542
> B     00:00 Fedora 30 - x86_64 - Updates                     130 kB/s
> |  17 kB     00:00 Fedora 30 - x86_64 - Updates
> 89 kB/s | 101 kB     00:01 Failed to synchronize cache for repo
> 'updates' Error: Failed to synchronize cache for repo 'updates'
>     garry@ifr$
> 
> The only way I found is to clean all.  :-(

It sounds like it is using a stale repository.  Have you any plugins
that restrict repositories or is there some setting in
the /etc/dnf/dnf.conf file?

What happens if you do 
dnf clean metadata
instead of
dnf clean all?

What happens without the makecache?
 
Are there any anomalies in the /etc/yum.repos.d directory?  Things that
are enabled that should be disabled, and vice versa.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux