Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Execution Failure at nala 94% on Debian-Titus BSPWM Branch #106

Open
TechTune-1 opened this issue May 10, 2024 · 8 comments
Open

Comments

@TechTune-1
Copy link

I have an issue with Debian-Titus (bspwm branch). During the execution of the script, the process halted at 94% completion with Nala, and my screen suddenly lost signal. so, I restarted my computer with the power button and ran the script again, it then rebooted and it briefly displayed
“[FAILED] Failed to start polkit.service - Authorization
Manager” before returning me to the terminal interface again.

@blusewill
Copy link
Contributor

Maybe try manually install it? Since that script is kinda outdated?

@TechTune-1
Copy link
Author

Sorry for my late response. I tried to manually install policykit-1 before executing ./install.sh, but that unfortunately did not resolve the issue. My monitor lost signal at the beginning of the script, so I had to reboot my PC again. After executing the script again, I encountered this error:

Error: E: Unable to correct problems, you have held broken packages.
Synchronizing state of lightdm service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable lightdm
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and Default Instance= for
template units). This means they are not meant to be enabled or disabled using systemctl.

I appreciate your help.

@blusewill
Copy link
Contributor

You should install some polkit manager service such as gnome-keyring I think.
That should resolved the issue

@TechTune-1
Copy link
Author

I tried to manually install lxpolkit and gnome-keyring before running the script but the error persists. When I executed sudo lightdm, I got the login screen, but after entering my credentials, it didn’t bring me to the desktop. After logging In a few times, the system froze.

@crazycheetah42
Copy link

Is this on a system you already have data on? Because you might have to reinstall Debian and run the script from a fresh install.
Or you can remove polkit and then try running the script to see if it installs?

@TechTune-1
Copy link
Author

No, this is happening on a fresh system. I managed to resolve the issue where Nala couldn’t install packages.

# Essential Programs
essential_programs=(feh bspwm sxhkd kitty arandr rofi polybar picom thunar gvfs lxpolkit x11-xserver-utils unzip yad wget pulseaudio pavucontrol gnome-keyring accountsservice lightdm neovim)
# Other less important Programs
other_programs=(lxappearance papirus-icon-theme fastfetch flameshot psmisc fonts-noto-color-emoji curl ntfs-3g zoxide)
# Install programs individually
for program in "${essential_programs[@]}" "${other_programs[@]}"; do
  nala install -y "$program" || { echo "Failed to install $program" >&2; exit 1; }
  sleep 1
done

However, I'm now facing an issue where my system radonmly crashes during the installation. This crash also seems to occur when launching other graphical applications from the TTY, for example, with xinit. After logging in, the issue no longer seems to persist.

@crazycheetah42
Copy link

That's weird but where did you get the code you posted? Doesn't seem to be in the install script.

@TechTune-1
Copy link
Author

After i got an error from Nala, I modified the installation script to loop through and install each package individually, which resolved that issue. Unfortunately, My system still crashes. I checked the logs using both dmesg and journalctl, and I also installed kdump, but none of them provided any useful information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants