Results 1 to 6 of 6

Thread: UPGRADING KNOPPIX 3.1 to 3.2

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    Athens - Greece
    Posts
    1

    UPGRADING KNOPPIX 3.1 to 3.2

    I have installed KNOPPIX 3.1 on a ASUS Laptop (it works fine!) and customized it to work with Greek Localization, installed several packages, etc. Now, I just downloaded KNOPPIX 3.2 and I would like to UPGRADE without losing my installed environment and packages! How could I do that?

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Posts
    84
    To save your old environment you have to put /home on a different partition. To do this copy /home over:
    cp -Rpf /home /mnt/hda#
    where # is the partition number.

    Then just reinstall Knoppix. Then to get your old environment working with the new install go to the text file /etc/fstab. Add the line
    /dev/hda# /home your_file_system defaults 0 0
    Changing # and your_file_system to the correct values.

    This method will still requier reinstalling individual programs but the configuration files for those programs will still be set up in your /home.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: UPGRADING KNOPPIX 3.1 to 3.2

    Quote Originally Posted by sgk
    I have installed KNOPPIX 3.1 on a ASUS Laptop (it works fine!) and customized it to work with Greek Localization, installed several packages, etc. Now, I just downloaded KNOPPIX 3.2 and I would like to UPGRADE without losing my installed environment and packages! How could I do that?
    You could save your /home as was suggested above and if you want to have exactly the same packages then dpkg --get-selections > selections.txt to save a file of your current packages then after you re-install then dpkg --set-selections < selections.txt to restore your old packages then just apt-get update and upgrade to restore the old programs. Also you will need to back up any configuration files you changed.

    What exactly is it you need in 3.2 this seems like a lot of trouble to go through when you could just install the packages you need.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933

    Re: reinstall Knoppix, or apt-get upgrade ?

    Quote Originally Posted by benpark22
    I installed Knoppix 2 months ago. Now I want to upgrade. Should I reinstall Knoppix, or should I just do 'apt-get upgrade' ?

    In my sources.list, I see the following unofficial Debian sources, so I am afraid I might bread my system if I do 'apt-get upgrade'.

    'deb ftp://ftp.kde.org/pub/kde/stable/latest/Debian/sid ./
    deb-src ftp://ftp.kde.org/pub/kde/stable/latest/Debian/sid/ ./

    # kdevelop
    deb http://people.debian.org/~njordan kde3.0-woody/
    You're talking about two different upgrades. Upgrading Knoppix to the current release (3.2-04-15) is what this post is about. If 3.2 has something you want then follow the above directions to keep your current settings. If you want to start fresh, just reinstall without saving your /home directory.

    apt-get upgrade is upgrading all available packages to their latest version. You can comment out anything in your sources list that you don't want to upgrade. Personally I only upgrade security and testing (and a few other things I don't have access to right now). That's just my preference however. Several people leave their sources.list as it is and it works fine. Have you done man apt-get? Maybe you could do a little apt-getting on your current install to get a feel for it and then install 3.2.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Sorry about that rickenbacherus I split the post as you were replying.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Stephen
    Sorry about that rickenbacherus I split the post as you were replying.
    Oh sure you're just trying to sabbotage me!

    ...no problem eh

Similar Threads

  1. Upgrading Knoppix version
    By rozen in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-17-2005, 05:29 PM
  2. Help with Upgrading KDE
    By naventus in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-01-2004, 06:11 AM
  3. Question: Upgrading knoppix with apt-get
    By Del in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-31-2004, 07:06 PM
  4. Upgrading To A Newer Knoppix Release
    By tinmith in forum Hdd Install / Debian / Apt
    Replies: 14
    Last Post: 11-19-2003, 01:04 AM
  5. upgrading after Hdd Install to new version of Knoppix
    By mrnobody in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-17-2003, 07:05 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
  •