[SOLVED] Upgrade to Buster Debian 10 Broke Login GUI

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
stevedude
Posts: 68
Joined: Sat Aug 11, 2018 8:19 pm

[SOLVED] Upgrade to Buster Debian 10 Broke Login GUI

#1 Post by stevedude »

I received a notification to upgrade with the MX Updater, I provided the password and the upgrade commenced.

Enclosed are pics of my inxi:

Image
Image

I've been using MX Linux for almost a year now, but this is the first major upgrade I've had so I am not really sure what happened. The upgrade seemed to go well, but it left me at the TTY terminal screen that I can log into.

I typically use NVidia proprietary drivers.

This is what I have done do far:

Code: Select all

sudo apt --fix-broken install

This seemed to try to reinstall some packages. The output was scrolling pretty fast, but I did see this error: "Unable to initialize frontend: Gnome

I also use lightdm as my login screen

That's all I have - Hopefully its enough to get the ball rolling. If there are tips that involve editing files, please include instructions on how to do that. I typically am used to a gui text editor.

Thanks in advance
Last edited by stevedude on Mon Jul 08, 2019 5:36 pm, edited 1 time in total.
OS:MX-19.2_x64|Kernel:4.15.0-1-amd64 x86_64|Xfce 4.14.2|Mobo:TUF X470-PLUS|CPU AMD Ryzen 5, 2600 MHz
Graphics:GeForce GTX 1060,driver:nvidia v:390.77|Audio:NVIDIA snd_hda_intel
Netwrk:Realtek RTL8111|Seagate:ST2000DM006, 1.82 TB|Mem:15.6 GB

User avatar
manyroads
Posts: 2624
Joined: Sat Jun 30, 2018 6:33 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#2 Post by manyroads »

Debian10 is not available on MX or antiX yet. It was not in any update.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

teddyk67
Posts: 35
Joined: Sun May 12, 2019 4:50 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#3 Post by teddyk67 »

I only had 3 updates, none of them related to Debian 10.

I think the OP activated some kind of Buster repo and downloaded updates pertaining to Buster.

User avatar
manyroads
Posts: 2624
Joined: Sat Jun 30, 2018 6:33 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#4 Post by manyroads »

teddyk67 wrote: Sun Jul 07, 2019 8:49 pm I only had 3 updates, none of them related to Debian 10.

I think the OP activated some kind of Buster repo and downloaded updates pertaining to Buster.
Well... then... I guess he "gets to keep all the pieces".
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Upgrade to Buster Debian 10 Broke Login GUI

#5 Post by JayM »

@stevedude, can you run inxi -r and post a picture of the results? Also, var/log/apt/history.log?

The only recent updates that I've received in the past few days are for mx-packageinstaller, mx-installer, palemoon and mx-snapshot, none of which have anything to do with logging in or starting lightdm or X11. However, I don't know if there were any nvidia-related updates as I have a radeon gpu.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
fehlix
Developer
Posts: 10383
Joined: Wed Apr 11, 2018 5:09 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#6 Post by fehlix »

stevedude wrote: Sun Jul 07, 2019 7:46 pm I received a notification to upgrade with the MX Updater, I provided the password and the upgrade commenced.
Would this provide any output:

Code: Select all

cat /etc/apt/sources.list.d/*.list | grep debian | grep stable
If yes, apt might have buster updates installed, which might not work in stretch based MX 18.
EDIT: Because buster is now stable since July 7th 2019.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
stevedude
Posts: 68
Joined: Sat Aug 11, 2018 8:19 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#7 Post by stevedude »

Last post for this evening - Will post other requests tomorrow, but this is what I am looking at: 1,950 Updates [refer to pic below]

Image

Mx Updater readout:

https://pastebin.com/raw/tzTnQzds
OS:MX-19.2_x64|Kernel:4.15.0-1-amd64 x86_64|Xfce 4.14.2|Mobo:TUF X470-PLUS|CPU AMD Ryzen 5, 2600 MHz
Graphics:GeForce GTX 1060,driver:nvidia v:390.77|Audio:NVIDIA snd_hda_intel
Netwrk:Realtek RTL8111|Seagate:ST2000DM006, 1.82 TB|Mem:15.6 GB

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Upgrade to Buster Debian 10 Broke Login GUI

#8 Post by JayM »

stevedude wrote: Sun Jul 07, 2019 10:34 pm Last post for this evening - Will post other requests tomorrow, but this is what I am looking at: 1,950 Updates [refer to pic below]

Image

Mx Updater readout:

https://pastebin.com/raw/tzTnQzds
Yep, that's what happened. You've somehow enabled the Debian Stable repos rather than Debian Stretch, and when Buster was released yesterday as the new stable branch of Debian it updated everything with Buster packages and prompted autoremoving your Stretch packages, breaking your system. See this post in another, related, thread for more information:
viewtopic.php?p=513818#p513818
At this point you can either boot from a live USB and restore your system from a backup or snapshot made prior to yesterday then fix your repositories, or reinstall from scratch. You can tell the installer to reuse your existing home partition to preserve your data and settings.

Here's what the results from inxi -r should look like (your mirrors may vary):

Code: Select all

Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb https://mirror.pregi.net/mx-linux-packages/antix/stretch/ stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://mirror.pregi.net/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://mirror.pregi.net/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mirror.pregi.net/mx-linux-packages/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Notice that they all say "stretch", not "stable"? The MX devs made them that way on purpose to avoid these kinds of issues whenever Debian releases a new stable version and before MX has updated its version to the new stable, like now.

Protip: whenever you see a huge upgrade like that, hold off running it until you've double-checked your repository settings in MX Repo Manager, especially on the third tab, to make sure you haven't permanently enabled anything that shouldn't be, and if not I'd ask about it in the forum and/or create a snapshot and burn the iso to a USB before allowing the upgrade to run. I did that on my system once when I first began using MX and didn't know any better and had permanently enabled the MX Test repo. There was a huge update and I let it run. Fortunately it didn't break my installation, but IIRC I went ahead and reinstalled MX because I didn't trust it not to cause problems in the future.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Gerson
Posts: 876
Joined: Sun Nov 12, 2017 10:58 am

Re: Upgrade to Buster Debian 10 Broke Login GUI

#9 Post by Gerson »

And what is the eagerness to upgrade to Debian 10? For now MX works well and the developers are already working on it to offer a stable and solid distribution until now. The old saying: "If something works well, leave it as it is."
You do not have the required permissions to view the files attached to this post.
No todos ignoramos las mismas cosas. :confused:

User avatar
rasat
Posts: 644
Joined: Tue Dec 19, 2017 1:19 pm

Re: Upgrade to Buster Debian 10 Broke Login GUI

#10 Post by rasat »

To upgrade stretch to buster, is to reinstall packages which are removed in the process, BEFORE logout. In the upgrade systemd-shim, lightdm, network-manager, synaptic, etc. are removed. It breaks whole system. Don't feel bad, this what I also did last January. In my next round of upgrade, success. :)

Next time, first check or ask in forum.

Post Reply

Return to “MX Help”