

#Gmail autopurge script install
When the file opens, uncomment the following line and change the value to true: Are you sure you want to flag this script for potential inspection by a.Įdit the config file via command (first install gksu via sudo apt install gksu): gksudo gedit /etc/apt//50unattended-upgrades.sudo dpkg-reconfigure unattended-upgrades For Desktop Ubuntu 16.04, this is enabled by default. Unattended-Upgrade::Remove-Unused-Dependencies "false"Ģ017 8:41 pm I already made a program that will auto-send a message every couple. If you install latest kernels from Kernel PPA, or build your own kernels with patches, a “purge-old-kernels” script is the best and the easiest way to remove old kernels.ġ. Then run the script regularly to remove old kernels: sudo purge-old-kernels The script is maintained in byobu package, so first install it via: sudo apt install byobuĢ.
#Gmail autopurge script upgrade
If your /boot partition has already full while doing an upgrade or package install, and apt (the script above uses apt) can’t remove packages due to broken dependency, here you can manually find out the old kernel packages and remove them via DPKG:ġ.
#Gmail autopurge script 64 Bit
List all kernels excluding the current booted: dpkg -l | tail -n +6 | grep -E 'linux-image-+' | grep -Fv $(uname -r)Įxample output: rc linux-image-4.4.0-15-generic 4.4.0-15.31 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP Run command to check out current kernel and DON’T REMOVE it: uname -rĢ. Rc linux-image-4.6.0-040600rc3-generic 4.6.0-040600rc3.201604120934 amd64 Linux kernel image for version 4.6.0 on 64 bit x86 SMP Throughout this structure, double quotes are required. MAINTAINER Tianon Gravi - mkimage-debootstrap.sh -i iproute,iputils-ping.
