updating console-setup in X destroys screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: console-setup
I'm on the latest Feisty Fawn, using an x86 pc with nvidia graphics card, and proprietary nvidia driver (1.0.9631).
If I run apt-get update/upgrade under X (in a konsole, or rxvt terminal) and there is a new console-setup package, then when it says
Setting up console-setup (1.13ubuntu9) ...
* Setting up console font and keymap... [ OK ]
it makes the X screen distorted, probably does something with the videocard registers. I have to switch to the virtual terminal and back to X (alt+ctrl+f1 -> alt+f7) to repair that. But I think it can confuse new or inexperienced users.
The solution is maybe to check if X runs, and if it is, then don't start /etc/init.
Hi, d/console- setup contains here (on feisty) :
I cant reproduce this here.
/etc/init.
start| force-reload| restart| reload)
log_ action_ begin_msg "Saving console font and keymap for next boot"
log_action_ end_msg 0
log_action_ end_msg $?
if [ -z "$DISPLAY" ] && ....
...
elif ! run_by_init; then
if setupcon --save-only; then
else
fi
fi
so it does only some saving even with apt-get --reinstall .
Do you have a modified version of that file ?
Or not exported/empty DISPLAY ?
export|grep DISPLAY
declare -x DISPLAY=":0.0"