Re: dnf failing to update

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

 



On 07/09/2017 04:54 PM, Richard England wrote:
On 07/09/2017 03:19 PM, Richard England wrote:
I've removed all but the fedora related files in yum.repos.d and it had no effect.

Try a
dnf clean metadata
in case you are trying to access a bad repo.
The error/traceback occurs with any dnf command I try, including the clean commands


My   /etc/yum.repos.d/fedora-updates.repo looks identical to the one you posted.

I find that if you use the  option --noplugins dnf seems to work. e.g.

    dnf --noplugins dnf

This seems to help any command command, for me. This sounds like I have installed a plugin and forgotten about it.  Does anyone know how to list the plugins that are installed or where they reside?  And more to the point, how do I remove them?

~~R

The url/IPaddr is embedded in /usr/lib/python3.5/site-packages/dnf-plugins/dnf_zsync.py

class Plugin(dnf.Plugin):

    name = 'zsync'

    def __init__(self, base, cli):
        super(Plugin, self).__init__(base, cli)
        self.cli = cli
        self.base = base
        self.impl = PluginImpl('http://209.132.178.35/' + base.conf.releasever +
                               '/')

    def config(self):
        if self.cli:
            self.cli.demands.cacheonly = True
            self.base.repos['updates'].md_only_cached = True
            self.impl.sync_metadata(self.base.repos['updates'].cachedir)


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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