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'? – Wilf Mar 07 '15 at 17:05apt-get purge
with-s
says 812 MB to be removed. With addition ofapt-get --purge autoremove
it could be more than 1 GB.. – aleskva Mar 07 '15 at 17:12~/.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? – Wilf Mar 07 '15 at 21:04apt-get -s --reinstall install libreoffice*
says multiple packages have broken dependencies. And without the asterisk*
it says 33 new packages to be installed (I have fully updated system) – aleskva Mar 08 '15 at 09:23