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, May 24, 2019 at 4:21 AM Samuel Sieb <samuel@xxxxxxxx> wrote:
> On 5/23/19 3:43 PM, Tom Horsley wrote:
> > dnf seems to have convinced itself that the cache is
> > perfectly up to date no matter how old it is.
> >
> > I now always do the two command sequence:
> >
> > dnf makecache
> > dnf update
> >
> > Less overhead than starting from scratch with "clean all".
>
> 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.  :-(

-- 
Garry Williams
_______________________________________________
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