<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I had this problem when I upgraded to 26....<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 9:23 PM, Jim Kinney <span dir="ltr">&lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>dnf clean all<br>
<br>
Much faster :-)<br>
<br>
PackageKit is the tool that automatically downloads rpms for upgrade and notifies you that updates are available in the gnome ui.<br>
<br>
Best way to not have it happen (especially with manual cli upgrades) is to disable PakageKit from startup in systemd.<div><div class="h5"><br><br><div class="gmail_quote">On October 3, 2017 9:04:34 PM EDT, &quot;Ted W.&quot; &lt;<a href="mailto:ted-lists@xy0.org" target="_blank">ted-lists@xy0.org</a>&gt; wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<pre class="m_6657430694307338713k9mail">Today my laptop warned me that disk space on / was running low. After<br>investigation I found out the source was /var/cache/PackageKit. It was<br>taking up over **24GB** of space of my 50GB root partition. 50GB!!!<br><br>My first question was, what the heck is PackageKit and why is it eating<br>half of my root partition (10% of my ENTIRE DISK)!? Thinking it was<br>something to do with the standard package caching, I looked to `dnf` and<br>`pkcon` for help. Found a solution to purge some cached files. This<br>helped but didn&#39;t really make a noticeable dent. Looks like most of the<br>files were in /var/cache/PackageKit/25.... 25... I&#39;m on Fedora 26! Why<br>the heck is 10% of my disk being used by packages cached from a version<br>of Fedora I&#39;m not even running!<br><br>Turns out Gnome3 is trying to be &quot;helpful&quot; and in their all knowing<br>ways, the developers have thought it would be &quot;correct&quot; if they enabled<br>download caching for ALL packages you update BY DEFAULT. Even if you&#39;ve<br>_never_used_the_graphical_<wbr>package_manager!<br><br>W  T  F<br><br>Thankfully, there was an easy fix to all of this:<br><br>Remove the files:<br>`# find /var/cache/PackageKit -type f -name \*.rpm -exec rm {} +`<br><br>Turn off auto downloading:<br>`# gsettings set <a href="http://org.gnome.software" target="_blank">org.gnome.software</a> download-updates false`<br><br>I&#39;ve gotten mostly used to Gnome3 since it was made the default in<br>Fedora many years ago but sometimes I still find things like this that<br>really grind my gears. Defaults that try to be &quot;helpful&quot; and have<br>absolutely no sanity checking to ensure they&#39;re not doing something<br>completely and utterly brain dead!<br><br>Original bug report: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=80053" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=80053</a><br>StackExchange post: <a href="https://unix.stackexchange.com/questions/265755/fedora-23-can-i-safely-delete-files-in-var-cache-packagekit-metadata-updates" target="_blank">https://unix.stackexchange.<wbr>com/questions/265755/fedora-<wbr>23-can-i-safely-delete-files-<wbr>in-var-cache-packagekit-<wbr>metadata-updates</a><br><br>&lt;/rant&gt;<br><br>- Ted<br></pre></blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.</font></span></div><br>______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Pete Hardie<br>--------<br>Better Living Through Bitmaps</div>
</div>