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
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES picture

HP/HPE ProLiant AMD Opteron X3216 APU 16 GB RAM MicroServer Gen 10 NO DRIVES

$299.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ* picture

HP ProLiant HSTNS-5151 Micro Server 8GB RAM No Drives/Key/Caddies *READ*

$94.99



HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 2.30 GHz 16 GB RAM MicroServer Gen8 NO DRIVES

$199.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



RackChoice 2U Micro ATX Compact Rackmount 2 x 5.25 Chassis Support ATX PS2 picture

RackChoice 2U Micro ATX Compact Rackmount 2 x 5.25 Chassis Support ATX PS2

$96.00



Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears picture

Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears

$199.00