Setting up my own repos

Chat about Linux in general

Setting up my own repos

Postby JHutson456 on Thu Aug 30, 2012 9:37 am

I'm creating my own distro. I'm pretty much learning everything on the fly and had a question. Mint is based on Ubuntu which is based on Debian. Am I correct in assuming that, in this case, the mint sources take precedence and default to the Ubuntu packages when no mint alternative is available and same situation Ubuntu to Debian.

Does every distro compile everything themselves? That doesn't make sense to me.

The purpose of the question is, in mint when using synaptic to view sources list (or at the file) as I recall it is all Linux mint named, as Ubuntu is all named Ubuntu (like, Ubuntu multiverse) how would I do the same, rename everything to my distro name and such? What all is involved? And answers would be greatly appreciated.
JHutson456
Level 1
Level 1
 
Posts: 8
Joined: Tue Oct 25, 2011 3:14 pm

Linux Mint is funded by ads and donations.
 

Re: Setting up my own repos

Postby xenopeek on Thu Aug 30, 2012 10:39 am

You can set the priority of repositories in APT (the Debian package manager; which all the front-ends like Software Manager, Synaptic, aptitude and apt-get use). If the same package is available in multiple repositories, the repository with highest priority takes precedence. This is what Linux Mint does, it sets the priority for the Linux Mint repository higher than that of the Ubuntu repository.

As an example, have a look at the /etc/apt/preferences file on Linux Mint, and see the apt_preferences manpage to better understand (or also search the Debian wiki: http://wiki.debian.org/).

AFAIK, Ubuntu does recompile all packages they import from Debian. Linux Mint only provides the packages they add (those missing from the Ubuntu repository) or those for which they deliver a different version. Some of those packages (like the Linux Mint developed applications) will also be compiled and packaged by the Linux Mint developers. Some of those packages (like MATE for example) are compiled and packaged by others, and just imported into the Linux Mint repository as-is.

You can browse the Linux Mint repositories here: http://packages.linuxmint.com/
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14807
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Setting up my own repos

Postby JHutson456 on Fri Aug 31, 2012 12:48 am

thank you very much for the explanation. It's greatly appreciated.
JHutson456
Level 1
Level 1
 
Posts: 8
Joined: Tue Oct 25, 2011 3:14 pm


Return to Chat about Linux

Who is online

Users browsing this forum: No registered users and 8 guests