Installing Ubuntu packages on Debian

If none of the more specific forums is the right place to ask

Installing Ubuntu packages on Debian

Postby ImageAcoustique » 2010-05-04 10:59

Hi there,
I'm running a dual boot laptop with Debian 5.04 and Ubuntu 10.04. I was wondering if I could install software that's not originally built for Debian, such as gmusicbrowser, which I find the best player for my library. Do I have just to add the APT line to the permitted repositories? What about dependencies? I know you'll probably tell me to use another juke box player, but it is also a matter of curiosity.
Thanks.
ImageAcoustique
 
Posts: 2
Joined: 2007-05-29 14:19
Location: Bo

Re: Installing Ubuntu packages on Debian

Postby craigevil » 2010-05-04 11:32

Package gmusicbrowser
* squeeze (testing) (sound): graphic jukebox for large collections of mp3/ogg/flac/mpc files
1.0.2-2: all
* sid (unstable) (sound): graphic jukebox for large collections of mp3/ogg/flac/mpc files
1.0.2-2: all

It is not in stable, so what you can do is create your own backport.

Install the Debian source (and the development tools, especially debhelper), and then build the package. Step by step:
1. add a deb-src line for sid to your sources.list
# Unstable Sources
deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
2. apt-get update
3. apt-get build-dep packagename
4. apt-get -b source packagename
5. the resulting debs should be in the current directory, install it with dpkg -i packagename
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5186
Joined: 2006-09-17 03:17
Location: Oz

Re: Installing Ubuntu packages on Debian

Postby julian67 » 2010-05-04 12:10

Even easier: http://gmusicbrowser.org/download.html

For debian/ubuntu users, a very basic repository is available by adding this line to your /etc/apt/sources.list :
deb http://gmusicbrowser.org/deb ./
To check the authenticity of the package, you need to import this key into your trusted software providers list.
Wisdom from my inbox: "do not mock at your pottenocy"
User avatar
julian67
 
Posts: 4648
Joined: 2007-04-06 14:39
Location: Just hanging around

Re: Installing Ubuntu packages on Debian

Postby craigevil » 2010-05-04 12:30

julian67 wrote:Even easier: http://gmusicbrowser.org/download.html

For debian/ubuntu users, a very basic repository is available by adding this line to your /etc/apt/sources.list :
deb http://gmusicbrowser.org/deb ./
To check the authenticity of the package, you need to import this key into your trusted software providers list.


Awesome didn't have that in my Giant sources.list.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5186
Joined: 2006-09-17 03:17
Location: Oz

Re: Installing Ubuntu packages on Debian

Postby mzilikazi » 2010-05-04 22:27

Re: Installing Ubuntu packages on Debian

That is most assuredly a bad idea.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Re: Installing Ubuntu packages on Debian

Postby AdrianTM » 2010-05-04 23:40

mzilikazi wrote:Re: Installing Ubuntu packages on Debian

That is most assuredly a bad idea.

Why so? APT is very capable, even if a program would not work you can always remove it, also if it wants to write on files that belongs to other packages it will fail, so what's the risk? If there's no Debian package available you can try at least to see if the Ubuntu package works. That of course if you don't have such a distaste (and mental sickness, see my sig) that would stop you behave rationally...
Ubuntu hate is a mental derangement.
User avatar
AdrianTM
 
Posts: 2520
Joined: 2004-09-19 01:08

Re: Installing Ubuntu packages on Debian

Postby craigevil » 2010-05-05 00:23

AdrianTM wrote:
mzilikazi wrote:Re: Installing Ubuntu packages on Debian

That is most assuredly a bad idea.

Why so? APT is very capable, even if a program would not work you can always remove it, also if it wants to write on files that belongs to other packages it will fail, so what's the risk? If there's no Debian package available you can try at least to see if the Ubuntu package works. That of course if you don't have such a distaste (and mental sickness, see my sig) that would stop you behave rationally...

Simply installing a single Ubuntu package can cause apt/aptitude/dpkg to have issues. Just search over at linuxquestions.org for all the people that had issues installing the Adobe flash package. Ubuntu packages are not compatible with Debian they change too many things. If you want Ubuntu then you run Ubuntu, if you want Debian run Debian do not mix the two.
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5186
Joined: 2006-09-17 03:17
Location: Oz

Re: Installing Ubuntu packages on Debian

Postby dbbolton » 2010-05-05 00:24

If you really need a piece of software for which no official binary package exists, consider building your own: viewtopic.php?f=16&t=38976
GitHub | zsh docs in Letter PDF

Telemachus wrote:Put down the CGI.
User avatar
dbbolton
 
Posts: 2131
Joined: 2007-06-20 08:17
Location: Iapetus

Re: Installing Ubuntu packages on Debian

Postby AdrianTM » 2010-05-05 00:30

Simply installing a single Ubuntu package can cause apt/aptitude/dpkg to have issues. Just search over at linuxquestions.org [...]

I don't buy it. I haven't tested this, but I won't take the words of noobs on this either. APT is great, if something doesn't work simply remove it.
Ubuntu hate is a mental derangement.
User avatar
AdrianTM
 
Posts: 2520
Joined: 2004-09-19 01:08

Re: Installing Ubuntu packages on Debian

Postby dbbolton » 2010-05-05 00:46

AdrianTM wrote:
Simply installing a single Ubuntu package can cause apt/aptitude/dpkg to have issues. Just search over at linuxquestions.org [...]

I don't buy it. I haven't tested this, but I won't take the words of noobs on this either. APT is great, if something doesn't work simply remove it.


Test this then:
Code: Select all
wget http://mirrors.kernel.org/ubuntu/pool/main/e/eglibc/libc6_2.11.1-0ubuntu7_i386.deb && dpkg --force-all -i ./libc6_2.11.1-0ubuntu7_i386.deb


Good luck.
GitHub | zsh docs in Letter PDF

Telemachus wrote:Put down the CGI.
User avatar
dbbolton
 
Posts: 2131
Joined: 2007-06-20 08:17
Location: Iapetus

Re: Installing Ubuntu packages on Debian

Postby AdrianTM » 2010-05-05 00:51

dpkg --force-all

Oh, here's the stupidity.
Ubuntu hate is a mental derangement.
User avatar
AdrianTM
 
Posts: 2520
Joined: 2004-09-19 01:08

Re: Installing Ubuntu packages on Debian

Postby Absent Minded » 2010-05-05 01:18

AdrianTM wrote:
mzilikazi wrote:Re: Installing Ubuntu packages on Debian

That is most assuredly a bad idea.

Why so? APT is very capable, even if a program would not work you can always remove it, also if it wants to write on files that belongs to other packages it will fail, so what's the risk? If there's no Debian package available you can try at least to see if the Ubuntu package works. That of course if you don't have such a distaste (and mental sickness, see my sig) that would stop you behave rationally...


Even for you I find this completely obserd!! You have been around Debian long enough to expressly know why this is not a good idea. Up to this point I had thought you had at least "some" common sense to go with your new occupation of defending poor Ubuntu from the nasty "Ubuntu haters" on the "Elitest" Debian forum.

Oddly, I thought you had more class than to try and make it sound like this is something "completely normal" and an acceptable everyday practice. Do you not have any respect or regard at all for others? In essance you are encuraging others that are not as well informed as you should be by now to destabalize or completely break their systems by introducing foreign packages designed for a bianarliy incompatable distro.

It really disturbes me that you would stoop this low just to exhonorate your beloved Ubuntu.

Having said all that, I know that not "every" package designed "exclusively" for Ubuntu will distroy a stable Debian install. However, why take the risk when there are other options availible? Especially when so many Ubuntu packages "will" destabilize or completely brake an otherwise stable and usable Debian system.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3737
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: Installing Ubuntu packages on Debian

Postby AdrianTM » 2010-05-05 01:28

When have we hired illiterate mods?
Ubuntu hate is a mental derangement.
User avatar
AdrianTM
 
Posts: 2520
Joined: 2004-09-19 01:08

Re: Installing Ubuntu packages on Debian

Postby Absent Minded » 2010-05-05 01:50

AdrianTM wrote:When have we hired illiterate mods?


While some things have never been important to me, intelligence is not measured by what one knows or remembers. It is instead measured by ones ability to come up with credible solutions.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3737
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: Installing Ubuntu packages on Debian

Postby AdrianTM » 2010-05-05 01:52

EDIT: censored myself
Last edited by AdrianTM on 2010-05-05 02:01, edited 1 time in total.
Ubuntu hate is a mental derangement.
User avatar
AdrianTM
 
Posts: 2520
Joined: 2004-09-19 01:08

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 29 guests

fashionable