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 Tue, Jun 4, 2019 at 9:55 PM Samuel Sieb <samuel@xxxxxxxx> wrote:
> I think I found the answer to this.  I ran into the same problem with my
> simple custom proxy.  Starting in F30, the repo uses zchunk.  This means
> that dnf requests lots of byte ranges.  If the proxy doesn't support
> this, then librepo fails.  According to the http specs, a client MUST
> support getting more (or less) data than asked for when requesting
> ranges.  However, librepo does not.  I'm about to file a bug for this.
>
> The easiest solution for you would be to disable zchunk for dnf on that
> system.  The reason it works after a clean all is that it doesn't have
> the metadata file to update, so it downloads the whole thing instead of
> parts of it.

That appears to be effective.  I added zchunk=False to
/etc/dnf/dnf.conf and there was no failure after that today.  It was
failing pretty regularly before, so I bet it's fixed for me.

Thanks for that.  Nice catch.

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