teejee2008 / ukuu

A paid version of Ukuu is now available with more features. https://teejeetech.in/2019/01/20/ukuu-v19-01/ Kernel Update Utility for Ubuntu-based distributions. Provides desktop notifications when new mainline kernel is available. Lists kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/ with options to install and remove.
https://teejeetech.in/ukuu
GNU Lesser General Public License v3.0
400 stars 157 forks source link

Delete unused .cache/ukuu/<version>/amd/*.deb files during a remove/purge #98

Open a-bentofreire opened 6 years ago

a-bentofreire commented 6 years ago
ukuu version: 18.9
Desktop: Cinnamon 3.8.9 (Gtk 3.22.30) Distro: Linux Mint 19 Tara
Dual core Intel Core i5-6200U (-MT-MCP-) arch: Skylake rev.3

Is your feature request related to a problem? Please describe. After using ukuu for a while a keep installing new kernel versions, the .cache/ukuu can reach several GB.
After some problem tracing I detected that ukuu downloads the kernels to the folder: .cache/ukuu/<version>/amd/*.deb And these files are never deleted. These files, unlike the CHANGED/index.html/valid which are owned by the user, are owned by the root.

Describe the solution you'd like During a remove/purge operation delete these files as well.