Is it safe to install Ubuntu packages on Debian?

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

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.

1

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like