apt-get install debian-wizard

Insider infos, master your Debian/Ubuntu distribution

  • About
    • About this blog
    • About me
    • My free software history
  • Support my work
  • Get the newsletter
  • More stuff
    • Support Debian Contributors
    • Other sites
      • My company
      • French Blog about Free Software
      • Personal Website (French)
  • Mastering Debian
  • Contributing 101
  • Packaging Tutorials
You are here: Home / News / Debian News / Installing GNOME 3 on Debian 6.0 Squeeze? No, sorry

Installing GNOME 3 on Debian 6.0 Squeeze? No, sorry

June 16, 2011 by Raphaël Hertzog

Ever since I blogged about the status of GNOME 3 in Debian experimental, my web logs show that many people are looking for ways to try out GNOME 3 with Debian Squeeze.

No GNOME 3 for Debian 6.0

Don’t hold your breath, it’s highly unlikely that anyone of the Debian GNOME team will prepare backports of GNOME 3 for Debian 6.0 Squeeze. It’s already difficult enough to do everything right in unstable with a solid upgrade path from the current versions in Squeeze…

But if you are brave enough to want to install GNOME 3 with Debian 6.0 on your machine then I would suggest that you’re the kind of person who should run Debian testing instead (or even Debian unstable, it’s not so horrible). That’s what most people who like to run recent versions of software do.

How to run Debian testing

You’re convinced and want to run Debian testing? It’s really easy, just edit your /etc/apt/sources.list and replace “stable” with “testing”. A complete file could look like this:

# Main repository
deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.debian.org/debian testing main contrib non-free
# Security updates
deb http://security.debian.org/debian-security testing main contrib non-free

Now you should be able to run apt-get dist-upgrade and end up with a testing system.

How to install GNOME 3 on Debian testing aka wheezy

If you want to try GNOME 3 before it has landed in testing, you’ll have to add unstable and experimental to your sources.list:

deb http://ftp.debian.org/debian unstable main contrib non-free
deb http://ftp.debian.org/debian experimental main contrib non-free

You should not install GNOME 3 from experimental if you’re not ready to deal with some problems and glitches. Beware: once you upgraded to GNOME 3 it will be next to impossible to go back to GNOME 2.32 (you can try it, but it’s not officially supported by Debian).

To avoid upgrading all your packages to unstable, you will tell APT to prefer testing with the APT::Default-Release directive:

# cat >/etc/apt/apt.conf.d/local <<END
APT::Default-Release "testing";
END

To allow APT to upgrade the GNOME packages to unstable/experimental, you will also install the following pinning file as /etc/apt/preferences.d/gnome:

Package: *gnome* libglib2.0* *vte* *pulse* *peas* libgtk* *gjs* *gconf* *gstreamer* alacarte *brasero* cheese ekiga empathy* gdm3 gcalctool baobab *gucharmap* gvfs* hamster-applet *nautilus* seahorse* sound-juicer *totem* remmina vino gksu xdg-user-dirs-gtk dmz-cursor-theme eog epiphany* evince* *evolution* file-roller gedit* metacity *mutter* yelp* rhythmbox* banshee* system-config-printer transmission-* tomboy network-manager* libnm-* update-notifier shotwell liferea *software-properties* libunique-3.0-0 libseed-gtk3-0 libnotify* libpanel-applet-4-0 libgdata11 libcamel* libcanberra* libchamplain* libebackend* libebook* libecal* libedata* libegroupwise* libevent* gir1.2-* libxklavier16 python-gmenu libgdict-1.0-6 libgdu-gtk0
Pin: release experimental
Pin-Priority: 990

Package: *gnome* libglib2.0* *vte* *pulse* *peas* libgtk* *gjs* *gconf* *gstreamer* alacarte *brasero* cheese ekiga empathy* gdm3 gcalctool baobab *gucharmap* gvfs* hamster-applet *nautilus* seahorse* sound-juicer *totem* remmina vino gksu xdg-user-dirs-gtk dmz-cursor-theme eog epiphany* evince* *evolution* file-roller gedit* metacity *mutter* yelp* rhythmbox* banshee* system-config-printer transmission-* tomboy network-manager* libnm-* update-notifier shotwell liferea *software-properties* libunique-3.0-0 libseed-gtk3-0 libnotify* libpanel-applet-4-0 libgdata11 libcamel* libcanberra* libchamplain* libebackend* libebook* libecal* libedata* libegroupwise* libevent* gir1.2-* libxklavier16 python-gmenu libgdict-1.0-6 libgdu-gtk0
Pin: release unstable
Pin-Priority: 990

Package: *
Pin: release experimental
Pin-Priority: 150

Note that I used “Pin-Priority: 990” this time (while I used 500 in the article explaining how to install GNOME 3 on top of unstable), that’s because you want these packages to have the same priority than those of testing, and they have a priority of 990 instead of 500 due to the APT::Default-Release setting.

You’re done, your next dist-upgrade should install GNOME 3. It will pull a bunch of packages from unstable too but that’s expected since the packages required by GNOME 3 are spread between unstable and experimental.

If you want to read more articles like this one, click here to subscribe to my free newsletter. You can also follow me on Identi.ca, Twitter and Facebook.

Filed Under: Debian News, News Tagged With: Debian, GNOME, pkg-gnome

Comments

  1. Marcus says

    June 16, 2011 at 11:57 am

    It seems libpulse is broken in experimental right now (at least it fails to install in my sid with experimental VM).

    • Raphaël Hertzog says

      June 16, 2011 at 2:52 pm

      What’s the problem you saw? I have the latest libpulse0 on my i386 installation so it worked for me at some point. But maybe something else changed since then.

    • Raphaël Hertzog says

      June 16, 2011 at 3:31 pm

      So you’re right, the problem is already reported: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624847 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629394

      Hopefully a fixed version will be uploaded soon.

      • Raphaël Hertzog says

        June 17, 2011 at 10:23 am

        That said, in the mean time you can get the missing libcxb1 package from Squeeze (and since I have squeeze in my sources.list it got automatically picked).

        • Marcus says

          June 17, 2011 at 12:33 pm

          That worked well, thanks!

          However, there seems to be some issue with VirtualBox. My VM randomly crashes when launching gnome-shell (and f.ex. glxgears).
          Some times the session starts (but in fallback mode).

          I see this in .xsession-errors:
          gnome-session-is-accelerated: GL_MAX_TEXTURE_SIZE is too small.

          I tried it both on my desktop with nouveau and the laptop with intel, so I assume it’s a VB issue…

          • Raphaël Hertzog says

            June 17, 2011 at 2:17 pm

            The .xsession-errors is in the VM or in the host?

            Did you try tweaking (increasing?) the amount of RAM allocated for the virtual video card?

          • Marcus says

            June 17, 2011 at 4:02 pm

            It’s in the VM. And I increaded the allocated video RAM to 128 MB.

  2. Anonymous says

    June 17, 2011 at 12:09 am

    Note that unstable does occasionally break entire systems. The recent issues with /run breaking udev (breaking the boot), and the bug in glibc which caused /lib64 to disappear (breaking all dynamically linked programs) required some careful rescuing to recover from. I wouldn’t recommend unstable to anyone who can’t recover from such situations. Testing, on the other hand, has issues that severe filtered out by those of us who run unstable. 🙂

  3. Diego says

    June 17, 2011 at 6:51 pm

    Guess that there is no way to test GNOME 3 while keeping 2.32 installed and untouched? Back when KDE4 first came out packages were available to install under /opt and thus did not disrupt 3.5..

    Perhaps its not a priority for the packagers

    • Raphaël Hertzog says

      June 17, 2011 at 6:58 pm

      Indeed, I don’t know of any such packages.

    • Jozo Hovan says

      June 22, 2011 at 9:00 am

      I have tested gnome3 environment using schroot – it was quite sufficient

  4. Pavlo Rudyj says

    June 17, 2011 at 7:06 pm

    In this time the package gnome-session and gnome-session-fallback has breaking depends:
    gnome-settings-daemon depends libgnults (>=2.11.7-0)

    • Raphaël Hertzog says

      June 18, 2011 at 8:11 am

      This seems to be an amd64 specific problem probably because the uploader built it against experimental. Add libgnutls26 to the pinning file and you’ll be fine (i.e. you should allow apt to pick up the libgnutls26 from experimental which satisfies this dependency).

      • Pavlo Rudyj says

        June 18, 2011 at 8:38 am

        Sorry, this problem is fixed today in repository 🙂

  5. TeddyB says

    June 23, 2011 at 1:53 pm

    So does this mean that Gnome3 isn’t really “Made Of Easy”? LOL

  6. reves says

    June 30, 2011 at 6:04 am

    awesome guide mate. thank you.

    nothing like living dangerously 😉

  7. poinck says

    July 15, 2011 at 11:23 pm

    I have following error after running “apt-get update” as root
    E: Syntaxfehler /etc/apt/apt.conf.d/local:4: Zusätzlicher Unsinn am Dateiende

    What can I do? This is the content of “/etc/apt/apt.conf.d/local” is:
    APT::Default-Release “testing”;
    END

    • Raphaël Hertzog says

      July 16, 2011 at 9:04 am

      Remove the “END”, it’s not meant to be part of that file.

      • poinck says

        July 16, 2011 at 4:02 pm

        Thank you, that worked. (o:

        Now, I have a different issue. I could’ve something to do with the fact that I am running this in virtual box. GDM3 works fine, after logging in I only see the desktop-background abnd the desktopf-switcher, if I use them.

        Maybe I am missing some packages in the APT pinning. I head to force a the version from testing for gnome-session-deamon, but “apt-get disk-upgrade” wants to install it. Luckily I have a snapshot before updating anything and can try it again to make it right

  8. Sebastian says

    August 28, 2011 at 6:20 pm

    Hi, thanks for your tips,.

    So, When we will have gnome 3 for debian 6 ?

    thanks a lot

  9. vangelis (gnugr) says

    January 6, 2012 at 7:04 pm

    Raphael hi,
    I did as you suggest but with “apt-cahe policy gnome3-session” not exists, just “gnome-session”
    i.e. i’m with linux-image-3.2.0-rc7-486

  10. fighter says

    January 20, 2012 at 4:25 pm

    Hi,
    I tried to update my Wheezy to Gnome 3.2, but
    apt-get update
    apt-get dist-upgrade
    apt-get upgrade
    is not installing gnome-shell, only other programs
    sources.list:
    deb http://ftp.at.debian.org/debian/ wheezy main contrib non-free
    deb-src http://ftp.at.debian.org/debian/ wheezy main contrib non-free
    deb http://security.debian.org/ wheezy/updates main
    deb-src http://security.debian.org/ wheezy/updates main
    deb http://ftp.debian.org/debian unstable main contrib non-free
    deb http://ftp.debian.org/debian experimental main contrib non-free

    apt.conf.d/local:
    APT::Default-Release “testing”;

    apt.conf.d/local
    APT::Default-Release “testing”;

Trackbacks

  1. Fly Paper - Gnome 3 on Linux Mint 11 (Katya) - Part 1 says:
    July 6, 2011 at 9:40 pm

    […] as is in case something bad happened.This turned out to be a good idea.I searched around and found this handy post by Raphael Hertzog providing instructions on how to install Gnome 3 on Debian Testing […]

Get the Debian Handbook

Available as paperback and as ebook.
Book cover

Email newsletter

Get updates and exclusive content by email, join the Debian Supporters Guild:

Follow me

  • Email
  • Facebook
  • GitHub
  • RSS
  • Twitter

Discover my French books

Planets

  • Planet Debian

Archives

I write software, books and documentation. I'm a Debian developer since 1998 and run my own company. I want to share my passion and knowledge of the Debian ecosystem. Read More…

Tags

3.0 (quilt) Activity summary APT aptitude Blog Book Cleanup conffile Contributing CUT d-i Debconf Debian Debian France Debian Handbook Debian Live Distro Tracker dpkg dpkg-source Flattr Flattr FOSS Freexian Funding Git GNOME GSOC HOWTO Interview LTS Me Multiarch nautilus-dropbox News Packaging pkg-security Programming PTS publican python-django Reference release rolling synaptic Ubuntu WordPress

Recent Posts

  • Freexian is looking to expand its team with more Debian contributors
  • Freexian’s report about Debian Long Term Support, July 2022
  • Freexian’s report about Debian Long Term Support, June 2022
  • Freexian’s report about Debian Long Term Support, May 2022
  • Freexian’s report about Debian Long Term Support, April 2022

Copyright © 2005-2021 Raphaël Hertzog