Kubuntu 18.04, on startup only tty screen showing up

It seems like some of the Indian APT repository servers for Ubuntu are either temporarily down or have a major issue. I would exclude a problem with your DNS for now, if you are able to reach normal Internet, at all.
Comment out the old entries in your /etc/apt/sources.list and replace them with something that definitely works.

  1. Comment out the current entries.
sudo nano /etc/apt/sources.list
  1. Search on https://duckduckgo.com/ for Ubuntu repository servers. There should be a website somewhere that shows you a complete list of all available Ubuntu repositories.

  2. Select a link from the list and ping it. If successful, visit the website and see if the repository directories are walkable. If again successful, add this link to your /etc/apt/sources.list and execute sudo apt update.
    If at least one of the previous conditions was unsuccessful, try another link from the list and repeat the process.

  3. If apt update was successful in the last step, you should be able to install tasksel, now.