When I # init 3 for dist-upgrades, my wifi goes down. I've tried various things with nmcli and nmtui to bring it back up, but no luck. Is this a common problem and if so is there an easy fix?
This is on a fresh install using paintitblack Xfce, which comes with NetworkManager.
You don't need changing runlevel for a dist-upügrade.
You can easy stop your $Dm and then do what ever you want.
Hello mithat,
instead of "init 3" you can do:
systemctl stop display-manager.service
Another possibility is dist-upgrading in X11, most team members do it this way since a long time.
You should avoid restarting the systemd-logind or dbus-service.
greetings
musca
Thanks. Two follow up questions:
1. Assuming I have performed systemctl stop display-manager.service should I then systemctl start display-manager.service && exit or init 5 && exit?
2. Should the Siduction Manual be updated to reflect this change?
We will use sddm as an example
================================
ctrl+alt+del
login as root
systemctl stop sddm
apt update && apt dist-upgrade
systemctl start sddm
If a kernel or graphics blob has been installed or updated you can do
systemctl reboot
depends on what has been upgraded... e.g. if there was a new kernel installed, a reboot might also make sense.
Quote from: absolutdepends on what has been upgraded... e.g. if there was a new kernel installed, a reboot might also make sense.
That is true, I just look at that as a "no-brainer", but, something that should have been posted, thank you.
mithat,
to answer your 2nd question:
the siduction manual will be updated at some not too far point in time. Right now under the hood it is more less a construction site.
Dear Users, that being said: either please bear with us at this point or step up and volunteer to get the manual back in shape.
greetz
devil
ctrl+alt+F1
# login as root #
systemctl stop display-manager.service
apt-get update
apt-get dist-upgrade
systemctl start display-manager.service
totally worked for me.
Is there a thread regarding work on the manual? I'm willing to help with it if I stick with this distro.
just a side note... if you are not eager typing the commands for stopping and starting the displays server every time, feel free to define short nice aliases (e.g. in /root/.bashrc file)
e.g., you could try those (self-explanatory) aliases.
obviously, make sure that you do not define aliases that have the same name as existing commands in /usr/bin or /usr/sbin
alias updd='apt update && apt full-upgrade -d'
alias stop_dm='systemctl stop display-manager.service'
alias start_dm='systemctl start display-manager.service'
Quote from: absolut on 2016/03/31, 23:55:04
just a side note... if you are not eager typing the commands for stopping and starting the displays server every time, feel free to define short nice aliases (e.g. in /root/.bashrc file)
For my debian testing and aptosid systems, I wrote a script to encapsulate the whole process and dropped it into /usr/local/sbin.