Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found online guides to adding Ubuntu PPAs and repositories to a Debian system. Is this a bad idea? If so, why?

share|improve this question
I have found some vague and dire words of warning buried in the forums, such as "Adding an Ubuntu repo is a good way to mess up your Debian system as they are not really binary compatible" and "I have heard of people using Debian sid sources in Ubuntu, but even they tend to bork their systems". However, it seems like people are still doing it, and the guides linked above aren't specific about the dangers. – Statisfactions Sep 20 '11 at 16:16
up vote 3 down vote accepted

Your mileage may vary. I wouldn't do that. It's not only about dependencies problems, but about binary compatibility ( Debian packages are likely built with different toolchain versions, so you may incur in troubles.

share|improve this answer
Thank you for the useful link! This addresses the issue that people were talking about in the forums in much more depth than I've seen elsewhere. – Statisfactions May 19 '12 at 2:09

Basically, since dpkg and apt are shared between Debian and Ubuntu, they will be able to read and use repositories made for "the other side" without problems. However, as soon as you try to install non-trivial packages from a "foreign" repository, you are likely to run into dependency problems. Some packages are named differently on Debian and Ubuntu, so if they were listed as a dependency of the package you are trying to install, you might end up with missing packages or duplicate installations.

From my experience, third-party-software with few dependencies (like NX) may work, but don't try to mix GNU tools or similar stuff.

share|improve this answer
For some small things, it won't be a problem. I've heard of people using wine from the ubuntu repos on debian just fine. – Rob Sep 22 '11 at 18:13
This is most of what I was looking for, thanks! Could you clarify what you mean by "foreign" repositories? Also, I'm not sure what you mean when you talk about mixing GNU you mean different versions of the same GNU tool? Or getting one GNU tool from the Debian repos and a different one from the Ubuntu repos? – Statisfactions Sep 23 '11 at 3:46
"Foreign" repositories are those that are not provided by the distribution itself. For example, the Opera web browser uses a repository at, and FreeNX uses Both serve, at the same time, as an example for software that can be installed from one repository to both Ubuntu and Debian, as their dependencies are non-critical. – jstarek Sep 26 '11 at 17:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .