Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

no GUI after dist-upgrade from stable to testing [solved]

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
secipolla
Posts: 1127
Joined: 2010-06-21 14:20

Re: upgrade to wheezy

#21 Post by secipolla »

linux001 wrote:I did finally get the output of apt-get dist-upgrade posted here:

http://sprunge.us/gAhR

Any suggestions based on these error messages? I get the same results when using the -f flag.
I didn't read the older posts but did you run
apt-get -f install
?
or else run
aptitude full-upgrade
instead of apt-get and it should offer you some solutions
(note that those errors during upgrading may be due to you having some package(s) on hold, make sure everything is 'normal')

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#22 Post by linux001 »

apt-get -f install gave the same errors as apt-get dist-upgrade and apt-get -f dist-upgrade

aptitude full-upgrade seems to offer a solution. It produced hundreds of lines of output and asked me if I would like to proceed. Before I proceed, could you please verify that my sources.list file looks ok?

http://sprunge.us/JaGK

According to this guide, testing does not receive security updates. I interpret this to mean that the following line should be omitted:
deb http://security.debian.org/ <version>/updates main contrib non-free

Also, the squeeze-updates / wheezy-updates line ("volatile") must be omitted? Thank you.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: upgrade to wheezy

#23 Post by dilberts_left_nut »

Unsure of the details for security or volatile wheezy repo's, but just use the one you have until you are sorted, one problem at a time.

It looks very much like you have not done 'aptitude update' to update your package lists, or fetching them has failed.
AdrianTM wrote:There's no hacker in my grandma...

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#24 Post by linux001 »

I completed aptitude full-upgrade. How do I undo the single user lock to try if the GUI works? Thanks.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: upgrade to wheezy

#25 Post by dilberts_left_nut »

linux001 wrote:I completed aptitude full-upgrade. How do I undo the single user lock to try if the GUI works? Thanks.
So updating the package list solved the problem?

Code: Select all

update-rc.d gdm3 enable
AdrianTM wrote:There's no hacker in my grandma...

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#26 Post by linux001 »

I'm not sure yet, there were lots of error messages during the upgrade, but I will see if the GUI works.

Thanks for the command. I was debating between the following two:
update-rc.d gdm3 defaults
update-rc.d gdm3 enable

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: upgrade to wheezy

#27 Post by dilberts_left_nut »

Actually I've never used those commands much so I would do what the manual says rather than relying on my memory ... :)
AdrianTM wrote:There's no hacker in my grandma...

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#28 Post by linux001 »

Thanks. After issuing those commands, I was told that dependency based boot sequencing was in effect. But after rebooting the computer, nothing happened. Is there something else I could try?

secipolla
Posts: 1127
Joined: 2010-06-21 14:20

Re: upgrade to wheezy

#29 Post by secipolla »

Did you search this forum for similar situations (no keyboard response)?
I think other people had this kind of problems.

The only time I think I had something similar (I use sid since the installation) was when udev had a bug and we had to delete /run, but that was quite a while ago and udev has been upgraded a lot since then.

If it's something related with the video driver, you could try appending nomodeset to GRUB's boot line but then it's better if you say (if you didn't already) something about the hardware.

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#30 Post by linux001 »

linux001 wrote:Here, by the way, is a copy of my lspci dump:

Code: Select all

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
03:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
Thanks secipolla. Here is a copy of my hardware (lspci). I will look around the forums for similar issues.

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#31 Post by linux001 »

Hello. I enabled boot logging by bootlogd and this is the content of /var/log/boot

Code: Select all

Tue Jan 31 17:37:25 2012: Setting parameters of disc: (none).
Tue Jan 31 17:37:25 2012: Setting preliminary keymap...done.
Tue Jan 31 17:37:25 2012: Activating swap...done.
Tue Jan 31 17:37:25 2012: Checking root file system...fsck from util-linux 2.20.1
Tue Jan 31 17:37:25 2012: /dev/sda5: clean, 324118/3055616 files, 4060080/12206848 blocks
Tue Jan 31 17:37:25 2012: done.
Tue Jan 31 17:37:25 2012: Loading kernel modules...done.
Tue Jan 31 17:37:25 2012: Activating lvm and md swap...done.
Tue Jan 31 17:37:25 2012: Checking file systems...fsck from util-linux 2.20.1
Tue Jan 31 17:37:25 2012: done.
Tue Jan 31 17:37:25 2012: Mounting local filesystems...done.
Tue Jan 31 17:37:25 2012: Activating swapfile swap...done.
Tue Jan 31 17:37:25 2012: Cleaning up temporary files....
Tue Jan 31 17:37:25 2012: Setting kernel variables ...done.
Tue Jan 31 17:37:25 2012: Cleaning up ifupdown....
Tue Jan 31 17:37:25 2012: Setting up networking....
Tue Jan 31 17:37:25 2012: Configuring network interfaces...done.
Tue Jan 31 17:37:25 2012: Starting portmap daemon....
Tue Jan 31 17:37:25 2012: Cleaning up temporary files....
Tue Jan 31 17:37:25 2012: Setting up ALSA...done.
Tue Jan 31 17:37:25 2012: Setting console screen modes.
Tue Jan 31 17:37:25 2012: ^[[9;30]^[[14;30]Skipping font and keymap setup (handled by console-setup).
Tue Jan 31 17:37:25 2012: Setting up console font and keymap...done.
Tue Jan 31 17:37:25 2012: Setting sensors limits.
Tue Jan 31 17:37:25 2012: INIT: Entering runlevel: 2
Tue Jan 31 17:37:25 2012: Using makefile-style concurrent boot in runlevel 2.
Tue Jan 31 17:37:25 2012: Starting portmap daemon...Already running..
Tue Jan 31 17:37:25 2012: Enabling additional executable binary formats: binfmt-support.
Tue Jan 31 17:37:25 2012: Starting enhanced syslogd: rsyslogd.
Tue Jan 31 17:37:25 2012: Enabling power management...done.
Tue Jan 31 17:37:25 2012: PulseAudio configured for per-user sessions ... ^[[33m(warning).^[[39;49m
Tue Jan 31 17:37:25 2012: Starting deferred execution scheduler: atd.
Tue Jan 31 17:37:25 2012: Starting anac(h)ronistic cron: anacron.
Tue Jan 31 17:37:25 2012: Starting periodic command scheduler: cron.
Tue Jan 31 17:37:25 2012: Starting system message bus: dbus.
Tue Jan 31 17:37:25 2012: Loading cpufreq kernel modules...done (acpi-cpufreq).
Tue Jan 31 17:37:25 2012: CPUFreq Utilities: Setting ondemand CPUFreq governor...CPU0...CPU1...CPU2...CPU3...done.
Tue Jan 31 17:37:25 2012: Starting network connection manager: NetworkManager.
Tue Jan 31 17:37:25 2012: Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Tue Jan 31 17:37:25 2012: Starting bluetooth: bluetoothd.
Tue Jan 31 17:37:25 2012: saned disabled; edit /etc/default/saned
Tue Jan 31 17:37:26 2012: Starting MTA: exim4.
Tue Jan 31 17:37:26 2012: Starting ACPI services....
Tue Jan 31 17:37:26 2012: Starting Common Unix Printing System: cupsd.
Tue Jan 31 17:37:26 2012: Starting acpi_fakekey daemon...done.
Everything seems to be ok. There are some other messages that didn't get logged. I will copy these down manually by pausing the output. I will also try manually starting GNOME by issuing sudo /etc/init.d/gdm start. Please let me know if there are any other suggestions on how to get out of the console.

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#32 Post by linux001 »

Here are the unlogged boot messages:

Code: Select all

modprobe: module unix not found in modules.dep
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated... [     4.085842] [drm:ironlake_update_pch_refclk] *ERROR* enabling SSC on PCH

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: upgrade to wheezy

#33 Post by linux001 »

Results of the following commands:

Code: Select all

# /etc/init.d/gdm start
  No such file or directory
# /etc/init.d/gdm3 start
# /etc/init.d/gdm3 restart
Nothing happened when the last two commands were executed.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: no GUI after dist-upgrade from stable to testing/wheezy

#34 Post by Bulkley »

I wonder if your upgrade removed a pile of stuff such as GDM. Try startx.

If I'm right - and there's no reason why I should be - you could treat this as a minimal install and start installing packages or meta-packages one at a time to see what builds up. Start with the kernel linux-image-3.1.0-1. Boot and make sure it works. Then xorg. Test it. Then your desktop or window manager. Again, test it. Assuming that your sources are good I would expect Apt to sort out the pieces.

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: no GUI after dist-upgrade from stable to testing/wheezy

#35 Post by linux001 »

Thanks Bulkley -- startx worked! How to I instruct the GUI to start by default?

Earlier, I issued the command update-rc.d gdm3 disable in order to enter single user mode, so this may be the reason the GUI is not starting by default. I have tried reversing this command with update-rc.d gdm3 enable and update-rc.d gdm3 defaults, and these commands indicate to me that dependent boot sequencing is in effect, but I still have nothing but a console on reboot.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: no GUI after dist-upgrade from stable to testing/wheezy

#36 Post by dilberts_left_nut »

There's probably a method in the FM, or somebody else here that knows, but quick & dirty is

Code: Select all

apt-get remove --purge gdm3
aptitude install gdm3
apt-get because aptitude will remove the (many) rdepends as well, apt-get will wait for an autoremove command.
--purge removes the config & aptitude will reinstall it as standard.

Check man apt-get if you like, as again this is all from memory and the apt-get syntax may have changed since last I took notice.

YMMV :)
AdrianTM wrote:There's no hacker in my grandma...

User avatar
sqlpython
Posts: 214
Joined: 2008-09-05 01:36
Location: USA

Re: no GUI after dist-upgrade from stable to testing/wheezy

#37 Post by sqlpython »

Yes, per dilbert* that should insure that gdm3 resides in /etc/init.d/
..If this again does not start gdm3 on boot....
try this once

Code: Select all

su
service gdm3 start
then shutdown and start up..
Criticism accepted for solutions that work! ;^)

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: no GUI after dist-upgrade from stable to testing/wheezy

#38 Post by linux001 »

sqlpython:

`service gdm3 start` had no effect, but thanks for the suggestion

dilbert:

`apt-get remove --purge gdm3` -- after a reboot, I could still run GNOME by typing `startx` on boot (confused). I will run aptitude install gdm3 anyways.. thanks

linux001
Posts: 122
Joined: 2011-11-04 10:09

Re: no GUI after dist-upgrade from stable to testing/wheezy

#39 Post by linux001 »

dilberts_left_nut wrote:There's probably a method in the FM, or somebody else here that knows, but quick & dirty is

Code: Select all

apt-get remove --purge gdm3
aptitude install gdm3
Problem resolved! Debian up and running again =D Thanks so much Dilbert and to everyone else for their help.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: no GUI after dist-upgrade from stable to testing/wheezy

#40 Post by dilberts_left_nut »

That is expected, gdm3 is the display manager, that (among other things) gives a graphical login box, then starts the window manager (similar to you typing startx).
It is not required to have a DM to run a gui environment, but most find it convenient.

edit: nice!
lesson to learn from this: make sure your system is in a coherent state and sources are set appropriately BEFORE doing a dist-upgrade :)
... in fact I think it even says that in the instructions ... :lol:
Last edited by dilberts_left_nut on 2012-02-01 05:54, edited 2 times in total.
AdrianTM wrote:There's no hacker in my grandma...

Post Reply