I ran the following command in order to reinstall my broken apt-get system:-
sudo rm -vf /etc/apt/sources.list.d/*.list && sudo rm -vf /etc/apt/sources.list
I was following the steps from this answer(Always getting error during apt-get install) but gksu package is not installed.
What are the next steps to follow now?
apt-get
system broken? (possibly you were supposed to remove /var/lib/apt/lists/....) – guiverc Feb 28 '18 at 7:37sudo vim ...
(ie. used the vim editor; by default only vi is installed so if you've not used vim, substitute vi/nano/.. or whatever editor you like in place of leafpad). Please put info such as following (answer..) in your question.. [why sudo and not gksudo - mostly its what my fingers type :) ] ps: if you don't know vi/vim - trynano
in place of leafpad (or gedit [if installed]) – guiverc Feb 28 '18 at 7:53sudo
instead ofgksudo
(andgksu
) – guiverc Feb 28 '18 at 7:58