Running Virtualbox 7.0.4 with Ubuntu 18.04.3 LTS, kernel 5.3.0-26 (school project, may not be upgraded from 18.04). It shows purple screen for a few seconds before booting into terminal.
I've tried following others solutions, sudo apt-get udpate && sudo apt-get upgrade
gives me 0 changes. Done sudo apt-get autoremove
and sudo apt-get clean
.
sudo apt-get install --reinstall ubuntu-desktop
gives me
Package ubuntu-desktop is not available, but is reterred to by another package.
This may mean that the package is missine, has been obsoleted, or
is only available from another
sOUrCE
E: Package
*ubuntu-desktop' has no installation candidate
What would my next step be, apart from fully reinstalling Ubuntu?
Edit 26/1 11.18: Trying sudo apt-get install xubuntu-desktop
gives me a long list of
"Depends: xxx but it is not installable" and
"Depends: is not going to be installed", and also
"Recommends: xxx but is not going to be installed/is not installable" followed by
"Unable to correct problems, you have held broken packages".
Edit 26/1 13.55: @nobody gave me a link to restore default repos in /etc/apt/sources.list.
While I still can't install ubuntu-desktop
, I finally managed to install xubuntu-desktop
. After that I just recovered some files I wanted and recovered from a snapshot. While my main problem didn't get a solution, this is "good enough" for now. I have a snapshot before recovering and would love to test more solutions.
sudo apt update
& read the messages; are they all there? are there any warnings? errors? as your system is dated – guiverc Jan 26 '23 at 10:06sudo apt update
gives"Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 htto://archive.camonical.com/ubuntu bionic Infelease Reading package lists... Done Building dependency tree Reading state information.. . Done
All packages are up to date"
– Jackiie Jan 26 '23 at 10:09update
andupgrade
. Still get: "ubuntu-desktop :Depends: gdm3 but it is not goine to be installed Same with gnome-control-center, gnome-settines-daemon, gnome-shell, nautilus, ubuntu-session Recommends: enome-initial-setup but it is not going to be installed, same with nautilus-share. Also broken packages. – Jackiie Jan 26 '23 at 11:22