Step 1: Correctly specify your mirror to the Software Sources dialog:
- Open a terminal
(Applications -> Accessories -> Terminal) - Open your list of mirrors:
trastle$ sudo gedit /usr/share/python-apt/templates/Ubuntu.mirrors
- Add a location for your local mirror. Mine looks like this:
... #LOC:ADL http://adl-mirror/ubuntu-repo/ubuntu/ ...
- Save and close the file.
- Close the terminal.
Step 2: Select your mirror in the software sources dialog
- Open the software sources dialog
(System -> Administration -> Software Sources) - Open the "Ubuntu Software" tab
- Click the "Download From:" combo box.
- Select "Other..."
- Select the mirror you just added from the list
- Click "Choose Server" at the bottom right.
- Click "Close" at the bottom right.
- Click "Close" in the information out of date dialog that pops up.
Step 3: Disable all third party sources
- Open the software sources dialog
(System -> Administration -> Software Sources) - Open the "Other Software" tab
- Untick every source in the list.
- Click "Close" at the bottom right.
- Click "Close" in the information out of date dialog that pops up.
Step 4: Do the Upgrade
- Ensure your on a network with Internet access as well as access to your mirror.
- Open a terminal
(Applications -> Accessories -> Terminal) - Change to the root user:
trastle$ sudo -i
- Update your available software:
root# apt-get update
- Do the upgrade
root# do-release-upgrade
- The following message will appear shortly after starting the upgrade:
Updating repository information WARNING: Failed to read mirror file No valid mirror found While scanning your repository information no mirror entry for the upgrade was found. This can happen if you run a internal mirror or if the mirror information is out of date. Do you want to rewrite your 'sources.list' file anyway? If you choose 'Yes' here it will update all 'lucid' to 'maverick' entries. If you select 'No' the upgrade will cancel.
Your using a local mirror so choose Yes - The release upgrade will take some time to complete.
Step 5: Re-enable third party sources
- Open the software sources dialog
(System -> Administration -> Software Sources) - Open the "Other Software" tab
- Tick the sources you want to use.
- Click "Close" at the bottom right.
- Click "Reload" in the information out of date dialog that pops up.
I hope someone finds this helpful.
0 comments:
Post a Comment