Re: dnf failing to update

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

 



On 07/09/2017 05:46 PM, Ed Greshko wrote:
On 07/10/17 08:32, Richard England wrote:
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)

If you type "dnf" with no options you'll get a list of plugins

But, based on the name, I'm guess it is zsync.  I think you may have installed this
from someone's copr repository.

If you "rpm -qa | grep zsync" you probably will find the offending package.  Then
just use "rpm" to uninstall.




_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx

Yep,

    rpm -qf /usr/lib/python3.5/site-packages/dnf-plugins/dnf_zsync.py

Showed me  dnf-plugin-zsync-0.1-1.fc25.noarch

and I removed it
    rpm -e dnf-plugin-zsync-0.1-1.fc25.noarch

and now I'm a happy camper

Thank you Ed and Stan for the hand holding and support.

~~R

_______________________________________________
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