6 ms·
Hey thanks for "apt pinning". Never knew about that. One more question - how do you get the Ubuntu PPAs into Debian? It seems a lot of new software is exclusive
by sandGorgon 13y ago
Hey thanks for "apt pinning". Never knew about that. One more question - how do you get the Ubuntu PPAs into Debian? It seems a lot of new software is exclusively published on Ubuntu.... at least that's what it seems from Webupd8 and omgbuntu
- dfc 13y agoAnswer to your question and method for figuring out other "how to do something ubuntu in debian" questions. A great way to answer a lot of these questions is simply use `apt-cache search` however this is not always enough. The next thing to try is apt-file. Install apt-file: # apt-get -y install apt-file Update apt-file db (might do this on install, I forget): # apt-file update Now the bit you are interested in: How do you add PPAs in ubuntu? Answer: `add-apt-repository` Does debian have something named add-apt-repository? # apt-file search add-apt-repository software-properties-common: /usr/bin/add-apt-repository software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz That looks familiar. # apt-get install -y software-properties-common # add-apt-repository ppa:libreoffice/ppa As a long time debian fanboy I have to say "new software is exclusively published on Ubuntu" was kind of funny. Unless you were talking about `upstart` ;) A great reseource for debian is the Debian Administrators Handbook. The section on pinning is: http://debian-handbook.info/browse/stable/sect.apt-get.html#sect.apt.priorities http://debian-handbook.info/browse/stable/sect.apt-get.html#...
- voltagex_ 13y agoApart from people on various #debian IRC channels getting grumpy if you mix package sources, sometimes Ubuntu has a newer libc than Debian so it can possibly cause problems. I wouldn't pull in an Ubuntu package for something in production - try backports or building from dsc first.
- dfc 13y agoIt is true that "sometimes it has a newer libc" and you can check this. If the libc version is important there will be a versioned depends in the control file. If the libc is too new in saucy I can change: deb http://ppa.launchpad.net/.../ubuntu saucy main deb-src http://ppa.launchpad.net/.../ubuntu saucy main to: deb http://ppa.launchpad.net/.../ubuntu precise main deb-src http://ppa.launchpad.net/.../ubuntu precise main OP was asking about software "exclusively" for ubuntu, so I have no idea why you are mentioning backports. When I need to get something (especially when it is an alternative twitter client as in the instant case) to work I could really care less if people on #debian would get grumpy if I told them about my solution.
- sandGorgon 13y agoNo I'm not referring to upstart. Incidentally, I'm pretty familiar with apt in the Ubuntu context, but this is not what I was referring to. For example, take a look at this - http://www.omgubuntu.co.uk/2014/01/turpial-3-available-ubuntu http://www.omgubuntu.co.uk/2014/01/turpial-3-available-ubunt.... How do you get this into Debian? This is what I mean by software that is published for ubuntu. I do not mean that it cannot be built for debian, but rather that it is not PUBLISHED for debian. Or is the only option to do a dpkg-build?
- dfc 13y agoI don't know what you are missing here. Did you think I spent all that time typing about add-apt-repository because a-a-r was a complete red herring? Did you notice that the page you link to mentioned a-a-r? $ sudo add-apt-repository ppa:effie-jayx/turpial
- ktf 13y agoThis is awesome, thanks! I've always assumed that PPAs were Ubuntu-only magic for some reason.
- massysett 13y agoPlease look at backports before thinking about apt pinning. Mixing stable with newer releases can sometimes get tricky, while backports are actually designed to work with the stable release. I've been using Debian stable on desktops for years now with few problems, and backports have only improved in the past couple of years.
- voltagex_ 13y agoWhat's the difference between me grabbing a package from backports and me doing a build-dep/dpkg-buildpackage from a testing/unstable dsc?
- e12e 13y agoYou'd have to diff the package(sources) -- generally backports will try to be "conservative" in it's dependencies (not pull in a new libc or kernel unless actually needed). I'm not sure (never checked) how far backports go in actual backporting -- but in general they'll be less invasive. I expect there's probably a couple of small patches when needed (say to patch around a newer version of a library not being available if new functionality isn't strictly needed).
- kasabali 13y agoIt's exactly how the backports are built. Fetch from testing, build on stable. Dependencies are not backported unless they are absolutely necessary, only the package.