Recently I installed Ubuntu Server 6.06 (Dapper) on an old Sun Blade 100 which has a SPARC processor. The installation on a Sun Blade 100 has its own quirks, but after getting it up and running I of course wanted to make sure it had the latest software versions and security updates that it could support.
Problem
After support for an old Ubuntu releases has been dropped the folks at Canonical remove the repositories from their main repository servers such as archive.ubuntu.com
and security.ubuntu.com
. So, when you run sudo apt-get update
you are met with a list of errors telling you that the your configured repositories were not found.
Solution
To get back on the repository train, edit your /etc/apt/sources.list
and replace all instances of archive.ubuntu.com
and security.ubuntu.com
with the very fitting old-releases.ubuntu.com
. After that, run sudo apt-get update
and watch the repository indexes roll in!
Here is an example of an updated /etc/apt/sources.list
for Ubuntu 6.06 (Dapper):
## Uncomment the following two lines to fetch updated software from the network
deb http://old-releases.ubuntu.com/ubuntu dapper main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper main restricted
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://old-releases.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://old-releases.ubuntu.com/ubuntu dapper universe
deb-src http://old-releases.ubuntu.com/ubuntu dapper universe
deb http://old-releases.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper-security main restricted
deb http://old-releases.ubuntu.com/ubuntu dapper-security universe
deb-src http://old-releases.ubuntu.com/ubuntu dapper-security universe
deb http://old-releases.ubuntu.com/ubuntu dapper multiverse
deb-src http://old-releases.ubuntu.com/ubuntu dapper multiverse
deb http://old-releases.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
That’s it for today, I hope this has helped you get the software you need onto an old Ubuntu installation.
this info is nearly impossible to get from canonical or ubuntu forums or anyplace. thank you. best regards from near washington, dc
This is great. And it was working perfectly. I’m happy again 🙂
Thank you.
You saved my day 🙂
Very Thanks!!
Thank you…you saved my day as well. Searched for half an hour before I found your site.
I really needed this.
Thanks
that was all i want, thanks for saving my day 🙂
Life saver. Tahnx
Really useful – thanks a lot!
Needed to fix up an old 6.06 install with some missing packages – now it works.
Very helpful, thanks a lot !
Seriously… the information you provided is invaluable for us who need access to the older repositories, I nearly gave up hope to install an older version I need for a system we are setting up.
Thanks. This is a good information i can’t get elsewhere. You save me lot. Nearly give up using older ubuntu release.
This is sooo helpful – you just made my day 😉
You’re all very welcome. I’m happy to serve the community!
Thank You So Much
Thank you VERY much: you helped a lot of Cobalt owners! 😀
Can’t help but think that Ubuntu should provide instructions in the OS of how to switch over to old-releases instead of upgrading (upgrading, upgrading)… It’s weird that there’s a way to do this, but almost impossible to find out how to do it. (Like some kind of OS easter egg..)
Anyways, many thanx for this post. It helped me a lot!
Thank you very much! You save my day!
This is great info! Nearly impossible to find. I’ve been beating my head against a wall for days, trying to figure this out. I’m installing Jaunty on a slightly elderly Dell laptop, that I’m putting together for a friend. The laptop runs beautifuly, way faster than I expected from a pentium M, but it’s usless to her without wifi, and if I can’t apt-get, then I have no hope of getting the b-43 drivers properly installed. Thanks a million!
Oh man! Thanks!
Sometimes there’s no choice but to run an old OS; anything that helps one to support ’em is invaluable.
Thank you, I needed to set up a MySQL 4.1 server for migration purposes.
Fired up a Draper AMI on amazon, but couldn’t get it to install – until I saw your post. Perfect.
this was really helpful… thank you
Tnx 1000 times..best regards from Croatia.
Friday afternoon, need to install Samba on a 6.06 server on a very slow link – no chance of upgrading in time. The old repositories were useless – this change saved the day and the upgrade can be done another day. Thanks!
Thx man, it seems, you saved my job.
Saved my day. Really helped me to sort things which I was confused what to do for the past few days!
I searched all over , and the reply was more of old ones when my os version wasnt EOL.
Thanks a lot!!
yeah. Thanks man
Thanks this helped me, i just recently installed 6,06 on my old laptop hp compaq nx9005
I had some problems with the display but i fixed this by reinstalling gnome
I’m trying to setup my wireless rt2870 i have built the source and installed it but for some reason its not showing in ifconfig i only see eth0 and sit0 ( what ever that is…)
I know this works because i had 6.06 installed on this laptop when it first came out in 06 ( i think ) but i havnt used it for a long time i had to install a new harddrive because the old one died
I’m just wanting to use this as a second laptop to store files on as a backup and browse the internet.
it works. Thank you!
Thanks!
Thank you so much!
I need this version of Ubuntu with apt repository because of an old php website that only works with this version.
It’s for college. Again thank you 😀
Thanks again. Still usefull on september 2013. Was able to get hardy update for sparc!
Thanks a lot!!!
This information is never found elsewhere. Took a day to stumble upon this blog. Thanks a lot!
2014 and still comes in handy! Used this tip to get xUbuntu updated on an XBOX running breezy. Thanks for posting!
Thanks