I want to remove configuration files of a package (the system one at least), but avoid reinstalling the package because of its size. Basically I want to do this
sudo apt-get purge my-gigabyte-package
sudo apt-get --purge autoremove
sudo apt-get install my-gigabyte-package
but without reinstalling the package. I tried
sudo apt-get --purge install my-gigabyte-package
sudo apt-get --purge upgrade my-gigabyte-package
sudo apt-get --purge -f install my-gigabyte-package
sudo apt-get --purge --reinstall install my-gigabyte-package
sudo apt-get --purge check my-gigabyte-package
but as expected none of them worked.
Is there any option, how to achieve this?
/etc
(see here. Note that it does remove the files in the user's home diretory, which most of the time are the issue. Which program(s) do you want 'purged'?apt-get purge
with-s
says 812 MB to be removed. With addition ofapt-get --purge autoremove
it could be more than 1 GB..~/.config/libreoffice
(or~/.libreoffice
(can't remember)) to see if it does what you want. Note the packages might be cached (see this for where) so you might not have - does the optionapt-get -s --reinstall install libreoffice*
(withoutsudo
) show antyhing need be downloaded?