MX doesn't boot after installing Github CLI (gh) through .deb package

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
painEnjoyer
Posts: 2
Joined: Sat May 31, 2025 11:15 am

MX doesn't boot after installing Github CLI (gh) through .deb package

#1 Post by painEnjoyer »

Hi,

I recently seemingly made the big mistake of installing the github cli (gh) through the debian package on the website. This seemingly has completely ruined my MX 23.6 install.

Right now, if I boot normally (using sysvinit) the screen stays totally black after the grub output. If I boot using systemd's init system I at least get a cursor on a black screen.

I already tried to set

Code: Select all

/bin/bash
as the init in bash which launches me into bash and i managed to start sysvinit from there which gets me to the login prompt. From there however I have not been able to get any gui or networking running (I use a ethernet connection). This means I can't fix anything through apt. Is there any way I can save this install? Thanks!

User avatar
siamhie
Global Moderator
Posts: 3337
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

#2 Post by siamhie »

If you can get logged in as your user, you can try removing it.

Code: Select all

sudo apt remove gh


*I just checked our repos and noticed gh is available to install from there.
gh.jpg
You do not have the required permissions to view the files attached to this post.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
dolphin_oracle
Developer
Posts: 22243
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

#3 Post by dolphin_oracle »

the github cli package doesn't really have much to do with the system. so I would look for other possible causes, like incomplete upgrade or a full home partition.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
painEnjoyer
Posts: 2
Joined: Sat May 31, 2025 11:15 am

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

#4 Post by painEnjoyer »

Thanks for your replays. Maybe something else broke the system, installing gh was jus the last thing I did before I noticed that thigns went kinda haywire (certain applications also wouldn't launch). I also upon startup get this message from the init system (I guess) before the login shell shows

Code: Select all

startpar: service(s) returned failure: samba-ad-dc
failed!
Is there any way I can check logs or something to maybe get a clue whats going wrong?

Also just in general, with mx 23.6 how do I launch the gui over the command line when using the command line? Is is still

Code: Select all

startx
with all that wayland stuff?

User avatar
dolphin_oracle
Developer
Posts: 22243
Joined: Sun Dec 16, 2007 12:17 pm

Re: MX doesn't boot after installing Github CLI (gh) through .deb package

#5 Post by dolphin_oracle »

startx would be correct to launch an X session. it won't launch a wayland session.

apt-history (either the command, or via quick-system-info-gui application) may show if some update went haywire.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Bugs and Non-Package Requests Forum”