久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

ubuntu 10.10 apt-get 404錯(cuò)誤解決方法

 深入敵后_ 2013-05-09

http:///questions/91815/how-to-install-software-or-upgrade-from-old-unsupported-release/91821#91821


5 Answers

up vote 38 down vote accepted

The repositories for older releases that are not supported (like 9.04, 9.10, and 10.10) get moved to an archive server. There are repositories available at http://old-releases.

The reason for this is that it is now out of support and no longer receiving updates and security patches.

I would urge you to consider a supported distribution. If your computer is too old in terms of memory or processor then you should consider a distribution such as Lubuntu or Xubuntu.

If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive. to old-releases.

You can do this with sed

sudo sed -i -e 's/archive./old-releases./g' /etc/apt/sources.list

then update with

sudo apt-get update && sudo apt-get dist-upgrade

source

See also:

share|improve this answer
2  
sed usage is just pro. – Bruno Pereira? Jan 15 at 10:10
Worth noting, I had to use us.archive. in my sed command. Hope this saves someone else the head-scratching – Matthew Boynes Mar 6 at 23:30
1  
security. should also be replaced to old-releases. – MestreLion Apr 4 at 2:47
and, just for the sake of completeness... what about extras repository (for Skype etc)? Are they available anywhere after EOF? – MestreLion Apr 27 at 1:00

What are 404 errors

The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.

The web site hosting server will typically generate "404 - Page Not Found" web page, when users attempts to follow a broken or dead link.

Why are we facing 404 errors

Ubuntu follows the approach of two different release cycles:

Normal Ubuntu releases are supported for 9 months. LTS releases are supported for 5 years.

Past releases may have different support schedules (for example, normal releases (before 13.04) used to be supported for 18 months, while LTS releases (before 12.04) used to be supported for 3 years on the desktop and 5 years on the server).

EOL: Once the support period for a particular release is over; they are called End Of Life (EOL) and all the updates and package repositories for that Release are transferred to a different server which results in 404 errors while running sudo apt-get update. You can confirm if your release has become EOL by going to this page. If your Ubuntu release is mentioned under "End Of Life (EOL)" Table, then the release is no longer supported and you should try to upgrade to a newer supported release. However, if you wish to continue using this unsupported release, you would have to make necessary modifications in /etc/apt/sources.list to point to the old-releases server of Ubuntu.

Steps to make necessary modifications

  1. Open your Terminal:

    • Press Ctrl + Alt + T; OR
    • If you have Gnome: ApplicationsAccessoriesTerminal; OR
    • If you have Unity: press Super (the key between Left Ctrl and Left Alt) and query for Terminal.
  2. Run the following command:

    gksudo gedit /etc/apt/sources.list
    

    input your user password and press Enter.

  3. Find the first line which doesn't start with #. Suppose you are running Karmic Koala (Ubuntu 9.10): it should be like the following line:

    deb <siteurl> karmic main restricted
    

    where, <siteurl> is your preferred server - http://gb.archive./ubuntu in your case (for example).

  4. Press Ctrl + H to replace your <siteurl> with http://old-releases./ubuntu.

    • Search for: http://gb.archive./ubuntu ie; <siteurl>
    • Replace with: http://old-releases./ubuntu and
    • Press Replace All
  5. Once again:

    • Search for: http://security./ubuntu (this exact url for all the Ubuntu Releases — whatever be the present server that you are using)
    • Replace with: http://old-releases./ubuntu
    • Press Replace All
  6. Save your file and exit Gedit.

  7. Run the following command:

    sudo apt-get update
    

There you go. No 404 Errors this time. You can now install all the available packages for your Ubuntu Release. You can also run sudo apt-get dist-upgrade to install any Security/Bug-fix updates which have not yet been installed but you won't get any further Security/Bug-fix updates from Ubuntu.

share|improve this answer
1  
+1 for also including instructions to update the security repo. – Gaffi Mar 16 at 16:07

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,,所有內(nèi)容均由用戶(hù)發(fā)布,不代表本站觀點(diǎn),。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào),。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶(hù) 評(píng)論公約

    類(lèi)似文章 更多