Almost kill my Ubuntu

I did an extremely stupid thing today. It all started when I tried to fix some conflicting issue of OpenCV and ffmpeg. I installed and reinstalled many times. I tried this on my desktop and eventually tried it also on my laptop. For some reasons, I could not install some required package (libxcb1-dev). It showed…