sudo apt-get remove --purge wine*
opened the gates of hell and removed many things. I wasn't allowed to paste the output here, too big. I stopped the process, I wanted to save what's left of my system!
- How to reinstall what has been removed?
- Why were these packages removed? It is the most important question, why the hell were they removed? I can't see any relation between Spotify and wine!
- If
apt-get --purge
might destroy your system, how to remove wine then? I removed it from software center but many files were still there. - Can you ever trust
apt-get -- purge
?
I'm on Xubuntu 14.04 64 bit.
wine *
is not the same aswine*
. I suggest you now use wildcards with apt-get purge. Also, you should have gotten a warning before any critical packages were removed, I hope you did not ignore that. I suggest you runsudo apt-get install xubuntu-desktop
--purge
flag doesn't destroy a system by itself; it just removes configuration files from the packages removed by the command.Note, selecting 'libapache2-mod-auth-ntlm-winbind' for regex 'wine*'
, it saw that the package name contained "win" ("e*" means 0 or more instances of "e") and removed it. Then, the dominoes fell... (This is also why a list of packages to be removed is displayed for review before you enter yes.)^wine
to matchwine
just at the beginning. Btw, thefailglob
shell option may interest you.