Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How can I migrate to Wheezy?

  1. #1
    Join Date
    Jul 2011
    Beans
    15

    How can I migrate to Wheezy?

    Hi everyone, I just wanna know how I can upgrade to Wheezy.

    Squeeze is great and everything but I just hate the fact it uses outdated software.

    Here's the contents of my sources.list file:

    Code:
    ## Debian – Stable
    deb http://ftp.us.debian.org/debian/ stable main contrib non-free
    deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free
    ## Security Updates
    deb http://security.debian.org/ stable/updates main contrib non-free
    deb-src http://security.debian.org/ stable/updates main contrib non-free
    ## Multimedia stable
    deb http://www.debian-multimedia.org stable main non-free
    # Backports repository
    deb http://backports.debian.org/debian-backports squeeze-backports main
    deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
    One of my friends once tried to upgrade to wheezy, but after running
    Code:
    apt-get dist-upgrade
    , he got a changelog or something and ended up being stuck or something.

    Can anyone tell me how to upgrade to Wheezy painlessly? Or should I just stick with Squeeze until Wheezy goes stable.

  2. #2
    Join Date
    Apr 2009
    Location
    Hyper-Cyberspace
    Beans
    Hidden!
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: How can I migrate to Wheezy?

    Change the word "stable" in your sources list to "testing," then do the apt-get dist-upgrade thing.

    Stable is Squeeze, Testing is "future "Wheezy," as I understand it.

  3. #3
    Join Date
    Mar 2010
    Beans
    Hidden!

    Re: How can I migrate to Wheezy?

    http://sites.google.com/site/mydebiansourceslist/

    Your /etc/apt/sources.list should like the one under "##Debian Testing##".

    Then do

    Code:
    aptitude update
    aptitude full-upgrade
    and wait.

    As for to whether or not Testing is worth it, that's for you to decide if/when something breaks.

    You're going to want to do

    Code:
    aptitude install apt-listbugs
    to warn you about problematic upgrades once you're Wheezy.

    For me Stable + backports is enough at the moment it provides you with the latest Iceweasel and Icedove.
    Last edited by krapp; August 5th, 2011 at 02:31 AM.

  4. #4
    Join Date
    Jul 2011
    Beans
    15

    Re: How can I migrate to Wheezy?

    this is what i get when I edited my /etc/apt/sources.list

    Code:
    root@debian:/home/shaun# aptitude update
                                
    root@debian:/home/shaun# aptitude full-upgrade
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.
                                             
    root@debian:/home/shaun#

  5. #5
    Join Date
    Mar 2010
    Beans
    Hidden!

    Re: How can I migrate to Wheezy?

    Post your new sources.list.

  6. #6
    Join Date
    Jul 2011
    Beans
    15

    Re: How can I migrate to Wheezy?

    # Testing
    #deb http://ftp.debian.org/debian/ testing main contrib non-free
    #deb-src http://ftp.debian.org/debian/ testing main contrib non-free

    # Testing Security

    #deb http://security.debian.org wheezy/updates main contrib non-free
    #deb-src http://security.debian.org wheezy/updates main contrib non-free

    #Testing Proposed Updates
    #deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
    #deb-src http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free
    Last edited by teh5abiking; August 5th, 2011 at 04:46 AM.

  7. #7
    Join Date
    Jan 2008
    Beans
    4,311

    Re: How can I migrate to Wheezy?

    Do not use proposed updates. They arent what you think and generally are undesireable.

    Also for upgrading between Debian releases I would recommend you use apt-get and not aptitude. Though aptitude might work the Debian developers recommend using apt-get (for upgrades). It has not failed me through many dist-upgrades.

    You basically only need:
    Code:
    deb http://ftp.us.debian.org/debian testing main contrib non-free
    Then you should clear out cruft from your stable install. Uninstall any custom packages from 3rd party repositories. Just safer that way.

    First run:
    Code:
    apt-get update
    Then do this to simulate the upgrade:
    Code:
    apt-get -s dist-upgrade
    Next download all the packages for the upgrade:
    Code:
    apt-get --download-only dist-upgrade
    Finally you want to reboot into 'single user' or 'recovery mode'. This I find to be a safer environment for a full system upgrade. (This is why I had you download the packages ahead of time) Then run:
    Code:
    apt-get dist-upgrade
    If you use ext4 the upgrade might take a while as ext4 has problems with certain sync and database workloads. I estimate around 30mins-1hr depending on your computer.
    Last edited by NightwishFan; August 5th, 2011 at 11:06 AM.

  8. #8
    Join Date
    Jan 2011
    Beans
    Hidden!

    Re: How can I migrate to Wheezy?

    He doesn't have to reboot into single user mode. he can just go to tty and do a

    Code:
     #init 1

  9. #9
    Join Date
    Jan 2008
    Beans
    4,311

    Re: How can I migrate to Wheezy?

    Booting into recovery mode also avoids loading a lot of startup scripts and daemons which may or may not conflict with the upgrade.

  10. #10
    Join Date
    Jan 2011
    Beans
    Hidden!

    Re: How can I migrate to Wheezy?

    Yeah, that's probably safer.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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