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 / Documentation / How Ubuntu builds up on Debian

How Ubuntu builds up on Debian

November 22, 2010 by Raphaël Hertzog

I have been asked how Ubuntu relates to Debian, and how packages flow from one to the other. So here’s my attempt at clarifying the whole picture.

Where do the packages come from?

Most packages are created by Debian contributors and they are uploaded in Debian unstable (or Debian experimental). New packages are reviewed by the Debian ftpmasters before being accepted in the official archive. The packages are held in the NEW queue until the review is over, and the time spent there varies between a few hours and a few months (usually they are processed within one week or two).

Ubuntu imports all the official Debian packages, but they also add some packages of their own. About 7% of the Ubuntu packages are third-party software that have been packaged for Ubuntu but not for Debian.

What are the changes made by Ubuntu?

From all the source packages coming from Debian, 17% have additional changes made by Ubuntu. Many of them are part of the “main” repository, which is actively maintained by Canonical and Ubuntu core developers. The “universe” repository is usually closer to the official Debian packages.

Many of the changes made by Ubuntu are the results of the decisions taken during the Ubuntu Developer Summit in order to reach specific goals: provide a better user interface, offer faster boot times, become a better platform for third-party software developers, offer a good integration with their online services (Launchpad, Ubuntu One), etc. Other changes are simply the result of fixing bugs reported by Ubuntu users.

Note that even non-modified source packages will result in different binary packages for Ubuntu. That’s because Ubuntu has made changes to the build environment. They only support Intel-based computers with a 686-class (or newer) CPU, they enable some compiler options that Debian doesn’t, etc. And all binary packages are modified by a program called pkgbinarymangler.

Ubuntu’s release cycle and the relation with Debian

Ubuntu releases every 6 months (that’s what time based releases is about). Debian has a very different schedule. How does Ubuntu manage to reuse Debian’s work?

Ubuntu imports packages from Debian unstable (even experimental sometimes) to get the newest packages. If the Ubuntu package already has Ubuntu-specific changes, they merge their changes in the updated Debian package. Otherwise the Debian package is simply grabbed and rebuilt in Ubuntu. This works well because Debian unstable is much more usable than the name suggests. And this process only goes on during the first 2 months of the cycle (until the Debian Import Freeze), so there’s plenty of time afterward to fix the biggest problems.

In the third and fourth month, it’s still possible to pick updated packages from Debian but it must be requested by a developer, it won’t be done automatically. At the end of the fourth month, the feature freeze is put in place.

The 2 months left are dedicated to bug fixing and polishing the distribution. There are various sub-freezes that happen in this period, you can check the Natty release schedule as an example. Picking updated packages from Debian is now the exception, it will only be allowed if the update on the Debian side is a bug-fix only release.

Credits: some figures taken from a talk of Lucas Nussbaum, they were collected based on the packages available in the Lucid Lynx release of Ubuntu.

Click here to subscribe to my newsletter and get my monthly update on what’s going on in Debian and Ubuntu.

Filed Under: Documentation, User Documentation Tagged With: Debian, experimental, Freeze, Introduction, release, Ubuntu, unstable

Comments

  1. Tshepang Lekhonkhobe says

    November 22, 2010 at 6:17 pm

    Good work, thanks. I like especially the numbers you give (7% & 17%). How do you calculate that?

    • Raphaël Hertzog says

      November 22, 2010 at 10:18 pm

      Those numbers were calculated by Lucas Nussbaum (see the link in the “Credits” at the end). The 17% is easy to find out, take common packages between Debian and Ubuntu and count those which have a version ending in ubuntuX. The 7% corresponds to source packages available in ubuntu but not in Debian.

      You can ask him more details if you want. He probably used multidistrotools for some of those tasks. https://launchpad.net/multidistrotools

  2. alex says

    November 22, 2010 at 6:50 pm

    “Ubuntu imports packages from Debian unstable…” this is for non-LTS releases. LTS releases uses testing repository which is less-buggy.

    • Raphaël Hertzog says

      November 22, 2010 at 10:13 pm

      Alex, I hesitated to mention it, it happened only once IIRC for Lucid, it was a sort of experiment and the results were mixed. So I’m not sure it counts as a rule already…

  3. Jonathan Carter says

    November 22, 2010 at 10:14 pm

    “They only support Intel-based computers with a 686-class (or newer) CPU”

    Ubuntu supports ARM as well.

    • Raphaël Hertzog says

      November 22, 2010 at 10:20 pm

      Hi Jonathan, true. But I was pointing out that for Ubuntu “i386 = 686 and newer” and for Debian “i386 = 486 and newer”. I was not comparing the set of architectures supported but rather a different choice for a common architecture.

      • TheGZeus says

        November 23, 2010 at 1:17 am

        The part that I find odd about Ubuntu’s decision is no qualitative difference has been shown between compiling for 686 vs 486.
        Some programs perform _worse_.

        So all it seems to do is edge-out corner-cases.
        For instance:
        Someone with an old computer they’d like to make into a router, and use the same base as their desktop (Ubuntu in this case). They have to use debian, and there are enough differences that I’d just recommend buying a router or learning a BSD.
        There are still some ruggedised fanless embedded systems that run 486. Granted, there are Atom systems that will give better performance-per-watt, and better performance in general, but they’ve had less time to be vetted as reliable enough for some situations (factory floor stuff, generally).

        Meh. I guess that _does_ cut out hard-to-support systems/situations. Also cuts out a potential support customer base.

        • intuited says

          November 27, 2010 at 10:57 pm

          It seems like in cases where reliability is a major concern, and using recent feature updates is not, people will want to run Debian anyway, no?

  4. TheGZeus says

    November 23, 2010 at 1:10 am

    “Many of the changes made by Ubuntu are the results of the decisions taken during the Ubuntu Developer Summit in order to reach specific goals: provide a better user interface, offer faster boot times, become a better platform for third-party software developers, offer a good integration with their online services (Launchpad, Ubuntu One), etc. Other changes are simply the result of fixing bugs reported by Ubuntu users.”
    You’ve worked in management before, haven’t you?
    I’m not saying this isn’t true, I’m saying it’s over-flowery and some of the statements are weasel-wordy.
    “platform” …You mean like an operating system?
    “third-party” How does one determine first/second/third-party when it comes to FOSS?
    “offer a good integration” could have been written “integrate well”, but it’s good corporate-speak for everything to ‘offer’ something…

    I’m not saying you’re being misleading, I’m saying you probably picked up a habit from working where they have cubicles.
    I’ve always had a bad reaction to buzzwords (like, they cause my physical pain in my gut)

    • Raphaël Hertzog says

      November 23, 2010 at 2:19 am

      TheGZeus, no I have not worked in management. In fact, I only had a boss for 2 years right after my studies. Ever since I only have customers since I’m an independent and I work at home and not in cubicles. 🙂

      That said I’m not a native speaker and there’s probably room to improve my formulations.

      • TheGZeus says

        November 23, 2010 at 5:47 pm

        Whoa.
        I take it back, sorry. If you’re not a native speaker, then you’re doing _great_ with this friggin’ language. (it’s my first, and my least favourite of those I’ve studied, ((of English, German, Japanese, Mandarin, Spanish and Irish)not that I’m any _good_ at Mandarin or Irish… had few chances to use them(sorry for the lisp-level parenthetical)).
        My guess is you talk to people who have corporate-speak managers, and they instinctively use corporate-speak as polite speech. It was meant to be somewhat tongue-in-cheek, as well. Realise that’s not clear, now.

    • Jesper Poulsen says

      November 27, 2010 at 11:18 pm

      I see Third Party as someone from outside the community, like Google and Mozilla Foundation. They “mass produce” software solutions for a wide range of hard- and software platforms. They are not Ubuntu-only or Debian-only.

  5. Marcelo Lotif says

    November 23, 2010 at 2:45 pm

    Thank you buddy, I’m using Ubuntu (and Linux at all) since 8.04 and I have ever heard about Ubuntu being based on Debian, but never had such tangible explanation as yours.

  6. Dorero says

    November 28, 2010 at 12:09 am

    “provide a better user interface, offer faster boot times, become a better platform for third-party software developers, offer a good integration with their online services (Launchpad, Ubuntu One), etc. Other changes are simply the result of fixing bugs reported by Ubuntu users.”

    I think it’s easy to say that without telling it offers a lot of bugs and instabilities too.
    If Ubuntu is so unstable, it’s only because of those changes.

    Anyway, the article is not bad at all, clear and easy to understand even for newbies. I just have a little problem with the very partial way you wrote it. But, as every linux users, you can’t be impartial 😀

    ps : sorry for my English

  7. Martin says

    November 28, 2010 at 12:03 pm

    Hi! After the fresh install of Debian Lenny my monitor screen displays “frequency out of range”. I found that many people have the same problem with Xorg settings. It`s strange beacouse that works fine on my computer. Is there any solution to fix it? I need X serwer on my machine to set up my internet connection = ADSL neostrada tp.
    Philips 107T4 CRT, AMD Athlon 64 X2 4600+, nVIDIA GeForce GTS 250, 2 GB RAM, 60 GB HD.

    • Raphaël Hertzog says

      November 29, 2010 at 7:59 am

      Martin, I’m afraid you won’t get good support on my blog. Try the debian-user@lists.debian.org mailing list. And try manual configuration of your screen with dpkg-reconfigure xserver-xorg (if you know the frequencies supported).

  8. marcin says

    November 28, 2010 at 2:33 pm

    “Other changes are simply the result of fixing bugs reported by Ubuntu users.”
    Does Ubuntu give bug fixes back to Debian? Is it a noticeable contribution?

    • Raphaël Hertzog says

      November 29, 2010 at 7:58 am

      I wrote a LWN article that answers your question: http://lwn.net/Articles/416667/ (subscriber only until thursday)

      It will be republished in this blog the next week. The answer is “it depends” but yes there are fixes coming back.

Trackbacks

  1. ¿Cómo funciona la integración entre Ubuntu y Debian? | MuyLinux says:
    November 22, 2010 at 5:20 pm

    […] Es lo que trata de explicar Hertzog en su blog, en el que explica cómo se integran ambas distros. Lo que haré es básicamente una traducción del artículo original -es imposible explicarlo mejor que él 🙂 -, que en cualquier caso podéis consultar aquí. […]

  2. How Ubuntu builds up on Debian | Debian-News.net - Your one stop for news about Debian says:
    November 22, 2010 at 9:28 pm

    […] I have been asked how Ubuntu relates to Debian, and how packages flow from one to the other. So here’s my attempt at clarifying the whole picture. More here […]

  3. Ubuntu je z 93 % stále Debian (Debian-linux.cz) says:
    November 23, 2010 at 9:38 am

    […] Hertzog na svém blogu zmínil několik zajímavých čísel týkajících se vývoje Ubuntu. Vývojáři této distribuce přebírají všechny balíčky z […]

  4. Linux Blog » Blog Archive » Ubuntu je z 93 % stále Debian says:
    November 23, 2010 at 2:28 pm

    […] Hertzog na svém blogu zmínil několik zajímavých čísel týkajících se vývoje Ubuntu. Vývojáři této distribuce přebírají všechny balíčky z […]

  5. Links 23/11/2010: New OS Benchmarks, Scientific Study Into Free Software in Finland | Techrights says:
    November 24, 2010 at 3:15 am

    […] How Ubuntu builds up on Debian I have been asked how Ubuntu relates to Debian, and how packages flow from one to the other. So here’s my attempt at clarifying the whole picture. […]

  6. » Come Ubuntu usa Debian Debianizzati.Org says:
    November 25, 2010 at 11:29 am

    […] A voi il piacere della lettura Posted in Debian, News, Ubuntu. Tags: Debian, News, Ubuntu. RSS feed dei commenti a questo articolo.. TrackBack URL. […]

  7. Особенности построения релиза Ubuntu на основе пакетной базы Debian GNU/Linux says:
    November 25, 2010 at 7:50 pm

    […] курирующий взаимодействие между проектами Ubuntu и Debian, попытался ответить на наиболее часто задаваемые […]

  8. Ubuntu vs Debian: как собирают Ubuntu? | Linux-Easy.Ru says:
    November 26, 2010 at 4:20 pm

    […] курирующий взаимодействие между проектами Ubuntu и Debian, попытался ответить на наиболее часто задаваемые вопросы: «Откуда […]

  9. Recomendaciones de la semana | Pillateunlinux says:
    November 28, 2010 at 1:32 pm

    […] y alguna vez te has preguntado por qué Ubuntu está relacionada con Debian, te conviene leer éste artículo en el que se explica el vínculo que une a Ubuntu con […]

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