Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45

Thread: HOWTO: Upgrade to Debian Unstable

  1. #1
    Junior Member
    Join Date
    May 2003
    Posts
    5

    HOWTO: Upgrade to Debian Unstable

    This is a tutorial on how to upgrade your just-installed KNOPPIX to debian unstable. I personally belive that using the sid repositories is better than using unofficial repositories so you can get the latest software.

    The first step is to install knoppix. Boot from the CD, change things to your liking, and run the hdinstall script. Restart your computer.

    Now that you've restarted, you should see the KDM login manager come on screen. Select the "console login" option. You will no be in a console with a login prompt. It should say something like this: "yourhostname login:" Log in as root. You will now have a root (#) prompt.

    Type "vim /etc/apt/apt.conf" to edit your apt configuration file. Change the line APT:efault-Release "testing"; to APT:efault-Release "unstable";.

    Now edit your /etc/apt/sources.list file so it looks something like this:

    Code:
    #/etc/apt/sources.list
    
    # OFFICIAL-Security
    deb http://security.debian.org/ stable/updates main contrib non-free
    deb http://security.debian.org/ testing/updates main contrib non-free
    
    # OFFICIAL-Stable
    deb http://ftp.debian.org/debian/ stable main contrib non-free
    deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free
    
    # OFFICIAL-Testing
    deb http://ftp.debian.org/debian/ testing main contrib non-free
    deb http://non-us.debian.org/debian-non-US/ testing/non-US main contrib non-free
    
    # OFFICIAL-Unstable
    deb http://ftp.debian.org/debian/ unstable main contrib non-free
    deb http://non-us.debian.org/debian-non-US/ unstable/non-US main contrib non-free
    Good, now that that is set up, quit vim and get ready to do some apt-ing. Enter the following commands:

    Code:
    # apt-get update
    # apt-get dist-upgrade
    The dist-upgrade command will probably prompt your to remove many large packages. When I did it, the dist-upgrade command told me it had to remove all of KDE, for instance. Don't worry, you can install it later.

    When you are upgrading, you will probably encounter an error in which one package cannot overwrite another packages files. your apt-get process will end with an error like "error processing package: /var/cache/apt/archives/blahblah-2.3.deb". You can fix that like this.

    Code:
    # dpkg --force overwrite -i /var/cache/apt/archives/blahblah-2.3.deb
    # apt-get install -f
    # apt-get dist-upgrade
    Eventually, the long process will end. You will probably want to reinstall KDE, GNOME, CUPS, etc. (if they weren't already removed) with their GCC-3.3 (or whatever unstable is currently at; it's GCC-3.3 at the time of this writing):

    Code:
    #apt-get remove kdelibs
    #apt-get install kde
    #apt-get install gnome
    #apt-get install mozilla mozilla-xft
    The KDE and GNOME metapackages for unstable are (at the time of this writing), version 3.1.1 and 2.2.1, respectively. When you have reinstalled all the necessary packages, restart your computer enjoy your new Debian-SID computer. It should now function identically to any other regularly installed SID system.

  2. #2
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    139
    Looks interesting

  3. #3
    Junior Member
    Join Date
    May 2003
    Posts
    5
    BTW, I tried out this tutorial and it should work with both 3.1 and 3.2.

  4. #4
    Junior Member
    Join Date
    May 2003
    Posts
    1
    Does this remove all the Knoppix related stuff in the process?

    For example "dpkg -l | grep -i knoppix" currently gives me a list of about 20 packages that seem to be knoppix custom packages. I'm not in the mood to find out whether removing them is going ot break anything cos I haven't got the time to fix it at the minute!

    Thanks!

  5. #5
    Junior Member
    Join Date
    May 2003
    Posts
    5
    If you want, you can remove the knoppix-* packages with dpkg --remove packagename or apt-get remove packagename, whichever suits you. The knoppix packages don't hurt anything being there unless dpkg asks you to remove them during a dist-upgrade.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    199
    would this work to get woody if you replaced the line with "stable" where apropriate?

  7. #7
    Junior Member
    Join Date
    May 2003
    Posts
    5
    It would work to some extent, but you would not have all of the versions of woody packages because some packages on woody are actually lower versions than the packages that come with Knoppix.

  8. #8
    Junior Member registered user
    Join Date
    May 2003
    Location
    United States
    Posts
    22
    This may be a dumb question, but hey i am a relative newbie, so it's expected of me. If I have the debian cd roms can I use them to install some missing programs I need?

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Rono64
    This may be a dumb question, but hey i am a relative newbie, so it's expected of me. If I have the debian cd roms can I use them to install some missing programs I need?
    You can use them but you will need to use apt-cdrom to add them to your sources list you can not enter them manually. Look at man apt-cdrom for more information.

  10. #10
    Senior Member registered user
    Join Date
    May 2003
    Posts
    154
    Sorry, it's unclear to me why you would want to do this - why not simply install Debian?

Page 1 of 5 123 ... LastLast

Similar Threads

  1. KNOPPIX 3.4 CD remastered w/ Debian unstable, X Server exits
    By RemasteringNoob in forum Customising & Remastering
    Replies: 11
    Last Post: 07-27-2004, 02:26 AM
  2. Upgraded to Debian unstable, wpc11 doesnt work
    By awreneau in forum Laptops
    Replies: 2
    Last Post: 04-30-2004, 06:30 PM
  3. HOWTO fix debian or knoppix/debian for Russian fonts
    By datakid in forum General Support
    Replies: 0
    Last Post: 11-07-2003, 07:46 AM
  4. how to upgrade to debian testing kernel?
    By hyao in forum General Support
    Replies: 1
    Last Post: 08-01-2003, 03:40 PM
  5. Install Rosegarden4 (notation a. Midi)frome debian unstable?
    By jochen.112@firemail.de in forum Ideas
    Replies: 1
    Last Post: 01-06-2003, 12:51 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
  •  


NEW OEM Dell Inspiron 14 5406  P126G Laptop Battery 11.25V 40Wh JK6Y6  CF5RH picture

NEW OEM Dell Inspiron 14 5406 P126G Laptop Battery 11.25V 40Wh JK6Y6 CF5RH

$39.00



OEM WDX0R DELL 42Wh 15 5567 5568 5368 7368 7569 Fair Battery Health picture

OEM WDX0R DELL 42Wh 15 5567 5568 5368 7368 7569 Fair Battery Health

$14.24



NEW OEM DELL (PKWVM) 95Wh Battery 7550 Precision CR72X 17C06 447VR picture

NEW OEM DELL (PKWVM) 95Wh Battery 7550 Precision CR72X 17C06 447VR

$79.99



NEW OEM Dell Latitude 5320 7320 7420 7520 63Wh Laptop Battery 7FMXV 4M1JN TN2GY picture

NEW OEM Dell Latitude 5320 7320 7420 7520 63Wh Laptop Battery 7FMXV 4M1JN TN2GY

$61.70



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm picture

Genuine OEM 65W Dell PA-12 AC Adapter Charger 928G4 06TM1C LA65NS2-01 7.4*5.0mm

$14.99



OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270 picture

OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270

$11.88



New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111 picture

New OEM 90W AC Adapter Charger For Dell RT74M 0RT74M 0VRJN1 VRJN1 LA90PM111

$20.55



OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6 picture

OEM 130W Power Adapter Charger For Dell XPS 15 9530 9550 9560 9570 7590 06TTY6

$33.22