You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Xubuntu 17.04无法更新软件且无17.10升级选项求助

Fixing Xubuntu 17.04 Update & Upgrade Issues

Hey NancyG, sorry to hear you're stuck with this frustrating update roadblock—let's break down how to get your system back on track. The most likely culprit here is that Xubuntu 17.04 reached its End of Life (EOL) a while back, so the default official repositories are no longer active. That's why your system can't fetch updates or see the 17.10 upgrade option, even with a working network.

Here's what to do step by step:

1. Switch to Old Releases Repositories

First, we need to update your software sources to point to Ubuntu's old-releases archive, since the original repos are now offline.

  • Open a terminal (press Ctrl+Alt+T)
  • Back up your current sources list first, just in case:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    
  • Edit the sources list file with a text editor (we'll use nano here):
    sudo nano /etc/apt/sources.list
    
  • Replace every instance of archive.ubuntu.com and security.ubuntu.com with old-releases.ubuntu.com. You can do this quickly in nano by pressing Ctrl+\, typing the old URL, pressing Enter, then typing the new URL and pressing Enter again.
  • Save your changes by pressing Ctrl+O, hit Enter to confirm, then exit nano with Ctrl+X.
  • Now refresh your package list to make sure the new sources work:
    sudo apt update
    
    If you see no errors here, you're good to move on.

2. Update Existing Packages

Before trying to upgrade to 17.10, make sure all your current packages are up to date with the new sources:

sudo apt upgrade

Follow the prompts to install any available updates.

3. Trigger the 17.10 Upgrade

Now let's get the upgrade option to show up:

  • First, make sure the upgrade manager tool is installed:
    sudo apt install update-manager-core
    
  • Run the release upgrade command:
    do-release-upgrade
    
  • If the upgrade still doesn't show up, check your release upgrade settings to ensure it's set to look for normal releases (not just LTS versions):
    sudo nano /etc/update-manager/release-upgrades
    
    Look for the line that says Prompt=lts and change it to Prompt=normal, then save and exit. Run do-release-upgrade again.

A quick heads-up: Xubuntu 17.10 is also an EOL release now, so after upgrading, you'll want to repeat a similar process to move to a supported version (like 18.04 LTS) eventually. But this should solve your immediate problem of getting updates and the 17.10 upgrade option working.

内容的提问来源于stack exchange,提问作者NancyG

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 04:04:29