สอบถามเรื่อง ubuntu การ upgrade ตอนนี้ผม version 7.04 บริษัทผมเค้าอยากให้ up เป็น 7.10 ใช้คำสั่งไรเหรอครับใน ubuntu
ไม่เคยทำนะคะ … ไม่ทราบผลข้างเคียงหรือต้องระวังอะไรบ้าง
ลองเช็ค /etc/apt/sources.list สิว่ามันไปเอาไฟล์ที่ไหน
sudo do-release-upgrade
พบ error
Error during update
A problem occured during the update. This is usually some sort of network problem, please check your network connection and retry.
Failed to fetch http://th.archive.ubuntu.com/ubuntu/dists/feisty/universe/source/Sources.gz Sub-process gzip returned an error code (1)
Hit http://th.archive.ubuntu.com feisty-updates/restricted Packages
Hit http://th.archive.ubuntu.com feisty-updates/main Sources
Hit http://th.archive.ubuntu.com feisty-updates/restricted Sources
Get:4 http://th.archive.ubuntu.com feisty/universe Sources [1523kB]
99% [4 Sources gzip 0]
พรายกระซิบข้างหลังบอกว่า เปลี่ยนคำว่า Feisty เป็น Gutsy ในไฟล์ /etc/apt/sources.list
รัน apt-get update 1 รอบ
อ่าอันนี้ผมไม่เคยนะ มีพรายกระซิบ
7.10 = gutsy นะคะ
หาก error เพราะหาไฟล์ไม่เจอ หรือเนื่องมาจาก mirror ไทยไม่สมบูรณ์ ให้เลือกจากที่อื่นได้นะคะ
gen เอาได้เลย
http://www.ubuntu-nl.org/source-o-matic/
แก้ไขไฟล์ /etc/apt/source.list
ลบของเดิมออกหรือ comment ไว้ แล้วเพิ่ม
deb http://th.archive.ubuntu.com/ubuntu gutsy main restricted
deb http://th.archive.ubuntu.com/ubuntu gutsy-updates main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://th.archive.ubuntu.com/ubuntu gutsy universe multiverse
deb http://th.archive.ubuntu.com/ubuntu gutsy-updates universe multiverse
deb http://security.ubuntu.com/ubuntu gutsy-security universe multiverse
ทำการอัพเดท
apt-get update
ทำการอัพเกรด
apt-get dist-upgrade
ผมทำตามครับ ไม่ erorr เลยแต่ ก็ยังเป็น 7.04 อยู่เลยครับ งง เลย
ไม่แน่ใจว่าต้อง reboot ด้วยรึเปล่านะครับ ผมเองก็ไม่เคยลอง
ลอง reboot แล้ว
sudo lsb_release -a
ดูนะครับ
// เพิ่มเติม
จากตรงนี้ให้
ต้องรีบู้ตครับ ถึงจะเป็น dist อันใหม่
ขอให้ประสพความสำเร็จนะครับ