LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices

Reply
 
Search this Thread
Old 02-22-2011, 02:15 AM   #1
luxpro
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Lightbulb Connecting to a repository of a different derivative!


Bodhi being a minimalist distro, I think it would be a great idea if we can connect to repositories of different Ubuntu derivatives. Technically, this should be possible because all derivatives are binary compatible with Ubuntu (?). I would like to know if it is rightaway possible/feasible. If yes, is there a howto for this. If no, why not. Can it be made possible?

Thanks and regards,
Vishwanath
 
Old 02-22-2011, 02:19 AM   #2
dracuss
Member
 
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian sid
Posts: 151

Rep: Reputation: 29
luxpro, You can do it, but it's not advisable. I once did a dist-upgrade of knoppix to debian-unstable and had to reinstall the system.
Connecting to the repositories is done in two easy steps:
1. edit the /etc/apt/sources.list file and add the repository you want
2. start the command "apt-get update" to load package information from the repository.
After that you can freely install anything you want from the new repository

Last edited by dracuss; 02-22-2011 at 02:21 AM.
 
Old 02-22-2011, 03:21 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,509
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
Even if the repositories may be binary-compatible (they don't have to be) you can run into dependency-hell, if you are mixing repositories. As said before, it is not recommended.
By the way, I think you are not getting the concept of a minimalist distro. It means that the system is minimal (in the term of using hardware ressources) after installation, but the Ubuntu repositories are already enabled in Bodhi, so feel free to install what you like.
 
Old 02-22-2011, 10:53 AM   #4
luxpro
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Lightbulb Public key for repository of different distro!

Quote:
Originally Posted by dracuss View Post
luxpro, You can do it, but it's not advisable. I once did a dist-upgrade of knoppix to debian-unstable and had to reinstall the system.
Connecting to the repositories is done in two easy steps:
1. edit the /etc/apt/sources.list file and add the repository you want
2. start the command "apt-get update" to load package information from the repository.
After that you can freely install anything you want from the new repository
I wanted to do it for two reasons - one I thought all derivative distros shall be binary compatible. two - some derivatives have packaged some "interesting" software that no one else has. So I thought an easy way of getting hold of such not widely available packages is to point to the repository and click?!

It may not just be safe or even advisable to do a dist-upgrade but gypping a package or two should not cause problems?? Except for dependancy-hell cited by another user below.

The two step process was tried but I could not make it through the repository security; where/how is the public key for a repository obtained without having to download the entire ISO?
Thanks again!
 
Old 02-22-2011, 11:01 AM   #5
luxpro
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Lightbulb Take a call on dependency hell on a case to case basis

Quote:
Originally Posted by TobiSGD View Post
Even if the repositories may be binary-compatible (they don't have to be) you can run into dependency-hell, if you are mixing repositories. As said before, it is not recommended.
By the way, I think you are not getting the concept of a minimalist distro. It means that the system is minimal (in the term of using hardware ressources) after installation, but the Ubuntu repositories are already enabled in Bodhi, so feel free to install what you like.
I'll just talk about point two now - Thanks! I got the idea of a minimalist distro but I thought we could extend Bodhi's idea by actually connecting to repositories of different derivatives (may be even back to Ubuntu). Some Ubuntu derived distros host packages of software not seen in any other distro. E.g look up ESUN linux.

As for the dependancy hell issue I think we can take a call on case to case basis.

Thanks.

Last edited by luxpro; 02-22-2011 at 11:05 AM. Reason: Forgot to write a title
 
Old 02-22-2011, 11:04 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,509
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
It is somewhat laughable, but you can get the key from the repo itself in the most cases.

Quote:
It may not just be safe or even advisable to do a dist-upgrade but gypping a package or two should not cause problems??
Problem here is, it may work for the two packages you installed now, but if you only install them and then disable the added repository, where will you get your security updates from? And if you leave it enabled, may be the change dependencies in the future without you noticing it, and that can definitely break your system.

Simple advice: At first, search for repos that are approved to work with your distro. If you can't find the program you need, you have two options:
1. Package the program yourself. Others may benefit from that also, don't forget the community spirit.
2. Use a repo from a different distro, but do that only if you really know what you are doing.
3. Simply compile from source, but be aware that your package-manager will have no knowledge of programs installed that way.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Pinguy OS - Probably the Best Ubuntu Derivative I have Ever Used! LXer Syndicated Linux News 0 12-21-2010 05:10 PM
what if there were a root-unlocked derivative? newbiesforever Ubuntu 12 10-04-2009 02:06 PM
Nth-order derivative of an arbitrary function ta0kira Programming 2 01-01-2009 01:07 AM
Easy Ubuntu and Ubuntu Software updates not connecting to repository Edizzle Ubuntu 2 07-15-2006 05:20 PM
Derivative OpenCD Error ice_hockey Linux - Software 0 07-11-2005 08:52 AM


All times are GMT -5. The time now is 03:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration