11

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

1

2 Answers 2

4

Your mileage may vary. I wouldn't do that. It's not only about dependencies problems, but about binary compatibility (https://wiki.ubuntu.com/MarkShuttleworth#What_about_binary_compatibility_between_distributions.3F): Debian packages are likely built with different toolchain versions, so you may incur in troubles.

1
  • 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. Commented May 19, 2012 at 2:09
7

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.

3
  • 1
    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
    Commented Sep 22, 2011 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 tools...do 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? Commented Sep 23, 2011 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 deb.opera.com, and FreeNX uses launchpad.net/~freenx-team/+archive/ppa. 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
    Commented Sep 26, 2011 at 17:50

You must log in to answer this question.

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