BackTrack5 ubuntu10.4(lucid)更新源以及404問題解決步驟
阿新 • • 發佈:2019-02-10
本機系統資訊:
ubuntu提供了old-release的方案,通過命令列更新源如下:
kwrite gedit /etc/apt/sources.list,開啟源列表檔案,把裡面的地址全刪除,然後換上如下的地址,如果是其他版本的,把lucid替換即可:
執行命令apt-get update,如果出現如下圖所示:deb http://old-releases.ubuntu.com/ubuntu lucid main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu lucid-security main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu lucid main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu lucid-security main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse deb-src http://old-releases.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
解決方法如下圖所示,進入到/etc/apt/source.list.d/目錄,編輯prerequisite-sources.list,註釋掉deb命令:
再次執行apt-get update命令:
更新源修改成功!執行命令apt-get upgrade命令,在文章開篇有相關部分截圖!