Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-19-2009, 03:50 PM   #1
Registered: Jun 2006
Location: Europe
Distribution: Sabayon, Debian, openSuse, JAD
Posts: 50

Rep: Reputation: Disabled
APT Repository Hierarchy

Dear Helpers!
I have a mixed system installed, mepis-7.0 being its base.
I want to install a program through apt. I perform a search and choose the packages I want to have installed. Having many repositories enabled, a lot of versions are available. I obviously want to choose which one is installed.
Desired Solution:
Instead of forcing the version of every package with apt-get -t, I would like to create a hierarchy of repositories. I'd then select the program I'd like to install and its version (apt-get install PROGRAM=VERSION), and the system goes through the repositories checking the dependencies and chooses the highest source for each dependency, that satisfies all needs of the program, and other cross-dependencies.
Once this is implemented, it must work with a graphical package manager (don't care which one, as long as it works, I get the info I need, and have some freedom in customizing it) for convenience. After all it's for that sake, that we have repositories altogether.
What I thought might work:
I edited the /etc/apt/preferences file, adjusting the pinning and linked that file to var/lib/synaptic/preferences. I do not have a default release defined in the apt.conf. Is that the problem? I don't necessarily want it to install the default version, if a corresponding package exists in that repository.
Thanks in advance,


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
apt repository error dneshsegar Red Hat 1 08-07-2008 06:29 AM
apt-get repository setup Mr.J Ubuntu 3 07-04-2008 05:50 AM
priority in apt-get for repository abd_bela Debian 1 09-19-2007 09:24 AM
Create a apt Repository timgerrlists Debian 1 02-10-2006 08:26 AM
Debian Apt Repository ghight Linux - Software 1 02-14-2003 02:53 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 AM.

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