Results 1 to 2 of 2

Thread: Apt-get: Setup /etc/apt/sources.list and apt.conf

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    26

    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?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    148
    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

  1. knoppix sources.list repository incomplete list.
    By vdesibabu in forum Customising & Remastering
    Replies: 0
    Last Post: 01-05-2005, 05:47 PM
  2. Apt Sources list
    By Timo in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-28-2004, 07:50 AM
  3. sources.list
    By patiscool in forum General Support
    Replies: 1
    Last Post: 06-27-2004, 12:42 AM
  4. sources.list
    By A. Jorge Garcia in forum General Support
    Replies: 5
    Last Post: 05-28-2004, 12:46 AM
  5. sources.list
    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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$119.99



Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb picture

Corsair RMe RM850e 850W 80 Plus Gold Fully Modular Low Noise Certified Refurb

$56.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX picture

ASUS PRIME H410M-K LGA 1200 Intel 10th Gen H410 DDR4 USB3.2 Motherboard M-ATX

$59.99



Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK picture

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK

$154.99



HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002 picture

HP Z440 WorkStation LGA 2011-3 DDR4 Desktop Motherboard 710324-002

$39.99