The relationship between Debian and Ubuntu has been the subject of many vigorous debates over the years, ever since Ubuntu’s launch in 2004. Six years later, the situation has improved and both projects are communicating better. The Natty Narwhal Ubuntu Developer Summit (UDS) featured—like all UDS for more than 2 years—a Debian Health Check session where current cooperation issues and projects are discussed. A few days after that session, Lucas Nussbaum gave a talk during the mini-Debconf Paris detailing the relationship between both projects, both at the technical and social level. He also shared some concerns for Debian’s future and gave his point of view on how Debian should address them. Both events give valuable insights on the current state of the relationship.
Lucas Nussbaum’s Debian-Ubuntu talk
Lucas started by introducing himself. He’s an Ubuntu developer since 2006 and a Debian developer since 2007. He has worked to improve the collaboration between both projects, notably by extending the Debian infrastructure to show Ubuntu-related information. He attended conferences for both projects (Debconf, UDS) and has friends in both communities. For all of these reasons, he believes himself to be qualified to speak on this topic.
Collaboration at the technical level
He then quickly explained the task of a distribution: taking upstream software, integrating it in standardized ways, doing quality assurance on the whole, delivering the result to users, and assuring some support afterward. He pointed out that in the case of Ubuntu, the distribution has one special upstream: Debian.
Indeed Ubuntu gets most of its software from Debian (89%), and only 7% are new packages coming from other upstream projects (the remaining 4% are unknown, they are newer upstream releases of software available in Debian but he was not able to find out whether the Debian packaging had been reused or not). From all the packages imported from Debian, 17% have Ubuntu-specific changes. The reasons for those changes are varied: bugfixes, integration with Launchpad/Ubuntu One/etc., or toolchain changes. The above figures are based on Ubuntu Lucid (10.04) while excluding many Ubuntu-specific packages (language-pack-*, language-support-*, kde-l10n-*, *ubuntu*, *launchpad*).
The different agendas and the differences in philosophy (Debian often seeking perfect solutions to problems; Ubuntu accepting temporary suboptimal workarounds) also explain why so many packages are modified on the Ubuntu side. It’s simply not possible to always do the work in Debian first. But keeping changes in Ubuntu requires a lot of work since they merge with Debian unstable every 6 months. That’s why they have a strong incentive to push changes to upstream and/or to Debian.
There are 3 channels that Ubuntu uses to push changes to Debian: they file bug reports (between 250 to 400 during each Ubuntu release cycle), they interact directly with Debian maintainers (often the case when there’s a maintenance team), or they do nothing and hope that the Debian maintainer will pick up the patch directly from the Debian Package Tracking System (it relays information provided by patches.ubuntu.com).
Lucas pointed out that those changes are not the only thing that Debian should take back. Ubuntu has a huge user base resulting in lots of bug reports sitting in Launchpad, often without anyone taking care of them. Debian maintainers who already have enough bugs on their packages are obviously not interested in even more bugs, but those who are maintaining niche packages, with few reports, might be interested by the user feedback available in Launchpad. Even if some of the reports are Ubuntu-specific, many of them are advance warnings of problems that will affect Debian later on, when the toolchain catches up with Ubuntu’s aggressive updates. To make this easier for Debian maintainers, Lucas improved the Debian Package Tracking System so that they can easily get Ubuntu bug reports for their packages even without interacting with Launchpad.
Human feelings on both sides
Lucas witnessed a big evolution in the perception of Ubuntu on the Debian side. The initial climate was rather negative: there were feelings of its work being stolen, claims of giving back that did not match the observations of the Debian maintainers, and problems with specific Canonical employees that reflected badly on Ubuntu as a whole. These days most Debian developers find something positive in Ubuntu: it brings a lot of new users to Linux, it provides something that works for their friends and family, it brings new developers to Debian, and it serves as a technological playground for Debian.
On the Ubuntu side, the culture has changed as well. Debian is no longer so scary for Ubuntu contributors and contributing to Debian is The Right Thing to do. More and more Ubuntu developers are getting involved in Debian as well. But at the package level there’s not always much to contribute, as many bugfixes are only temporary workarounds. And while Ubuntu’s community follows this philosophy, Canonical is a for-profit company that contributes back mainly when it has compelling reasons to do so.
Consequences for Debian
In Lucas’s eyes, the success of Ubuntu creates new problems. For many new users Linux is a synonym for Ubuntu, and since much innovation happens in Ubuntu first, Debian is overshadowed by its most popular derivative. He goes as far as saying that because of that “Debian becomes less relevant”.
He went on to say that Debian needs to be relevant because the project defends important values that Ubuntu does not. And it needs to stay as an independent partner that filters what comes out of Ubuntu, ensuring that quality prevails in the long term.
Fixing this problem is difficult, and the answer should not be to undermine Ubuntu. On the contrary, more cooperation is needed. If Debian developers are involved sooner in Ubuntu’s projects, Debian will automatically get more credit. And if Ubuntu does more work in Debian, their work can be showcased sooner in the Debian context as well.
The other solution that Lucas proposed is that Debian needs to communicate on why it’s better than Ubuntu. Debian might not be better for everybody but there are many reasons why one could prefer Debian over Ubuntu. He listed some of them: “Debian has better values” since it’s a volunteer-based project where decisions are made publicly and it has advocated the free software philosophy since 1993. On the other hand, Ubuntu is under control of Canonical where some decisions are imposed, it advocates some proprietary web services (Ubuntu One), the installer recommends adding proprietary software, and copyright assignments are required to contribute to Canonical projects.
Debian is also better in terms of quality because every package has a maintainer who is often an expert in the field of the package. As a derivative, Ubuntu does not have the resources to do the same and instead most packages are maintained on a best effort basis by a limited set of developers who can’t know everything about all packages.
In conclusion, Lucas explained that Debian can neither ignore Ubuntu nor fight it. Instead it should consider Ubuntu as “a chance” and should “leverage it to get back in the center of the FLOSS ecosystem”.
The Debian health check UDS session
While this session has existed for some time, it’s only the second time that a Debian Project Leader was present at UDS to discuss collaboration issues. During UDS-M (the previous summit), this increased involvement from Debian was a nice surprise to many. Stefano Zacchiroli—the Debian leader—collected and shared the feedback of Debian developers and the session ended up being very productive. Six months later is a good time to look back and verify if decisions made during UDS-M (see blueprint) have been followed through.
Progress has been made
On the Debian side, Stefano set up a Derivatives Front Desk so that derivative distributions (not just Ubuntu) have a clear point of contact when they are trying to cooperate but don’t know where to start. It’s also a good place to share experiences among the various derivatives. In parallel, a #debian-ubuntu channel has been started on OFTC (the IRC network used by Debian). With more than 50 regulars coming from both distributions, it’s a good place for quick queries when you need advice on how to interact with the distribution that you’re not familiar with.
Ubuntu has updated its documentation to prominently feature how to cooperate with Debian. For example, the sponsorship process documentation explains how to forward patches both to the upstream developers and to Debian. It also recommends ensuring that the patch is not Ubuntu-specific and gives some explanation on how to do it (which includes checking against a list of common packaging changes made by Ubuntu). The Debian Derivative Front Desk is mentioned as a fallback when the Debian maintainer is unresponsive.
While organizing Ubuntu Developer Week, Ubuntu now reaches out to Debian developers and tries to have sessions on “working with Debian”. Launchpad has also been extended to provide a list of bugs with attached patches and that information has been integrated in the Debian Package Tracking system by Lucas Nussbaum.
Still some work to do
Some of the work items have not been completed yet: many Debian maintainers would like a simpler way to issue a sync request (a process used to inject a package from Debian into Ubuntu). There’s a requestsync command line tool provided by the ubuntu-dev-tools package (which is available in Debian) but it’s not yet usable because Launchpad doesn’t know the GPG keys of Debian maintainers.
Another issue concerns packages which are first introduced in Ubuntu. Most of them have no reason to be Ubuntu-specific and should also end up in Debian. It has thus been suggested that people packaging new software for Ubuntu also upload them to Debian. They could however immediately file a request for adoption (RFA) to find another Debian maintainer if they don’t plan to maintain it in the long term. If Ubuntu doesn’t make this effort, it can take a long time until someone decides to reintegrate the Ubuntu package into Debian just because nobody knows about it. This represents an important shift in the Ubuntu process and it’s not certain that it’s going to work out. As with any important policy change, it can take several years until people are used to it.
Both issues have been rescheduled for this release cycle, so they’re still on the agenda.
This time the UDS session was probably less interesting than the previous one. Stefano explained once more what Debian considers good collaboration practices: teams with members from both distributions, and forwarding of bugs if they have been well triaged and are known to apply to Debian. He also invited Ubuntu to discuss big changes with Debian before implementing them.
An interesting suggestion that came up was that some Ubuntu developers could participate in Debcamp (one week hack-together before Debconf) to work with some Debian developers, go through Ubuntu patches, and merge the interesting bits. This would nicely complement Ubuntu’s increased presence at Debconf: for the first time, community management team member Jorge Castro was at DebConf 10 giving a talk on collaboration between Debian and Ubuntu.
There was also some brainstorming on how to identify packages where the collaboration is failing. A growing number of Ubuntu revisions (identified for example by a version like 1.0-1ubuntu62) could indicate that no synchronization was made with Debian, but it would also identify packages which are badly maintained on the Debian side. If Ubuntu consistently has a newer upstream version compared to Debian, it can also indicate a problem: maybe the person maintaining the package for Ubuntu would be better off doing the same work in Debian directly since the maintainer is lagging or not doing their work. Unfortunately this doesn’t hold true for all packages since many Gnome packages are newer in Ubuntu but are actively maintained on both sides.
Few of those discussions led to concrete decisions. It seems most proponents are reasonably satisfied with the current situation. Of course, one can always do better and Jono Bacon is going to ensure that all Canonical teams working on Ubuntu are aware of how to properly cooperate with Debian. The goal is to avoid heavy package modifications without coordination.
Conclusion
The Debian-Ubuntu relationships used to be a hot topic, but that’s no longer the case thanks to regular efforts made on both sides. Conflicts between individuals still happen, but there are multiple places where they can be reported and discussed (#debian-ubuntu channel, Derivatives Front Desk at derivatives@debian.org on the Debian side or debian@ubuntu.com on the Ubuntu side). Documentation and infrastructure are in place to make it easier for volunteers to do the right thing.
Despite all those process improvements, the best results still come out when people build personal relationships by discussing what they are doing. It often leads to tight cooperation, up to commit rights to the source repositories. Regular contacts help build a real sense of cooperation that no automated process can ever hope to achieve.
This article was first published in Linux Weekly News. You can get my monthly summary of the Debian/Ubuntu news, all you have to do is to click here to subscribe to my free newsletter.
Rodrigo Rosenfeld Rosas says
Nice article. I have used Ubuntu for about 5 months when I changed to my current job about 2 years ago, while I continued using Debian at home, since they asked me to keep with the company’s standards. I didn’t understand this request at the time and I still don’t understand it, but I gave it a try, since everybody loved Ubuntu and I didn’t know it and also I’m curious about new things. Putting in other way, I love changes. But only the good ones!
Since I don’t support Gnome, the first thing I’ve done was installing Kubuntu. My company didn’t like very much my attitude because they were used to Gnome, but didn’t complain very much too. But the fact is that KDE4 was really unstable in Kubuntu, while it was very stable on Debian unstable at the same time. Some months late, tired of complaining every day about my unstable system, I moved to Debian at work too and never complained again since then.
So, if you want to be on edge, and this include using KDE 4 (Gnome really sucks…), Ubuntu is not really an option, since KDE is unsupported by Canonical. Another thing to mention is that Debian Unstable name scares every one, including me before I tried it. I never liked the fact that Debian packages were very old versions. So, since the beggining, I used the testing branch. But it wasn’t enough and when KDE 4 first happened on unstable, I moved to the unstable distribution. The fact was that the unstable distribution was much more stable and usable than both testing and stable and I think Debian should consider changing its name to Edge distribution instead of Unstable.
Ubuntu uses almost the same versions as Debian Unstable but aren’t considered unstable, although they were really unstable at the time I gave Ubuntu a shot. Another thing that bothers me on Debian is the excessive concern about non-free packages. Every time I install Debian for someone, the first thing I do, besides enabling the non-free branch, is to add the Debian Multimidia repository along with Opera and Google (chrome, picasa, etc) repositories and installing software like Skype and the proprietary driver for Nvidia, when it is the case. This lack of concern about license in Ubuntu is actually something good in my opinion and probably the key of success of Canonical. Using arguments like the philosophy about Debian and how it is community driven, etc won’t attract any Ubuntu users. They just want something that works with the least effort. And they’re completely right. The problem is that Ubuntu don’t quite work well.
The only thing I can remember I liked on Ubuntu and that I hate on Debian (although I can understand the reasons) is that every time I upgraded my system (I usually dist-upgrade my systems in a daily basis), the nvidia driver package was already upgraded and I didn’t need to reinstall it every time I rebooted a new kernel. This sucks on Debian and I’ll never buy another Notebook with a Nvidia chipset because of this.
Stan says
Some people actually appreciate the 100% Free philosophy, and contrary to popular belief, it does not get in the way of getting work done. I for one am glad that at least Debian and Fedora are available for those that value Linux as being more than just a replacement Windows. (BTW, you don’t have to worry about driver upgrades if you’re using Nouveau. 😉 )
Rodrigo Rosenfeld Rosas says
You must be kidding! 🙂 Try to play UrbanTerror with Nouveau driver for instance.
I agree with you that some people, like you and me, value the free philosophy. But we are exception and not the rule. Most of them don’t take Linux seriously if you tell them it is free. But if you tell them it is superior than Windows, without mentioning the price of it, they might consider them seriously. In practice, I’ve perceived that a great acceptance in giving Linux a try happens when you tell them that there are no virus for Linux, for instance.
Besides that, cost is not the big reason I don’t like/use Windows. Several years ago I left Windows because it was unusable for me. So, OS quality is much more valuable for most people than secondary concerns, like price, philosophy, etc. They want usability and they don’t want to waste their time figuring out how to install or configure some software or having to understand why it is so difficult to achieve what they want because of licensing concerns or philosophy or any other irrelevant reason for them. That is one of the reasons why so many people don’t mind in buying a Mac in the first place…
Stan says
I said getting work done, not goofing off. 😉 Though hopefully Nouveau will eventually be able to handle anything you throw at it, I agree it is not yet enough for 3D games. It is, however, at the point where it works for KWin desktop effects for me (on Fedora at least, where it is more current).
I also agree that us Freedom-valuers are the exception. To which I say: so what? The 100% Free distributions are also the exception when it comes to Linux distributions, with only Debian and Fedora of the widely-used distributions. If they all were the same, why bother having different distros? I’d send the masses to something like Mint, Sabayon, PCLinuxOS, or even just leave them on Windows if it is better for them (and it really is for some people). Changing Debian to suit the masses would be a good way to lose those who like Debian the way it is, but still probably wouldn’t be enough to get the *buntu crowd.
Besides, you (or anybody else) are free to make a Debian+Non-Free distribution that sticks as close to Debain proper as possible, much like Omega does for Fedora, without sacrificing the Free-ness of Debian itself. That actually might be a good project for somebody who lives in a software-patent-free region…
(BTW, as a KDE fan you might want to also try Fedora and/or Arch; I’ve found both to have great implementations. No offense to Debian’s KDE team, but I stick to XFCE when I use Debian.)
Rodrigo Rosenfeld Rosas says
Good morning, Stan. I have no problem in changing my distribution when something on it bothers me. In fact, I started using Linux with a RedHat distribution. Since then, I’ve changed in short intervals to Mandrake, Conectiva, Mandriva, Suse, Gentoo, Kurumin until I finally decided to try Debian (I was told it was difficult to install and that is the reason I avoided it for a long time). The fact is that I was pretty comfortable installling Debian and have hadn’t any issues regarding the distribution itself since then. This happened at the same time Fedora was borned (RedHat was version 8 or 9 at the time, if I can remember it correctly). Since I didn’t like RedHat for the poor repository (Debian had much more available binaries than RedHat or any other distribution) and the rpm system that didn’t handle dependencies at the time as well as Debian did. I know a lot have evolved from Fedora side (like yum creation) but I installed it recently on a VM for testing a binary client from IBM MQSeries that was distributed in RPM-only form and I didn’t want to try installing them with alien on my Debian system. The rpms didn’t install on Fedora either, but I got some recent experience with it and didn’t like it very much…
On the KDE side, I’m using the 4.5.3 version from:
http://qt-kde.debian.net/
The version in Debian Unstable is 4.4.5. Both versions are really great, although the newer version from the semi-official repository has some bugs in Dolphin, but that is ok. Since I only need to enable the multimedia, Google and Opera repository once in life for my computer, I’m pretty satisfied with Debian and don’t plan to change to another distribution in a near future. It is pretty unstable and has a huge repository so that it is rare when I need to compile something (except for the nvidia driver which I often do). Usually that happens when I need a different version of some library or with different compile options, but I’m a developer, and I only need this when I’m developing something for some rare situations, not for usual work.
Thanks for the suggestion on Fedora/Arch anyway. When I feel I’m uncomfortable with Debian, I’ll give them a try.
Regarding your suggestion in creating another distribution, it is much easier to speculate about the idea than to actually put it in practice, since it is unfeasible for one person to do it. There is a lot of cost/work involved in creating and maintaing a distribution.
Chexsum says
KDE is a nightmare and has nothing to do with this article no matter how many times you try to associate them.
Darren says
I used to think much like that. I used Debian way back in the day (1995 ish). Back then I floated between Mandrake, Slackware and Debian. Debian then was a no-brainer – stable fast and had all the latest gizmos. Unfortunately it seems today it doesn’t have the same thing to offer. These days I skip between a “Free as in beer” approach on Arch or a “Cadillac” approach on Ubuntu or Mint. I have no real need to compile anything as I’m using pretty standard well-supported hardware. Anymore, Debian gets ‘out-Debianed” by all of its children. People wanting “I just want to get my environment up and running so I can get work done now” will usually pick Ubuntu or Mint or whatever RPM based distro is similar. Debian is going to need to find some way to fit in besides their philosophy, otherwise they are just a talent pool being bled dry by the Ubuntus and Knoppixes.
ChriS says
every time I upgraded my system (I usually dist-upgrade my systems in a daily basis), the nvidia driver package was already upgraded and I didn’t need to reinstall it every time I rebooted a new kernel.
Have a look to the “dkms” package.
Rodrigo Rosenfeld Rosas says
Thank you, ChriS. I’ve just installed the nvidia dkms related packages, upgraded my system and rebooted and it seems to have worked out of the box! Well, I guess I don’t miss anything from Ubuntu now 😉
Best regards!
German Elesdi says
It’s all about commitment.
It’s white or black
Spirit of Linux and GNU (Debian) or Others
If you don’t get the GNU and Linux philosophy, use other operating system for your computer but never call it a GNU/Linux distribution.