Results 1 to 6 of 6

Thread: dselect/aptitude/apt-get

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872

    dselect/aptitude/apt-get

    How can I tell these application which distribution(woody/sarge/sid) to look for ? I have debootstrap a woody distribution but want to upgrade the applications to sarge/sid(or testing/unstable).

    thanks in advance.

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    edit your /etc/apt/sources.list file and change "stable" or "woody" to "testing" or "unstable", example:

    Change the line:
    deb ftp://ftp.debian.org/debian woody main contrib non-free
    to:
    deb ftp://ftp.debian.org/debian testing main contrib non-free
    or:
    deb ftp://ftp.debian.org/debian unstable main contrib non-free

    HTH

    rock

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    That works, thanks.

    I noticed that KNOPPIX use a some what different method by listing all (stable/testing/unstable) sources and use apt.conf to control what default to choose from.

    I am wondering if it this case, there is any application which present the information in a nice way such that I can from one single interface to choose which distribution to pick from. Or may be I need to fallback to apt-get(which is a command line utility) pick which distribution to download from.

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    I only know and use apt-get, in knoppix since it has multiple repositories listed, ie: stable, testing and unstable; to install a package from the unstable repository you would use:

    apt-get -t unstable install *packagename


    Note: you would use " -t unstable " for sid, and " -t stable " for woody otherwise the default in apt.conf is used which is testing. My knoppix 3.1 1-20 release has the following line in /etc/apt/apt.conf:

    APT:efault-Release "testing";
    ...
    so by default when you use apt-get install it would look in the testing repository.

    HTH

    rock

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    thanks again. Seems that I better stick with the command line which I have been using for quite some time.

  6. #6
    You may want to look at pinning - works for me:

    http://jaqque.sbih.org/kplug/apt-pinning.html

    HTH
    Steve

Similar Threads

  1. aptitude got rid of packages, now i can't get online!
    By ogami1972 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 01-30-2005, 07:25 PM
  2. Dselect
    By Sgeo in forum General Support
    Replies: 4
    Last Post: 10-30-2004, 03:28 AM
  3. knoppix 3.3 - installation blown usising 'aptitude'
    By Timothy Truckle in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-10-2004, 09:26 PM
  4. dselect unable to search packages
    By Adm in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 10-13-2003, 05:09 PM
  5. cant apt-get/dselect after update
    By davidHarris in forum Hdd Install / Debian / Apt
    Replies: 14
    Last Post: 05-01-2003, 04:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module picture

Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module

$379.97



Cisco STACK-T4-3M Stacking Cable New Sealed picture

Cisco STACK-T4-3M Stacking Cable New Sealed

$149.00



Cisco Catalyst 3850 48 PoE+ Gigabyte 48-Port Ethernet Network Switch picture

Cisco Catalyst 3850 48 PoE+ Gigabyte 48-Port Ethernet Network Switch

$109.99



Cisco C9200L-STACK-KIT Stacking Kit New Sealed picture

Cisco C9200L-STACK-KIT Stacking Kit New Sealed

$439.57



Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod picture

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod

$89.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$38.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03 picture

GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03

$6.80



Cisco Catalyst WS-C2960X-48FPS-L Cisco 2960-X 48 GigE PoE 740W LAN Base Switch picture

Cisco Catalyst WS-C2960X-48FPS-L Cisco 2960-X 48 GigE PoE 740W LAN Base Switch

$84.99



Cisco WS-C3850-48P-S  Catalyst 48 Port 1GB PoE+ RJ-45 Switch - Same Day Shipping picture

Cisco WS-C3850-48P-S Catalyst 48 Port 1GB PoE+ RJ-45 Switch - Same Day Shipping

$155.00