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 31, 2019 at 12:43 PM stan via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 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

[snip mangled quote]

> >     Failed to synchronize cache for repo 'updates'
...
> > 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?

Don't know about plugins, but

    garry@ifr$ cat /etc/dnf/dnf.conf
    [main]
    gpgcheck=1
    installonly_limit=6
    clean_requirements_on_remove=True
    install_weak_deps=False
    metadata_expire=43200
    garry@ifr$

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

I don't know.  The next time I can try is Monday.

But, of course, the issue is why this happens in the first place.  I
suspect no one here knows, so I will open a bug against dnf next week.
Perhaps a developer will request data that will shed light on the
problem.

> What happens without the makecache?

That command was suggested instead of "dnf clean all".  The reason I
showed it was that it didn't help when I received "Error: Failed to
synchronize cache for repo 'updates'" without it.

> Are there any anomalies in the /etc/yum.repos.d directory?

Hmmm.

> Things that
> are enabled that should be disabled, and vice versa.

Only modular is disabled.  Normal otherwise.

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