0

I was having a problem when updating Ubuntu. Certificate verification failed, so I searched on the internet. Then by my own logic and some answers on some forum. I ran the following command:

sudo apt autoremove ca-certificates

Now after restarting my PC I am getting a tty1 screen instead of my normal login screen. I tried pressing the keyboard combination Ctrl+Shift+F7-or-F8 many times. Does anyone have an idea what this is and how to solve it?

I am using Ubuntu with KDE Plasma Desktop full suite. I have uninstalled GNOME.

After trying

sudo apt update && sudo apt install ubuntu-desktop

This I what i am getting:

enter image description here

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

0

Some of the PPAs in your software sources are not working and should be removed. The first thing you need to do is to restore the default repositories by following the instructions in How do I restore the default repositories?. To help you to restore the default repositories properly this answer has examples of what a standard /etc/apt/sources.list file looks like. Your repositories will have to be replaced by the repositories for unsupported releases because the release that you are using is no longer officially supported;

If you want to re-add the PPAs after you have workable package management, please make a note of every PPA that you removed and add them back one at a time in order to weed out the PPAs that are no longer working. In addition you are using an end of life Ubuntu release and you should upgrade it or reinstall a supported release as soon as possible. Ubuntu 24.04 LTS is scheduled to be released in five days on April 25. A fresh install of Ubuntu 24.04 will help you more than trying to upgrade from an unsupported release although either one is possible.

In Kubuntu the kubuntu-desktop metapackage has the ca-certificates package as a dependency as do many other desktop environment metapackages in the default Ubuntu repositories.

The tty1 screen that you are stuck at is called a virtual console. You can run commands from a virtual console to repair your system by reinstalling the kubuntu-desktop metapackage.

  1. At the login: prompt type your username and press Enter.

  2. At the Password: prompt type your user password and press Enter.

  3. Reinstall the default desktop environment by running the following command:

    sudo apt update && sudo apt install kubuntu-desktop  
    
  4. Bring up the normal Ubuntu login screen in Ubuntu and then log in:

    sudo systemctl start graphical.target
    
karel
  • 122,292
  • 133
  • 301
  • 332