-
Junior Member
registered user
Apt-get: Setup /etc/apt/sources.list and apt.conf
I've read the apt-get tips, but still am on not clear on what is correct to have in the sources.list file, and the apt.conf file.
After a 3.4ct HD install the sources.list file, lists stable, testing, unstable and experimental sources. Is that the best setup or should we comment out some?
Also, in apt.conf it lists the default release as testing, how is that setting used?
Example: If a do a apt-get install XXXX, will it use testing as the default source since its in the apt.conf file?
-
Senior Member
registered user
I'm a learning newbie with apt-get, but here's what I understand.
You can have multiple sources in your sources.list file. apt-get uses the first valid source that it finds. So if you have stable, then testing and then unstable sources for a package (in that order) apt-get will install the stable version of the package (which is most probably very old).
Knoppix is a mixture of testing/unstable, so I think it's best (for most people) to comment out 'stable' sources.
Can't remember/not sure what apt.conf does.
Note that you can tell apt-get to install a particular version (i.e. stable, unstable or testing) of a package by using the option -t, e.g. (and from the sticky at the top of this forum)
Code:
apt-get install -t unstable packagename
Generally, do two things after a HDD install
1. comment out stable sources
2. do an "apt-get update" and comment out any sources that return an error
After that,
3. only add new sources if you need them for a particular package
HTH, hope I've got nothing wrong :]
Similar Threads
-
By vdesibabu in forum Customising & Remastering
Replies: 0
Last Post: 01-05-2005, 05:47 PM
-
By Timo in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 09-28-2004, 07:50 AM
-
By patiscool in forum General Support
Replies: 1
Last Post: 06-27-2004, 12:42 AM
-
By A. Jorge Garcia in forum General Support
Replies: 5
Last Post: 05-28-2004, 12:46 AM
-
By tsitras in forum General Support
Replies: 3
Last Post: 05-18-2004, 03:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

128GB (4x32GB) NEMIX Micron DDR4-3200 ECC UDIMM 2Rx8 PC4-25600 T350 RAM
$949.00

Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00

Kingston 32GB 2Rx4 PC4-2400T-RB1-11 ECC REG Server Memory HP24D4R7D4MAM-32
$150.00

NMA1XXD128GPS Intel Optane 1X128GB DDR4 PC4-21300 DCPMM Persistent Server Memory
$75.00
![[ BULK LOT OF 10 ] 16GB 2Rx4 DDR3 1866 MHz PC3 14900 RDIMM ECC Server Memory RAM picture](/store/img/g/cGEAAeSwMStqst-n/s-l225/-BULK-LOT-OF-10-16GB-2Rx4-DDR3-1866-MHz-PC3-14900-.jpg)
[ BULK LOT OF 10 ] 16GB 2Rx4 DDR3 1866 MHz PC3 14900 RDIMM ECC Server Memory RAM
$139.99

Wholesale USB 2.0 5/10/ 100PCS 2GB 4GB 8GB 16GB 32GB 64GB Metal USB Flash Drive
$176.00

HPE 32GB 2Rx4 PC4-2933Y-R DDR4 Svr RAM P03052-091 P00924-B21 M393A4K40DB2-CVFBY
$270.00