LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 01-20-2005, 03:23 PM   #1
rksanders
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian gnu/linux
Posts: 28

Rep: Reputation: 15
mixed system in apt


The APT HOW TO paragraph 3.8 says " To set up what is your main version of Debian you should edit the /etc/apt/apt.conf to contain the line
APT:efault-Release "version";"
My /etc/apt directory contains a directory apt.conf.d , but not apt.conf .
The man pages for apt.conf state that it is the "main configuration tool for the apt suite of tools...."
There is no man page or info page for for apt.conf.d .
The apt.conf.d directory contains a file 70debconf which contains a line
DPkg::Pre-Install-Pkgs........; (same form as the APT::....line)
Should I create a file apt.conf in the /etc/apt directory and put the line
APT:efault-Release "version";
in it??? Or put the line in the /etc/apt/ /etc/apt/apt.conf.d/70debconf file???
Or forget about the mixed system under apt???
Or what??

Thanks in advance,
Rusty
 
Old 01-20-2005, 05:31 PM   #2
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33
Hi,

The reason you don't see an apt.conf already on your system is that if the file were part of a package you would be prompted to replace it with the default one at every upgrade. Simply create the file as described.

The .d mechanism is something you will see a lot in modern Linuxen. It basically means cat all the files in this directory together and treat it as if the entire contents was part of the apt.conf file. It makes maintaining big config files more manageable.

TIM
 
Old 01-21-2005, 12:38 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread



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
mixed system in apt rksanders Linux - Newbie 12 02-05-2006 11:16 PM
Running a mixed system: Bad? How bad? haertig Debian 5 11-09-2005 01:54 PM
#apt-get -t unstable install (mixed system) ekdya Debian 3 10-10-2005 04:15 PM
How to keep a mixed system kram Debian 3 03-03-2005 05:43 PM
can apt repositories be mixed, redhat and connectiva?? bosewicht Linux - Newbie 1 11-27-2003 07:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration