

This was fixed in the 0.8.0~pre1 version of apt, released on Fri,, or possibly in the 0.8.15~exp1 version of apt, released Fri. However, for some years now, running apt-get purge will remove config files even if the package is no longer installed. Minor comment: If you have removed the package and later want to remove the config files,it used to be the case that apt would not remove the config files if the package was not installed. If the version of the package you are trying to (re)install has config files that conflict with the configuration files that are already installed, it will again ask you before overwriting, as it does on upgrade. If you do keep the config files, then if/when you reinstall the package, Debian will attempt to reuse the saved configuration information. So, if you have not configured the package, or you don't want to keep your configurations, you can use apt-get purge. Here Debian is trying to help you, based on the assumption that your config files may contain valuable information. Even in that case, it saves a copy of the original file. On upgrade it will ask you to choose between the current version and the new version (if they differ) before overwriting config files. By default apt/dpkg will not remove config files on package removal. sudo apt purge adwaita-icon-theme gedit-common gir1.2-gdm-1.0 \ gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-goa-1.0 \ gnome-accessibility-themes gnome-bluetooth gnome.
APT AUTOPURGE HOW TO
dpkg, and thus apt honor this identification when removing packages, and also on upgrades. How to remove GNOME Shell from Ubuntu 20.04 LTS to install other desktop environment from scratch The single long command for GNOME Shell removal is below. Usually in Unix/Linux systems, configurations are saved in text files, even if the configuration/customization is done via the GUI.Įach Debian binary deb package has a list of files which it identifies as config files. If you have customized the package/software at all, either by editing the config files directly, or via a GUI, you may want to keep your customizations.
