從 12.04 升級到 13.10 並遇到問題

從 12.04 升級到 13.10 並遇到問題

我不知道有更新計劃詢問我的約會問題,但我有點懶。無論如何,我有一個紅色三角形,旁邊有一個感嘆號,如果我點擊它,就會告訴我

The update information is outdated. This maybe caused by network problems or by a repository that is no longer available. Please update manually by clicking on this icon and then selecting 'check for updates' and check if some of the listed repositories fail."

我這樣做並從更新管理器那裡得到這個

W:Failed to fetch cdrom://Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)/dists/precise/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W:Failed to fetch cdrom://Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.1)/dists/precise/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E:Some index files failed to download. They have been ignored, or old ones used instead.

我想修復這個問題並更新到較新版本的 Ubuntu。

答案1

  1. 打開終端機。
  2. 類型

    sudo software-properties-gtk
    
  3. 按 ENTER 鍵。

  4. 取消勾選「可從 CDROM/DVD 安裝」類別下的所有內容。
  5. 關閉該視窗並在終端機中輸入“

    sudo apt-get update
    
  6. 完成後,在終端機輸入

    sudo apt-get dist-upgrade
    
  7. 享受Ubuntu吧!

編輯:使其更簡單、更快。

相關內容