Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running 12.04 Precise beta (upgraded from 11.10 Oneiric) and I added the following line to my /etc/apt/source.list:

deb http://http.us.debian.org/debian unstable main contrib non-free

In order to get a newer version of a package (octave 3.6) that I needed but was not available in the precise repository.

This worked fine, but now when I want to upgrade there is a large number of packages that need to get updated. I assume this is because sid has newer versions of many of the packages than precise.

I've temporarily disabled the sid repository, and this works fine - however I am curious to know what would happen if I allowed all those upgrades to go through? Would it break my system? Are the structures of Ubuntu Precise and Debian Sid repositories fundamentally different somehow?

share|improve this question
add comment

6 Answers 6

up vote 18 down vote accepted

You're mixing two different distributions' packages together. For various reasons, this is a bad idea:

  • Security.

  • Stability.

  • Conflicting updates, which you have right now.

  • If you let above updates go through, you encounter the first two problems, and then you're in deep trouble if say, as an example a kernel update comes through!

Also, this makes getting an accurate bug report or stacktrace almost impossible, if not entirely impossible.

In short, if you need Debian sid, run sid. Otherwise, run Ubuntu, and just add newer software you want to via a PPA or backports.

More explanations here:

share|improve this answer
add comment

If you do that, it may seem to work initially. What it means is you're getting the packages before Ubuntu customizes/changes things.

Using part of one and part of the other takes away a LOT of ability to troubleshoot issues from both sides. Debian users won't be able to help you as much because much of your distro is Ubuntu. Ubuntu users won't be able to help you as much because some of your distro is Debian.

It's a great thing to do if you're trying to get a package into a ppa/repo. Distribution wide, it's probably not a great idea in my opinion.

share|improve this answer
add comment

You don't need a Debian sid repository to install the latest release of a package (octave 3.6)..

There is a PPA in Launchpad for this.

share|improve this answer
    
where can I find libwebsockets ppa? packages.debian.org/sid/armhf/libwebsockets-dev/download gives repository to add –  neckTwi Sep 22 '13 at 9:02
add comment

If you want to take third party deb packages, I suggest you download them one by one, and then install them one by one using gdebi (of course, you have to install gdebi first).

Gdebi is a great tool to install deb package manually. Gdebi will tell you the dependency chain of the applicatio you want and you could install them with safe. If in the end you don't get all dependencies satisfied, it is better and more safe to install it from source.

share|improve this answer
    
Or you can just use dpkg... –  strugee Jun 2 '13 at 6:45
add comment

Chances are things may break. not recommended

Development with Debian --long reading--lets just say they work together

How Ubuntu Works

share|improve this answer
add comment

This might be necessary if you need a package currently not available in your ubuntu release.

My suggestion is to use apt-pin.

I created /etc/apt/preferences.d/unstable with following content

Package: *
Pin: release v=12.04, l=Ubuntu
Pin-Priority: 1000

Package: *
Pin: release a=unstable
Pin-Priority: 600

This ensures that the basic distribution always takes precedence. In case a package is not available, unstable is chosen.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.