How to update my Ubuntu package repository to point to AARNET's Ubuntu mirror?

Asked by davis raye

Hi,

I a newbie.

I have installed Ubuntu server 10.04.2 now.

I manage to access /etc/apt/sources.list and try to include the AARNET's Ubuntu Mirror urls but I do not know what to type.

Please assist. Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
davis raye
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Change:

http://au.archive.ubuntu.com/ubuntu/

To:

http://mirror.aarnet.edu.au/pub/ubuntu/

This will then use the AARNET mirror. You will need to save the new file and run:

sudo apt-get update

Should be ok

Revision history for this message
davis raye (davis-raye) said :
#2

I removed everything in /etc/apt/sources.list and add in

#AARNET
deb http://mirror.aarnet.edu.au/pub/ubuntu/
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/

and save it.

After runnning sudo apt-get update, I get error.

E: Malformed line 2 in source list /etc/apt/sources.list (dist)

pls help. One more thing, is there a way to move the cursor left, right, up or down just like in a notepad?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

deb http://mirror.aarnet.edu.au/pub/ubuntu/ natty universe
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/ natty universe

I assume you are using Natty. I don't suggest you delete all the other sources.

Revision history for this message
davis raye (davis-raye) said :
#4

I've tried

Revision history for this message
davis raye (davis-raye) said :
#5

I've tried

deb http://mirror.aarnet.edu.au/pub/ubuntu/ natty universe
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/ natty universe

but there is another set of errors.

W: Failed to fetch http://mirror.aarnet.edu.au/pub/ubuntu/natty/universe/binary.i386/Packages.gz 404 Not found
and some other similar lines.

I have no idea what to do?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6
Revision history for this message
Manfred Hampl (m-hampl) said :
#7

You have to change to

deb http://mirror.aarnet.edu.au/pub/ubuntu/archive natty universe
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/archive natty universe

You should also consider adding lines for main, restricted, eventually also for multiverse and for natty-updates and natty-security as well

Revision history for this message
davis raye (davis-raye) said :
#8

finally got it to work using lucid

Revision history for this message
Adekunle Okuwa (okuwahost) said :
#9

Do you mind sharing the solution as we don't have to recreate a new thread to conclude.

What is lucid and how did you implement it to accomplish the task?

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

@Adekunle Okuwa:
Each Ubuntu Release has got a numeric code (derived from year and month of publishing) and a alphabetic name. See https://wiki.ubuntu.com/Releases for an overview.

Davis Raye apparently is running his system with the 10.04 ("lucid") release.

For the package management system and upgrades to work you need a sources.list that suits to your release. And there are mirror servers to deliver updates all over the world; you should select one in your vicinity.

Davis Raye's sources.list now most probably contains lines like:

deb http://mirror.aarnet.edu.au/pub/ubuntu/archive lucid universe
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/archive lucid universe

deb http://mirror.aarnet.edu.au/pub/ubuntu/archive lucid-updates universe
deb-src http://mirror.aarnet.edu.au/pub/ubuntu/archive lucid-updates universe
...

If you have questions of your own you should create your own question on launchpad.net and not use threads that have already been marked as 'solved'.

Revision history for this message
davis raye (davis-raye) said :
#11

yes! manfred's right!

Revision history for this message
Adekunle Okuwa (okuwahost) said :
#12

@ Manfred, Davis and any other inputs.

Great to know that a car model is Taurus made by Ford and in 2011. Thanks, but I can understand the source.list editing now for the packages relocated. The problem I have is with Ubuntu Server 9.04 Jaunty Jackalope now referencing to the link Manfred suggested and also found out it has been discontinued for support. Therefore, is there any relocated source for that version?

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

@Adekunle
You should definitely start a question of your own by clicking on https://answers.launchpad.net/ubuntu/+source/apt/+addquestion

As shown in https://wiki.ubuntu.com/Releases the release 9.04 (jaunty) has gone End of Life in October 2010. That means that no error corrections are provided any more. If your system is flawlessly running of course you can continue to use it, but if there are bugs they will no more be corrected.

And the information about jaunty has been removed from the repositories (from all of them!), so switching from one mirror server to another one will not help. There is just one server left where the packages for the outdated releases are left to enable an upgrade of the old releases http://old-releases.ubuntu.com

You have to make a decision about your Ubuntu installation.
You can stay on your current release as is is, but that will no more get any error corrections and no support any more.
Or you can upgrade to a current release of Ubuntu. And if you decide to upgrade you have to select one of the supported versions. Depending on the purpose of your system you might decide on 10.04 (lucid) with its server version supported until April 2015; if you are using your system as desktop and if you want to have the most up-to-date version of applications you might select 11.04.

If you tell us what you need and provide more information, we might be able to help you further.