Failed to start default target: Transaction for.graphical.target/start is destructive

SAM*_*JA 4 command-line nvidia graphics drivers

I have installed Nvidia drivers then I restarted the laptop. When I typed exit on root@name:~# terminal, the following message appears in red:

\n
Failed to start default target: Transaction for.graphical.target/start is destructive (emergency.target has \xe2\x80\x98start\xe2\x80\x99 job queued, but \xe2\x80\x98stop\xe2\x80\x99 is included in transaction)\n
Run Code Online (Sandbox Code Playgroud)\n

显示错误消息的屏幕截图

\n

Can I downgrade to default graphics drivers using the terminal?

\n

小智 12

这对你来说可能已经太晚了,但我刚刚帮助一个朋友解决了同样的问题。解决方案很简单。这与无法安装磁盘有关。

特别是在您的情况下,查看您包含的图像,我看不到它打印出来的第一行,这将很有帮助 - 它告诉您哪个磁盘无法安装。

就我朋友的情况而言,在该/etc/fstab文件中,有一个外部 USB 硬盘驱动器的额外条目。由于某种原因,系统无法在启动时找到它,并且它导致了您收到的同样严厉的消息。

解决方案只是使用编辑文件sudo nano /etc/fstab并将 a 放在#相关行的开头以防止该行处于活动状态。重新启动,计算机应该可以正常启动。

这整件事发生在将 Kubuntu 20.04 更新到 22.04 时。