DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to upgrade my debian installation. After running apt-get update and apt-get dist-upgrade, it just hangs on this message
176 upgraded, 24 newly installed, 8 to remove and 3 not upgraded.
Need to get 0B/199MB of archives.
After unpacking 7477kB disk space will be freed.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
xserver-xorg config warning: migrating xserver-xfree86 templates to
xserver-xorg.
I have tried this a good few times and left it up to 20 minutes (on a nice fast newish machine). Any ideas whats going on. Top shows that my processor isn;t busy doing anything and no errors are reported. What should I do?
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506
Rep:
Hopefully you're doing the upgrade from console with x off.
Let it run...its just useing the xfree cfg for xorg.
You will most likely need to re-install video drivers after the upgrade to xorg to get back into X.
I had the same problem today after I changed from xf86 to xorg. I should probably update the video driver and try again. Is there an easy way to stop X. Ctr-Alt-Backspace restarts. The way I do it now is to edit the XF86Config file so that no screens can be found and then restart X. this makes X crash and then I can log in without X. There's got to be a smarter way.
E
Start in a different runlevel. Open /etc/inittab. Then one of the first lines is default runlevel. Change the number to 2 that'll start you in the command line. If you want to stop X you can kill your desktop manager. But the best way is using CTRL-ALT-FX. CTRL-ALT-F1 will bring you to a command line. In a default situation CTRL-ALT-F7 will bring you back to the GUI. This might differ though, if you changed the number of virtual terminals starting. So you might have to search with the F keys a bit till you find the proper ones.
Ctr-Alt-F1 to F7 won't shut down the X server. It will still be running in the background. If I want to install nvidia drivers for ex, I need to close X completely. Isn't that correct?
E
You don't need to shutdown X to update anything and the nvidia drivers don't need reinstalled or anything, I did the xfree->xorg migration without restarting anything until after the packages were finished doing their thing.
I'm running kde, so I tried 'kill kdm', but it didn't work. Then I ran top and saw that XFree86 had pid 4344, so I killed it, but it had the same effect as Ctr-Alt-Del. X was restarted. Isn't there an 'init' command that kills X?
E
Originally posted by ebsbel
I'm running kde, so I tried 'kill kdm', but it didn't work. Then I ran top and saw that XFree86 had pid 4344, so I killed it, but it had the same effect as Ctr-Alt-Del. X was restarted. Isn't there an 'init' command that kills X?
E
No, Debian doesn't use a seperate runlevel for X like other distros do. Debian treats the display managers just like any other service, so to stop kdm you would just type '/etc/init.d/kdm stop'.
That did the trick, just killed X and got back by using '/etc/init.d/kdm start'. Just using startx gave me a strange screen resolution. Thanks!
How does it work in other distros? Do you switch to init 3?
E
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.