https://thadaw.com/posts/feed.xml

How to upgrade Debian to SID

2015-06-08

Optional: Add sudo into your user

$ su
# aptitude install sudo
# usermod -a -G sudo [USERNAME]
# exit

Note: If sudo don't work, try logout and login again.

  1. Replace the belowing text into /etc/apt/sources.list with your favorite editor. In my case I use $ sudo vi /etc/apt/sources.list

    deb http://ftp.th.debian.org/debian/ sid main contrib non-free
    deb-src http://ftp.th.debian.org/debian/ sid main contrib non-free
    
    deb http://ftp.th.debian.org/debian/ stable main contrib non-free
    deb http://ftp.th.debian.org/debian/ testing main contrib non-free
    deb http://ftp.th.debian.org/debian/ experimental main contrib non-free
    

    Read more about Archive areas: main, contrib, non-free

    Note: Replace http://ftp.th.debian.org/debian/ to your nearest repository

  2. Update a list of repositories

    $ sudo aptitude update
    
  3. Upgrade your debian version into sid version

    $ sudo aptitude dist-upgrade
    
  4. After it finished, reboot system

    $ sudo reboot
    

Optional:

  • For installing firmware for various drivers in consist of non-free packages or drivers using:

    $ sudo aptitude install firmware-linux
    
  • For installing some thai font:

    $ sudo aptitude install xfonts-thai
    
powered by zola and serene