Ubuntu 18.04 desktop installation tasksel aptitude failed (100) problem repair

the ubuntu 18.04 desktop will not boot, possibly because the configuration of the graphical desktop was damaged while installing the remote desktop.

because baidu is not specific error files and related configuration. You can only delete the desktop system.

then the problem came, sudo apt install ubuntu-desk reported dependency problems, not to install.

so baidu, can use tasksel, perform really pop up a graphic after installation tools:

this installation should be OK, but TAB to OK, press ENTER, error:

tasksel aptitude failed (100)

is just another round of rummaging, but the good news is that something is wrong with the source of LINUX.

to view their current source, is a new ali cloud, may be posted online at that time there is a leak. Hurry up and get a new Qing Hua.

command-line switch:

CD/etc/apt/

vi sources.list

delete all content

copy and paste:

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

and tasksel will be running again. It’s like seeing the light of day again and tears running down my face.

Read More: