Linux Lite Forums

Software - Support => Installing Software => Topic started by: GMlinux on May 12, 2015, 04:34:07 AM

Title: using apt-get remove to purge out a particular application
Post by: GMlinux on May 12, 2015, 04:34:07 AM
Hi
Following commands supplied by Atlassian (trying to install Confluence), all of my packages have been removed. The command given was:-
sudo apt-get -purge remove apparmor apparmor-utils libapparmor-perl libapparmor1

The -purge command was give an error message by the system so I retyped without. The system did ask whether I was sure and again but as I was disabling a firewall I thought this was normal. However all of my apt-get packages were removed.

Is there an easy way for me to put back the standard packages without overwriting any particular setup created by jetbrains TeamCity which is installed and has not been backed up prior to this incident. I have used Clonezilla to do an image backup of the drive, so all will not be lost if mistakes are made.

Title: Re: using apt-get remove to purge out a particular application
Post by: galen on May 12, 2015, 10:02:09 AM
--purge
removing apparmor will remove many essential related programs,
no one should have asked you to do that;
a large list of programs should have shown a warning.
When they are removed they are gone.
Reinstall
Title: Re: using apt-get remove to purge out a particular application
Post by: GMlinux on May 12, 2015, 10:41:41 AM
Hi Galen
Thank you for the reply. If I use the 2.2 ISO will I be shown an option to repair an already existing installation, I realise it will probably setup new configuration files, but that is to be expected. I was using a near vanilla linux lite 2.2, except for the addition of openSSh and mercurial source control.
Regards
Graham