Score:0

Unable to startx; Unable to reinstall Xorg

pl flag

I'm running XUbuntu 20.04 and I am unable to get a GUI. Booting to terminal I run startx and I am presented with the following: /etc/X11/xinit/xerverrc: 3: exec: /usr/bin/x: not found. This seems to indicate Xorg is not installed and searching through questions on here reinforces that. Running sudo apt install xorg results in the following:

$ sudo apt install xorg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 xorg : Depends: xserver-xorg (>= 1:7.7+19ubuntu14) but it is not going to be installed
        Depends: libgl1-mesa-glx but it is not going to be installed or
                 libgl1 but it is not going to be installed
        Depends: libgl1-mesa-dri but it is not going to be installed
        Depends: libglu1-mesa but it is not going to be installed
        Depends: x11-utils but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Attempting to run sudo apt install --fix-broken results in 0 packages being upgraded, installed, or removed. I have tried installing the individual packages like xserver-xorg but it just becomes a circular problem of each package having unmet dependencies and I cannot get it installed. I am unsure where to take this problem next to diagnose and solve. Most solutions on here for not getting xorg to start revolve around reinstalling xorg but in my situation apt can't resolve all the dependencies to reinstall it.

pl flag
Why yes, that did work! I wouldn't have guessed reverting the repo list back would fix it. Thanks!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.