Critic question- all apps went

After I install a packet with “apt-get install”, console said me that some packets are unvalid so if you want to remove them write a command which I dont remember then I type yes.Now, nearly all apps are removed.How can I restore them easly? history.log: https://justpaste.it/4l6er term.log: https://justpaste.it/5dxl9 dpkg.log : https://justpaste.it/5z98p command : -apt autoremove…

Details